13405 Commits

Author SHA1 Message Date
Matthias Ringwald
f062abd6f2 l2cap: fold cbm/ecbm send data into l2cap_send 2021-11-22 12:19:24 +01:00
Matthias Ringwald
7428aa283d l2cap: fix l2cap_can_send_packet_now without classic 2021-11-22 11:46:00 +01:00
Matthias Ringwald
ce7c252c10 l2cap: return L2CAP_LOCAL_CID_DOES_NOT_EXIST for l2cap_send_prepared and l2cap_send 2021-11-22 11:41:46 +01:00
Matthias Ringwald
ef59d01394 l2cap: fold cbm/ecbm request can send now into l2cap_request_can_send_now_event 2021-11-22 11:22:29 +01:00
Matthias Ringwald
169f7220e3 l2cap: return status for l2cap_request_can_send_now_event 2021-11-22 11:06:08 +01:00
Matthias Ringwald
10ab986964 l2cap: drop l2cap_cbm_can_send_now (use l2cap_can_send_packet_now) 2021-11-22 11:05:31 +01:00
Matthias Ringwald
1fb0b27a8a l2cap: drop cbm/ecbm disconnect functions 2021-11-22 10:51:21 +01:00
Matthias Ringwald
b93f89661e l2cap: drop reason param in l2cap_disconnect 2021-11-22 10:49:32 +01:00
Matthias Ringwald
d374cc2839 test/pts: use l2cap_cbm_ecbm for credit-based mode tests 2021-11-22 09:43:58 +01:00
Matthias Ringwald
9a98c7803e l2cap: emit ecbm closed on hci disconnect 2021-11-20 23:22:23 +01:00
Matthias Ringwald
f4e7dc8e95 test/l2cap-channel: rename tests 2021-11-20 23:11:03 +01:00
Matthias Ringwald
2bb7e314f8 test/l2cap-channel: fix build 2021-11-20 23:06:13 +01:00
Matthias Ringwald
2ef8fe0854 test: rename l2cap-le into l2cap-channel 2021-11-20 22:55:58 +01:00
Matthias Ringwald
284d66bc61 example: rename le_data_channel examples into le_credit_based_flow_control_mode 2021-11-20 22:51:15 +01:00
Matthias Ringwald
40b92a9edc l2cap: map connection response error codes to bluetooth error codes 2021-11-20 21:45:26 +01:00
Matthias Ringwald
c78b4f699d btstack_posix_tlv: use max value size of 2048, assert if size is larger in store 2021-11-20 20:34:09 +01:00
Matthias Ringwald
0d37aff3fe hci: assert can send now in initialization run 2021-11-20 12:30:41 +01:00
Matthias Ringwald
dfc5d4aed9 l2cap: use CBM and ECBM prefix in l2cap event 2021-11-19 15:30:43 +01:00
Matthias Ringwald
8d8936a60e l2cap: provide l2cap_ertm_decline_connection 2021-11-19 15:21:15 +01:00
Matthias Ringwald
fb0a3dc690 l2cap: allow to provide result in l2cap_cbm_decline_connection 2021-11-19 14:54:55 +01:00
Matthias Ringwald
285d8eee48 l2cap: prefix static cbm and ecbm functions 2021-11-19 14:46:31 +01:00
Matthias Ringwald
d8c69877dd l2cap: use l2cap connection response defines 2021-11-19 14:39:45 +01:00
Matthias Ringwald
bbb517b6ca l2cap: remove 'data channel' from function names 2021-11-19 14:20:15 +01:00
Matthias Ringwald
8dc9980f3b bluetooth: add connection response result codes 2021-11-19 14:02:34 +01:00
Matthias Ringwald
d3a2e89fbc l2cap: fix build 2021-11-19 14:00:25 +01:00
Matthias Ringwald
7e11b56ca1 l2cap: fix build 2021-11-19 13:24:23 +01:00
Matthias Ringwald
49b75d3e5b l2cap: provide deprecation wrappers 2021-11-19 12:07:45 +01:00
Matthias Ringwald
f25e60dece l2cap: streamline ertm, cbm, ecbm function names 2021-11-19 11:04:16 +01:00
Matthias Ringwald
1c0aefe992 l2cap: avoid ENABLE_x defines for local flags 2021-11-19 10:17:29 +01:00
Matthias Ringwald
52b5cf1916 btstack_config: use official terms for l2cap channel modes - ENABLE_L2CAP_ENHANCED_CREDIT_BASED_FLOW_CONTROL_MODE 2021-11-19 10:13:18 +01:00
Matthias Ringwald
b28dc8004d btstack_config: use official terms for l2cap channel modes - ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE 2021-11-19 10:09:49 +01:00
Matthias Ringwald
e9d65b07ce l2cap: fix compile with le credit-based flow-control mode and without classic 2021-11-18 21:45:09 +01:00
Matthias Ringwald
5c092d2da5 daemon: fix builds 2021-11-18 21:25:43 +01:00
Matthias Ringwald
4efa4b2707 test/l2cap-le: fix le data channel test 2021-11-18 21:11:00 +01:00
Matthias Ringwald
5eba4bd8f2 test/pts: support enhanced credit-based control-flow mode 2021-11-18 21:11:00 +01:00
Matthias Ringwald
e6a76a1e5a test/l2cap-le: add l2cap_enhanced_data_channel_test.cpp 2021-11-18 21:11:00 +01:00
Matthias Ringwald
1e42ae39fa test/l2cap-le: extend le credit-based flow-control mode tests 2021-11-18 21:11:00 +01:00
Matthias Ringwald
a254c508b6 l2cap: support enhanced credit-based control-flow mode
# Conflicts:
#	src/l2cap.c
2021-11-18 21:11:00 +01:00
Matthias Ringwald
198ba16f21 bluetooth: add enhanced credit-based control-flow mode defines 2021-11-18 21:11:00 +01:00
Matthias Ringwald
e644fcbc21 btstack_defines: add events for enhanced credit-based flow control mode
# Conflicts:
#	src/btstack_defines.h
#	src/btstack_event.h
2021-11-18 21:11:00 +01:00
Matthias Ringwald
396f0845e5 btstack_event_generator: provide getter for uint16_t arrays 2021-11-18 21:11:00 +01:00
Matthias Ringwald
23d9c72139 l2cap_signaling: use 0xffff as end-of-list for cid array 2021-11-18 21:11:00 +01:00
Matthias Ringwald
2017c6d2f8 l2cap: reserve local cid 0xffff 2021-11-18 21:11:00 +01:00
Matthias Ringwald
1a47f80bef test: fix build 2021-11-18 21:11:00 +01:00
Matthias Ringwald
018f389495 example: fix le_data_channel_server 2021-11-18 21:11:00 +01:00
Matthias Ringwald
9885fb2da1 hci: fix unused warning 2021-11-18 21:11:00 +01:00
Matthias Ringwald
31b1e95416 hci: fix unused variable warning 2021-11-17 11:54:21 +01:00
Matthias Ringwald
df9e278041 hci: run substate machines, esp. halting, before other commands to assert reliable power down 2021-11-17 11:37:52 +01:00
Matthias Ringwald
091e35e34f hci: extract hci_halting_run and hci_falling_asleep_run 2021-11-17 11:35:54 +01:00
Matthias Ringwald
8ac71e5c9c hci: remove timer during power down 2021-11-16 15:37:17 +01:00