15223 Commits

Author SHA1 Message Date
Matthias Ringwald
d385c90e9d att_dispatch: add att_dispatch_classic_register_service 2023-08-22 16:07:46 +02:00
Matthias Ringwald
72df296c2f att_dispatch: support can send now for classic 2023-08-22 16:07:46 +02:00
Matthias Ringwald
9eba80a6c9 att_dispatch: extract att_dispatch_handle_can_send_now 2023-08-22 16:07:46 +02:00
Matthias Ringwald
5fd2be408f att_dispatch: support gatt over classic for request can send now 2023-08-22 16:07:46 +02:00
Matthias Ringwald
0cd55b6c9f att_dispatch: extract att_dispatch_classic_get_l2cap_cid 2023-08-22 16:07:46 +02:00
Matthias Ringwald
eb65899c12 att_dispatch: extract att_dispatch_request_can_send_now_event 2023-08-22 16:07:46 +02:00
Matthias Ringwald
0f376572fd att_dispatch: support gatt over classic in att_dispatch_can_send_now 2023-08-22 16:07:46 +02:00
Matthias Ringwald
e9e0c21eea att_dispatch: extract att_dispatch_can_send_now 2023-08-22 16:07:46 +02:00
Matthias Ringwald
4a7a258f11 att_dispatch: use bool for can send now functions 2023-08-22 16:07:46 +02:00
Matthias Ringwald
d8acf2678c gatt_client: store l2cap in hci_connection->att_server 2023-08-22 16:07:35 +02:00
Matthias Ringwald
98926299d6 att_dispatch: use switch for hci event packets 2023-08-22 16:07:29 +02:00
Matthias Ringwald
7405427fbf att_dispatch: improve function description 2023-08-22 15:57:06 +02:00
Matthias Ringwald
72aba3fa65 btstack_defines: fix GATT_EVENT_LONG_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT 2023-08-22 15:44:25 +02:00
Matthias Ringwald
98e87e7776 test: use pkg-config for cpputest build flags 2023-08-20 16:13:49 +02:00
Matthias Ringwald
29d4766d2c gap: downgrade link key type when reconnect without SC is detected for SC pairing 2023-08-20 15:58:50 +02:00
Matthias Ringwald
8eae094c26 hci: handle encryption change with error -> trigger emit security level_0 (classic only) 2023-08-20 15:53:56 +02:00
Matthias Ringwald
617c03d6ea hci: use bool for hci_is_le_connection 2023-08-20 15:51:22 +02:00
Matthias Ringwald
e789584cfe l2cap: fix ecbm service registration 2023-08-20 14:46:30 +02:00
Matthias Ringwald
27034b3b4d l2cap: reject disconnect request for invalid cids 2023-08-20 14:46:30 +02:00
Matthias Ringwald
becfe286d1 l2cap: reject ecbm channel if remote cid already exists 2023-08-20 14:46:30 +02:00
Matthias Ringwald
2046b1ba63 l2cap: handle authorization requirement in ecbm 2023-08-20 14:46:30 +02:00
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
b16d0b9c83 l2cap: send ecbm pending if authentication possible 2023-08-20 14:46:30 +02:00
Matthias Ringwald
6499cee051 l2cap: extract l2cap_ecbm_security_status_for_connection_request 2023-08-20 14:46:30 +02:00
Matthias Ringwald
436d089a6a l2cap: send ecbm pending if authentication possible 2023-08-20 14:46:30 +02:00
Matthias Ringwald
8edd6a0adf l2cap: prepare l2cap_handle_security_level for multiple iterations 2023-08-20 14:46:30 +02:00
Matthias Ringwald
7aed797a49 l2cap: extract l2cap_ecbm_handle_security_level_incoming_sufficient 2023-08-20 14:46:30 +02:00
Matthias Ringwald
7703f6ed56 l2cap: extract l2cap_ecbm_emit_incoming_connection 2023-08-20 14:46:30 +02:00
Matthias Ringwald
20fe8db3fc l2cap: rework ecbm security checks 2023-08-20 14:46:30 +02:00
Matthias Ringwald
34c1c6c77e l2cap: disconnect if fragment larger than local mps is received 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
9dd5391ffe l2cap: disonnect cbm/ecbm if packet with sdu larger than mtu is received 2023-08-20 14:46:30 +02:00
Matthias Ringwald
7dd21e2481 l2cap: return 'ecbm all refused insufficient encryption' if encryption required but unencrypted 2023-08-20 14:46:29 +02:00
Matthias Ringwald
2052d96cc1 gap: add gap_extended_advertising_set_resolvable_private_address_update 2023-08-20 14:46:29 +02:00
Matthias Ringwald
027f4677e6 gap: add gap_periodic_advertising_set_info_transfer_send 2023-08-20 14:46:29 +02:00
Matthias Ringwald
fa9be54c8c hci: add send request and incoming connection for gatt client/server 2023-08-20 14:46:29 +02:00
Matthias Ringwald
c7fc10753e gatt_client: ignore notifications/indications until re-encrypted for bonded device without ENABLE_LE_PROACTIVE_AUTHENTICATION 2023-08-20 14:46:29 +02:00
Matthias Ringwald
9ee42df911 gatt_client: ignore notifications/indications until re-encrypted for bonded device without ENABLE_LE_PROACTIVE_AUTHENTICATION 2023-08-20 14:46:29 +02:00
Matthias Ringwald
c2414c00ee gap: abort pairing if remote in dedicated bonding and we are non-bondable 2023-08-20 14:46:29 +02:00
Matthias Ringwald
53c4f8d806 l2cap: reject incoming connection with security block in SC-only mode if non-SC connection 2023-08-20 14:46:29 +02:00
Matthias Ringwald
813a09c6dc gap: downgrade link key type when reconnect without SC is detected for SC pairing 2023-08-20 14:46:29 +02:00
Matthias Ringwald
27b992ef15 hci: handle encryption change with error -> trigger emit security level_0 2023-08-20 14:46:29 +02:00
Matthias Ringwald
89254d996a hci: handle advertising set terminated 2023-08-20 14:46:29 +02:00
Matthias Ringwald
f1e14e60f0 bluetooth_data_types: add advertising interval long 2023-08-20 14:46:29 +02:00
Matthias Ringwald
bd8291e95f tool/compile_gatt: add GAP characteristic UUIDs 2023-08-20 14:46:29 +02:00
HASUMI Hitoshi
86382a7975 btstack_run_loop: fix typos in comments 2023-08-20 12:40:50 +02:00
Matthias Ringwald
8f693d4af8 sx128x: fix connection update 2023-08-20 11:50:36 +02:00
Andrey Fominykh
f50ed5accd gap: support configuring inquiry transmit power level 2023-08-16 11:03:08 +02:00
Andrey Fominykh
c9c0cbe99a hci_cmd: add hci_read_inquiry_response_transmit_power_level and hci_write_inquiry_transmit_power_level command templates 2023-08-16 10:58:58 +02:00