10430 Commits

Author SHA1 Message Date
Matthias Ringwald
01899c8b1f fix build 2019-12-03 12:57:15 +01:00
Matthias Ringwald
ff3cc4a537 MISRAC2012-Rule-14.4_d: use while(true) instead of while(1) 2019-12-03 12:52:10 +01:00
Matthias Ringwald
6e79178071 MISRAC2012-Rule-11.9: use NULL instead of 0 2019-12-03 12:39:19 +01:00
Matthias Ringwald
9f4d1a7b89 tool/misc: cocci script for if (ptr) operations, (void) memcpy 2019-12-03 12:23:19 +01:00
Matthias Ringwald
c10be05f57 example/pan_lwip_http_server: set CoD to Networking/Network Access Point 2019-12-03 10:57:21 +01:00
Matthias Ringwald
4251aeec03 example/pan_lwip_http_server: fix warnings 2019-12-02 18:19:48 +01:00
Matthias Ringwald
6535961a1f ignore memcpy return value (always returns first parameter) 2019-12-02 18:17:20 +01:00
Matthias Ringwald
9c2810d096 ad_parser: match declaration and implementation prototype 2019-12-02 17:59:26 +01:00
Matthias Ringwald
fb08d3bfcd ad_parser: replace for loop with simpler while for analysis 2019-12-02 17:57:21 +01:00
Matthias Ringwald
f1f3f303c6 hci_transport: remove packet type defines provided by bluetooth.h 2019-12-02 15:03:20 +01:00
Matthias Ringwald
6e084577f7 avoid // in block comments 2019-12-02 14:39:25 +01:00
Matthias Ringwald
d918542bd5 tool: avoid // in comments for header files generated by Bluetooth SIG web scraping 2019-12-02 14:37:32 +01:00
Matthias Ringwald
4d5915b3c6 att_db: use bool type 2019-12-02 13:53:27 +01:00
Matthias Ringwald
502376e308 des_iterator: use bool return types [a2445] 2019-12-02 12:33:49 +01:00
Matthias Ringwald
a0da043fe7 MISRAC2012-Rule-14.4_b: compare iterator pointer against NULL in for loops 2019-12-02 12:27:17 +01:00
Matthias Ringwald
2baf01d2b2 ad_parser: use bool return types 2019-12-02 12:26:00 +01:00
Matthias Ringwald
0fe46bc15b tlv: handle error for store_tag, document delete_tag expectations 2019-12-02 11:54:19 +01:00
Matthias Ringwald
88aeaf6c97 chipset/cc256x: fix append of edr3 power vector if not used before 2019-12-02 09:39:05 +01:00
Matthias Ringwald
c37df6f63f ATT Server: return error if request to send now for Notification or Indication already registered 2019-11-27 18:41:49 +01:00
Matthias Ringwald
d58a1b5f11 linked list/run loop: return true if item/data source/timer was removed 2019-11-27 18:23:11 +01:00
Matthias Ringwald
c9a4f43caa changelog: mention bool return for linked list add 2019-11-27 18:06:38 +01:00
Matthias Ringwald
78d0c67a11 linked_list: return if item was added for btstack_linked_list_add[_tail] 2019-11-27 18:04:47 +01:00
Matthias Ringwald
8b2bf72f1c linked_list: use bool return type 2019-11-27 17:52:57 +01:00
Matthias Ringwald
1c4468cf9f btstack_bool: move bool definition into separate header file (similar to std_bool.h) 2019-11-27 17:50:55 +01:00
Matthias Ringwald
c27688cfe6 linked_list: document API 2019-11-27 17:28:34 +01:00
Matthias Ringwald
6360ea131b tools/metrics: allow to override C_HEADERS location 2019-11-27 16:18:22 +01:00
Matthias Ringwald
227c17e4f1 tools/metrics: create metrics.html 2019-11-27 16:18:22 +01:00
Matthias Ringwald
3ce65d0ff3 tool/metrics: print func count 2019-11-27 16:18:22 +01:00
Matthias Ringwald
a4fcae569e tool/metrics: fix ccsm build 2019-11-27 16:18:22 +01:00
Matthias Ringwald
841468bb77 sm: fix sm_test_set_irk 2019-11-27 16:18:22 +01:00
Milanka Ringwald
965a3ce540 a2dp: update docu a2dp_source_register_packet_handler [a2376] 2019-11-20 09:21:03 +01:00
Matthias Ringwald
b3f3a010d5 ISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 18:00:47 +01:00
Matthias Ringwald
330534ef66 MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 17:56:23 +01:00
Matthias Ringwald
27bcc36f65 MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 17:38:40 +01:00
Matthias Ringwald
f2597df949 a2dp_sink_demo: set nominal factor to 1.00 2019-11-19 17:11:36 +01:00
Matthias Ringwald
e53a3388dc ISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 16:37:16 +01:00
Matthias Ringwald
505f1c302f ISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 16:04:15 +01:00
Matthias Ringwald
0e588213fd MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 15:48:31 +01:00
Matthias Ringwald
5df9dc7819 MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 15:10:58 +01:00
Matthias Ringwald
a1df452e0d MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 14:50:11 +01:00
Milanka Ringwald
6d9a4cd0ee hfp: use btstack_min [a2393] 2019-11-19 14:45:15 +01:00
Milanka Ringwald
09ca35c490 use btstack_min in hfp_emit_string_event [a2393] 2019-11-19 14:44:13 +01:00
Milanka Ringwald
217914701a hfp: use btstack_min in hfp_gsm_set_clip [a2392] 2019-11-19 14:43:49 +01:00
Matthias Ringwald
c1ab6cc1be MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 14:31:48 +01:00
Matthias Ringwald
15a2796783 MISRAC2012-Rule-20.7: don't use comma operator 2019-11-19 12:21:02 +01:00
Matthias Ringwald
5efd501109 hci_cmd: use parentheses to clarify OPCODE macro 2019-11-19 10:41:33 +01:00
Matthias Ringwald
8cbbcccdda segger-rtt: allow to configure with SEGGER_RTT_PACKETLOG_* directives 2019-11-19 10:11:39 +01:00
Matthias Ringwald
ea1be65587 misc: help fix misra 12.1 based on c-stat warnings 2019-11-18 23:30:08 +01:00
Matthias Ringwald
dfde218f34 segger-rtt: add SEGGER_RTT_GetAvailWriteSpace function 2019-11-18 15:19:26 +01:00
Matthias Ringwald
3b809c72bd hci_dump: avoid writing packet header without payload for binary RTT formats and SEGGER_RTT_MODE_NO_BLOCK_SKIP 2019-11-18 14:53:33 +01:00