225 Commits

Author SHA1 Message Date
Matthias Ringwald
989c549884 l2cap: add authorization_required param to ecbm service registration 2023-08-20 14:46:30 +02:00
Matthias Ringwald
5b2d3e1251 l2cap: add l2cap_ecbm_trigger_pending_connection_responses 2023-08-20 14:46:30 +02:00
Matthias Ringwald
9793164fec l2cap: store local_mps for credit-based channels in l2cap_channel_t 2023-08-20 14:46:30 +02:00
Matthias Ringwald
009eb6c6d8 l2cap: update deprecated recommendations 2023-07-28 19:43:46 +02:00
Matthias Ringwald
d169fdcbd2 l2cap: update deprecated recommendations 2023-07-27 19:00:49 +02:00
Matthias Ringwald
8d9f906bb8 l2cap: introduce L2CAP_CHANNEL_TYPE_FIXED_CLASSIC 2022-09-07 15:16:29 +02:00
Matthias Ringwald
34be587822 l2cap: annotate fixed channels with le vs classic 2022-09-07 15:16:29 +02:00
Matthias Ringwald
37e014a7ac l2cap: store 16-bit connection result value 2022-04-28 16:41:45 +02:00
Matthias Ringwald
d48d37c33f l2cap: channel->automatic_credits is bool 2021-12-13 15:21:26 +01:00
Matthias Ringwald
f062abd6f2 l2cap: fold cbm/ecbm send data into l2cap_send 2021-11-22 12:19:24 +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
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
bbb517b6ca l2cap: remove 'data channel' from function names 2021-11-19 14:20:15 +01:00
Matthias Ringwald
d3a2e89fbc l2cap: fix build 2021-11-19 14:00:25 +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
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
a254c508b6 l2cap: support enhanced credit-based control-flow mode
# Conflicts:
#	src/l2cap.c
2021-11-18 21:11:00 +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
Milanka Ringwald
2fca4dad95 license: update text 2021-11-02 09:31:00 +01:00
Matthias Ringwald
67d696b32a l2cap: track conn request pending sent 2021-09-13 15:07:43 +02:00
Matthias Ringwald
e777ec9519 l2cap: use #defines for L2CAP_CHANNEL_STATE_VAR_INCOMING 2021-09-13 14:40:15 +02:00
Matthias Ringwald
dccc4e952e l2cap: packet send functions return status 2021-09-06 16:05:29 +02:00
Matthias Ringwald
6106bf3f5f l2cap: use bool for can send now functions 2021-09-06 16:05:29 +02:00
Matthias Ringwald
a2fc00233d l2cap: use bool for l2cap_reserve_packet_buffer 2021-09-06 16:05:29 +02:00
Matthias Ringwald
904f1e16d2 l2cap: generalize fixed channel type for LE and BR/EDR 2021-08-24 17:59:25 +02:00
Milanka Ringwald
8562184021 l2cap: update API docu and log messages 2021-06-28 11:56:32 +02:00
Milanka Ringwald
48cdff9c38 MISRAC2012-Rule-8.3_b: match function declaration and definition 2021-06-03 13:03:13 +02:00
Milanka Ringwald
b45b7749fd MISRAC2012-Rule-8.3_b: match function declaration and definition 2021-06-03 11:35:40 +02:00
Milanka Ringwald
fe5a6c4e96 src: add title to header files 2021-05-28 11:21:09 +02:00
Matthias Ringwald
da9b76deb1 l2cap: return unknown mandatory option in config response 2021-05-24 18:30:42 +02:00
Matthias Ringwald
a0549bf12c l2cap: support de-init 2021-01-18 21:34:56 +01:00
Matthias Ringwald
b81345633b l2cap-ertm: use Retransmission and Flowcontrol options in Config Response only if used in Config Request 2019-10-21 21:50:39 +02:00
Matthias Ringwald
a6e314f195 l2cap: extract internal types and definitions from bluetooth.h 2019-09-26 12:56:41 +02:00
Milanka Ringwald
32272f1216 l2cap.h: PSM codes moved from bluetooth.h 2019-09-24 14:46:05 +02:00
Matthias Ringwald
80e33422a9 Use FILENAME_H as include guard (MISRAC2012-Rule-21.1) 2019-05-11 19:08:52 +02:00
Matthias Ringwald
c425ea4ad2 l2cap: add fcs_option to ERTM config l2cap_ertm_config_t 2019-01-08 09:18:09 +01:00
Matthias Ringwald
a8409e807e l2cap ertm: fix outgoing fragment management 2018-10-12 22:06:01 +02:00
Matthias Ringwald
4e6fa3a2bb l2cap: annotate API - prepared buffer can only be used for L2CAP Basic Mode 2018-04-30 11:51:28 +02:00
Matthias Ringwald
7740e150a7 l2cap: round robin over all channel types (classic, le data channel, fixed) 2018-02-05 15:19:00 +01:00
Matthias Ringwald
fad84caf30 l2cap: manage fixed channels for ATT, SM, and Connectionless Data in l2cap_fixed_channel_t and keep in unified channels list 2018-02-05 15:19:00 +01:00
Matthias Ringwald
5d18f62371 l2cap: define l2cap_channel_type_t and set for new channels 2018-02-05 15:19:00 +01:00
Matthias Ringwald
25818320b7 l2cap: allow to set the max LE MTU 2018-01-30 19:01:33 +01:00
Matthias Ringwald
ceec418a18 l2cap: support connection requests during connection request failure 2017-11-17 17:41:37 +01:00