13388 Commits

Author SHA1 Message Date
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
Matthias Ringwald
441a7ef1e8 example: fix build 2021-11-16 11:09:15 +01:00
Matthias Ringwald
9f0b00b154 l2cap: emit L2CAP_EVENT_INFORMATION_RESPONSE 2021-11-16 11:01:05 +01:00
Matthias Ringwald
3cc0a36816 l2cap: fixed_channels_supported instead of fixed_channels 2021-11-16 10:59:29 +01:00
Matthias Ringwald
d676fa4b9b l2cap: trigger information request for outgoing connections only if ERTM requested 2021-11-16 10:48:57 +01:00
Matthias Ringwald
63d7a6478e l2cap: trigger information request for incoming connections after connection was accepted by user 2021-11-16 10:48:57 +01:00
Matthias Ringwald
c1c10361fb l2cap: send fixed channel request 2021-11-16 10:48:57 +01:00
Matthias Ringwald
947e749bbf l2cap: remove block around INFORMATION_RESPONSE case 2021-11-16 10:48:57 +01:00
Matthias Ringwald
f3cc96b2bc l2cap: extract l2cap_handle_information_request_complete 2021-11-16 10:48:57 +01:00
Matthias Ringwald
1b3d75dd09 l2cap: trigger information request on: encryption, in- and outgoing connections 2021-11-16 10:48:57 +01:00
Matthias Ringwald
1901fae507 l2cap: provide l2ap_run_information_requests 2021-11-16 10:48:57 +01:00
Matthias Ringwald
0b81d2a574 l2cap: eplaced l2cap_register_packet_handler with l2cap_add_event_handler to register multiple handlers 2021-11-16 10:48:40 +01:00
Matthias Ringwald
3dc9ca3a1d l2cap: ENABLE_EXPLICIT_BR_EDR_SECURITY_MANAGER reports support for BR/EDR SM in information response 2021-11-09 18:58:11 +01:00
Matthias Ringwald
8f733c6f40 hci: make hci_number_free_acl_slots_for_connection_type public 2021-11-09 18:52:06 +01:00
Matthias Ringwald
6f351188be hci_cmd: add hci_park_state and hci_exit_park_state 2021-11-05 10:07:47 +01:00
Matthias Ringwald
29ae3d7dfb hci_cmd: add hci_hold_mode 2021-11-05 09:52:29 +01:00
Matthias Ringwald
822ca440d2 changelog: use 1000 ms watchdog to force power off for hci_power_control(HCI_POWER_OFF) 2021-11-04 15:27:14 +01:00
Matthias Ringwald
685ec254e6 hcI: add 1000 ms watchdog that forces power off for hci_power_control(HCI_POWER_OFF) 2021-11-04 15:18:24 +01:00