60 Commits

Author SHA1 Message Date
Matthias Ringwald
b8ae70b42a hci_dump: fix crash on posix systems caused by logging 2017-04-13 15:55:57 +02:00
Matthias Ringwald
6401061a3c hci_dump: use printf for log_... if packet log is not open on posix 2017-04-10 15:20:47 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
a508997d74 Merge branch 'develop' into windows-h4 2017-01-16 21:32:42 +01:00
Matthias Ringwald
01f6d60c42 hci_dump: log sco packets in STDOUT mode, use binary mode and correct file permissions on windows 2017-01-10 14:03:12 +01:00
Matthias Ringwald
1e15430263 hci_dump: log sco to stdout, use O_BINART and 0755 file permission on win32 2017-01-09 15:53:45 +01:00
Matthias Ringwald
d066298299 fix unused params warnings 2016-12-22 22:44:50 +01:00
Matthias Ringwald
94be1a6633 provide _va_arg type variants for hci_send_cmd and hci_dump_log 2016-11-30 22:15:40 +01:00
Matthias Ringwald
f04a0c3191 fix warnings for using %u with int vars 2016-10-09 21:59:50 +02:00
Matthias Ringwald
ad6274a743 hci_dump: print timestamp for embedded targets, too. Parse timestamps in packet logs 2016-10-03 10:58:38 +02:00
Matthias Ringwald
7c959318bb fix warnings related to potential loss of precision for integer conversions 2016-07-05 11:31:53 +02:00
Matthias Ringwald
7224be7e77 clean ups and fixes to avoid warnings from static code analyzer 2016-07-01 14:48:49 +02:00
Matthias Ringwald
aec7654d98 prefix embedded HAVE_ 2016-03-30 11:06:56 +02:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
eb443d3d86 add HAVE_POSIX_FILE_IO to suitable ports and use in hci_dump 2016-01-21 22:09:01 +01:00
Matthias Ringwald
7907f06931 btstack-config.h -> btstack_config.h 2016-01-21 15:41:16 +01:00
Matthias Ringwald
5604262918 hci_cmds -> hci_cmd 2016-01-21 11:33:17 +01:00
Matthias Ringwald
528a4a3b3e prefix run_loop_ functions with btstack_ 2016-01-20 15:58:46 +01:00
Matthias Ringwald
8263662281 run_loop.h -> btstack_run_loop.h 2016-01-20 15:08:39 +01:00
Matthias Ringwald
829afdbecc embedded_ -> run_loop_embedded_ 2016-01-06 15:33:56 +01:00
Matthias Ringwald
f3e036dc9d use #define to get really const int value 2015-11-08 18:07:23 +01:00
Matthias Ringwald
728cd49dca fix compile 2015-11-08 17:13:10 +01:00
Matthias Ringwald
1a1c838922 avoid packet struct warning by not using struct 2015-11-07 17:34:27 +01:00
Matthias Ringwald
195a80287b removed btstack/include folder 2015-10-15 16:33:34 +02:00
Matthias Ringwald
8a37b10a01 allow to enable/disable log_info and log_debug for HAVE_HCI_DUMP 2015-05-29 21:37:00 +02:00
Matthias Ringwald
71de195ed3 fix c99 warnings for missing argument of functions with no arguments, fix more warnings 2015-05-13 10:30:46 +02:00
matthias.ringwald@gmail.com
8d675e3dab support logging of SCO packets in PacketLogger format 2015-02-13 21:56:57 +00:00
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
matthias.ringwald@gmail.com
20ea11b9fd use PROGMEM on AVR architecture for log_ facilities 2014-12-03 22:33:36 +00:00
matthias.ringwald@gmail.com
1fd51e4555 Avoid link error with CCS 2014-11-19 19:30:24 +00:00
matthias.ringwald@gmail.com
1df3b67945 fix log_* for embedded hci_dump 2014-11-16 23:34:46 +00:00
matthias.ringwald@gmail.com
b52eaea5b4 don't use ntohl 2014-11-11 20:28:48 +00:00
matthias.ringwald@gmail.com
d5ea892498 fix compile for win32 2014-11-11 20:18:26 +00:00
matthias.ringwald@gmail.com
198a9e1b41 enable HCI packet logs to console for EMBEDDED 2014-11-05 22:44:05 +00:00
mila@ringwald.ch
49ca58d6a2 remove hexdump2, use printf_hexdump instead 2014-08-15 22:04:48 +00:00
matthias.ringwald@gmail.com
a225073e6b mark filename as const string 2014-04-11 12:18:19 +00:00
matthias.ringwald@gmail.com
bde315ce6c renamed btstack config.h to btstack-config.h to allow for better integration with other projects 2014-01-19 16:45:57 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00
matthias.ringwald
a1d7dd1f6f add hci_dump_log 2012-02-20 20:12:02 +00:00
matthias.ringwald
0d79c710aa define LOG_MESSAGE_PACKET and add support for HCI_DUMP_PACKETLOGGER and HCI_DUMP_STDOUT 2012-02-20 19:12:47 +00:00
matthias.ringwald
2df1222911 note 0xfc for comment/note in PacketLogger 2012-02-13 21:43:14 +00:00
matthias.ringwald
9ae0c3466a forgot to add global back 2012-02-07 22:15:31 +00:00
matthias.ringwald
b0a96cacda remove useless preprocessor macro 2012-02-07 21:15:19 +00:00
mila@ringwald.ch
a9cf4d774b use scope for case local variables 2012-01-05 22:11:13 +00:00
matthias.ringwald
c8901d41d6 use 'config.h' instead of '../config.h' to make standalone builds easier 2011-09-25 14:14:10 +00:00
matthias.ringwald
6c5c6faa60 hide __attribute__ from IAR 2011-08-22 16:53:25 +00:00
matthias.ringwald@gmail.com
d2fe945c6b use memset(addr, 0, len) instead of bzero(addr, len) to increase portability 2011-08-18 16:43:15 +00:00
matthias.ringwald
7c5f74833f no hci_dump_set_max_packets ofr EMBEDDED 2011-06-05 09:59:14 +00:00
matthias.ringwald
be93675935 provide option to HCI_DUMP_FULL_LOG 2011-03-19 18:39:03 +00:00
matthias.ringwald
2992c13168 allow to specify max nr of packets in hci_dump log 2010-12-05 22:22:46 +00:00