47 Commits

Author SHA1 Message Date
Matthias Ringwald
f74aded932 l2cap_signaling: add l2cap credit-based connection pdus 2021-08-12 14:59:49 +02:00
Matthias Ringwald
14b592b74d l2cap_signaling: clean up documentation 2021-08-12 13:07:22 +02:00
Milanka Ringwald
c0dd2f5cbd l2cap_signaling: add LCOV_EXCL_BR_LINE to exclude va_arg branch line 2021-06-21 10:40:22 +02:00
Milanka Ringwald
15f09267f5 l2cap_signaling: add invalid PDU for testing 2021-06-16 12:59:02 +02:00
Milanka Ringwald
d7c9cb2b80 l2cap_signaling: D format required for LE commands as well 2021-06-16 12:58:26 +02:00
Milanka Ringwald
4a02d0a733 l2cap_singnaling: remove unreachable state 2021-06-16 12:57:28 +02:00
Matthias Ringwald
905c28a62c l2cap_signaling: mark classic-only parts 2021-06-09 10:07:29 +02:00
Matthias Ringwald
1c79b5e3cc hci,l2cap_signaling: fix warning for LE-only 2020-08-06 20:56:38 +02:00
Matthias Ringwald
4ea43905e8 MISRAC2012-Rule-10.4_a: append 'u' to constant literals when used in unsigned expressions or comparisons 2020-07-23 12:36:33 +02:00
Matthias Ringwald
2a9f55d6f7 l2cap_signaling: use packet boundary flags 0x00 for LE signaling packets 2020-01-31 12:05:59 +01:00
Matthias Ringwald
8334d3d848 MISRAC2012-Rule-8.9: inline const objects that are used by single function 2020-01-17 11:30:10 +01:00
Matthias Ringwald
6535961a1f ignore memcpy return value (always returns first parameter) 2019-12-02 18:17:20 +01:00
Matthias Ringwald
c1ab6cc1be MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 14:31:48 +01:00
Milanka Ringwald
6ddef68dd2 l2cap: move get next channel ID and next signaling sequence num to l2cap 2019-09-02 11:39:26 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
fdfcab43ce fix signed-unsigned compare warnings 2017-08-16 17:16:08 +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
7224be7e77 clean ups and fixes to avoid warnings from static code analyzer 2016-07-01 14:48:49 +02:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
7907f06931 btstack-config.h -> btstack_config.h 2016-01-21 15:41:16 +01:00
Matthias Ringwald
a9a4c40924 structure btstack-config.h 2016-01-21 15:33:36 +01:00
Matthias Ringwald
7f02f4148e fix all Wmissing-prototype warnings for libusb target 2015-11-06 19:43:35 +01:00
Matthias Ringwald
b68d7bc3c3 Add gap_request_connection_parameter_update
l2cap_le_request_connection_parameter_update is obsolete.
It calls gap_request_connection_parameteir_update now.
The l2cap conn param update req ist sent by l2cap_run.
2015-08-12 14:27:30 +02:00
Matthias Ringwald
75422ed973 replaced l2cap_le_create_connection_parameter_update_response with call to general l2cap signalng functions 2015-08-12 13:54:06 +02:00
Matthias Ringwald
99b3db5468 add LE Credit Based Flow Control signaling packet definitions 2015-08-12 12:05:44 +02:00
Milanka Ringwald
35ffcaae5b hfp: hf parser test 2015-08-07 21:45:00 +02:00
Matthias Ringwald
79f53f1d06 pass in signaling identifier, use correct signaling identifier for l2cap connection parameter update response 2015-07-29 15:15:41 +02:00
Matthias Ringwald
3b41f3ae1f fix l2cap_le_create_connection_parameter_update_response 2015-07-29 14:11:51 +02:00
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
mila@ringwald.ch
da886c035d le central handle connection update params 2014-10-10 15:20:54 +00:00
mila@ringwald.ch
b398e4aaf1 included hci.h 2014-05-15 10:55:03 +00:00
matthias.ringwald@gmail.com
e97722776d use non-flushable packet boundary flag if supported - fixed unspecified behavior sending LE ACL packets 2014-05-09 13:29:58 +00:00
matthias.ringwald@gmail.com
c61af878b4 add l2cap_create_signaling_le 2014-02-18 21:19:10 +00:00
matthias.ringwald@gmail.com
5ca8d57be3 fix l2cap_reject 2014-01-24 15:58:42 +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@gmail.com
ab2b01dc72 added l2cap_le_request_connection_parameter_update 2014-01-10 16:28:21 +00:00
matthias.ringwald@gmail.com
9e795b4899 added Connection Parameter Update Request and Resposne 2014-01-10 15:54:22 +00:00
matthias.ringwald@gmail.com
95b6ea6e1e mark signaling commands as string constant (const char *) 2013-05-23 15:01:49 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00
matthias.ringwald
b35f641c7f clarify use of source_cid and dest_cid - use only for signal packets and use local_cid and remote_cid otherwise - fixes bug in incoming l2cap connection handling 2010-03-04 23:03:40 +00:00
matthias.ringwald
1713bcea3a prepend all source files with 'new BSD' copyright header 2009-10-29 20:25:42 +00:00
matthias.ringwald
b48a17ffb3 add printfs for spring board icon debugging, disable HCI logging as default 2009-09-30 19:25:56 +00:00
matthias.ringwald
97a34cd44c moved test macro to utils.h 2009-09-29 20:13:43 +00:00
matthias.ringwald
1e6aba4769 moved l2cap state machine to l2cap.c. added 'channel' parameter to packet header for socket communications. removed unused functions. dispatch btstack commands in daemon.c. renamed non-HCI commands 2009-07-31 21:41:15 +00:00
matthias.ringwald
bb53b2914c fix l2cap signaling command dispatching 2009-07-30 19:40:06 +00:00
matthias.ringwald
da269baadb start with l2cap implementation 2009-07-28 21:04:16 +00:00
matthias.ringwald
95cbd9471c extract l2cap signaling code into l2cap_signaling 2009-07-23 21:55:36 +00:00