Commit Graph

5230 Commits

Author SHA1 Message Date
Alexey Edelev 08ccfd5b7d Wrap various bluetooth service API with extern "C"
Make service API usable in C++ code without the need of explicit
include statements wrapping.
2025-06-12 19:26:58 +05:30
Rahul Tank 0225775e49 fix(nimble): Add invocation for mempool_deinit 2025-06-04 16:35:31 +05:30
Rahul Tank bcb5345e25 fix(nimble): Fix compilation issues for various BLE roles 2025-05-27 17:43:27 +05:30
Rahul Tank 544e94303c fix(nimble):Add changes for coverity reported issue 2025-05-21 09:50:09 +05:30
Rahul Tank 45352c459a fix(nimble): Add support for minimilistic build sdkconfig 2025-05-19 12:41:40 +05:30
Deomid rojer Ryabkov 375cc98772 Fix proc rx entry comparison 2025-05-15 15:36:58 +05:30
Sumeet Singh f5136d2b35 fix(nimble): Fixed race condition happening with hci outstanding packets counter 2025-05-14 10:26:00 +05:30
Rahul Tank 1fdde6f555 fix(nimble): Extend support for allow connect during scan for more chips 2025-05-14 10:24:55 +05:30
Rahul Tank 6fb5ece270 fix(nimble): Add support for anonymous address type for whitelist 2025-05-14 10:24:24 +05:30
Rahul Tank 0cc70adeba fix(nimble): Add configurable option to select ext adv v2 command 2025-05-14 10:23:46 +05:30
Sumeet Singh 5c6b832167 fix(nimble): Fixed UUID type error in gatt caching included service search 2025-05-13 17:31:52 +05:30
Astha Verma 92b8a227f0 fix(nimble): Added api's for fetching gatt cache data and for discovering included services 2025-05-12 11:28:09 +05:30
Rahul Tank 7c18dde8d7 fix(nimble): Added option to stack to handle repeat pairing internally 2025-05-08 15:31:27 +05:30
Sumeet Singh 7d06b1c8ca feat(nimble): Added some fixes to pass PTS cases 2025-05-07 15:26:02 +05:30
Rahul Tank 0ea32c88c7 fix(nimble): Expose adv_find_field API so application can parse specific AD types in adv reports 2025-04-29 12:09:42 +05:30
Abhinav Kudnar 702ccd2bd7 fix(nimble): Fix sync handle assignment for pawr connection 2025-04-17 14:00:46 +08:00
Shreeyash 70439dd17c fix(nimble): Fix incorrect OTA address assignment 2025-04-10 12:39:39 +05:30
Rahul Tank 54a87acce8 fix(nimble): Fixed one missing ble_hs_unlock() 2025-04-07 09:37:17 +05:30
Rahul Tank 5a1882e4b9 fix(nimble): Handle connection posting condition
Current code depends only on success of read remote features
to post connection event. Made a fix to separate the two. Failure
in status event for LMP features list still implies connection
has been created.
2025-04-02 21:30:42 +05:30
Astha Verma 843c764f39 fix(nimble): Added ble_hs_unlock for resync failed 2025-03-27 18:21:09 +05:30
Geng Yuchao 330b3df62d fix(nimble): Fix variable type conversion compile errors and add function declaration comments 2025-03-20 18:15:19 +05:30
Andrzej Kaczmarek 7648fba967 nimble/host: Fix SMP command allocation
os_mbuf_extend can allocate new mbuf if there's not enough space in txom
for complete SMP command. In such case we write SMP command data to the
original mbuf which doesn't have om_len updated instead to newly created
mbuf. This can happen especially for SMP Public Key if block size is not
large enough to fit pkthdr and 65 bytes of command data.

We should use pointer returned from os_mbuf_extend as a SMP command data
pointer as this always points to added space.
2025-03-19 20:27:49 +05:30
Shreeyash 0a221c0693 feat(nimble): support vendor event mask set and vendor HCI event on nimble host 2025-03-13 14:27:11 +05:30
Rahul Tank 149eec704a fix(nimble): Fix incorrect event deinit in gatt caching discovery 2025-03-12 18:13:25 +05:30
Abhinav Kudnar 4831c488a4 fix(nimble): Exposed the ble_gap_wl_tx_add API to add a device in whitelist, other fixes 2025-03-07 14:19:05 +05:30
Shen Weilong 9b20b462e7 Replace "&curve_secp256r1" with "uECC_secp256r1()" for uECC operation 2025-03-06 15:49:10 +08:00
Rahul Tank d69d8789f9 host: sm: secure connection only pairing might fail with no reason
When BLE_SM_SC_ONLY is on during pairing request, the process might fail even though both SC is supported by the peer and the key size meet the requirements.
2025-03-05 19:33:59 +05:30
Rahul Tank fc098022e7 fix(nimble): Handle probable release breaking change
link_estab event may be handled by customers in application and the previous would break it.
Revert few changes so as to not break the customer's code
2025-03-03 12:33:47 +05:30
Rahul Tank e38eb31bcf fix(nimble): update data length after connection for all chips 2025-02-27 20:54:36 +05:30
Rahul Tank 9b2b013c11 fix(nimble): Deprecate GAP_EVENT_LINK_ESTAB event 2025-02-23 15:04:06 +05:30
Rahul Tank a9a4c70198 fix(nimble): Handle not sending disconnect in slave role if connect was not sent 2025-02-15 09:20:59 +05:30
Abhinav Kudnar 8a553ad4e6 feat(nimble): Add offset in GATT server long read context 2025-02-14 11:20:24 +05:30
Astha Verma 002183823a fix(nimble): Added sync reattempt for periodic adv 2025-02-13 18:19:21 +05:30
Astha Verma de3e1c9fe4 fix(nimble): Enhanced error handling by adding to print core error definitions 2025-02-13 08:53:17 +05:30
Astha Verma a594c0d26e fix(nimble): fix NVS corruption 2025-02-12 10:47:27 +05:30
nvmd 81b1700f64 Fixed warnings
If built with
CONFIG_COMPILER_WARN_WRITE_STRINGS=y, the
compiler emits warnings about the non-const
pointer pointing to literal strings. This fixes
it.
2025-02-10 21:46:30 +05:30
Astha Verma 2643d26d03 fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled 2025-02-04 18:21:50 +05:30
Rahul Tank a4cd6027a5 fix(nimble): Fix compilation issues for different flag combinations 2025-01-13 13:46:55 +05:30
Abhinav Kudnar 6c53703528 feat(nimble): Additional PAWR changes support for ESP IP 2025-01-10 17:02:45 +05:30
Rahul Tank cf14772338 fix(nimble): Removed extra prints 2025-01-10 17:02:08 +05:30
Astha Verma 5d7de020d3 fix(nimble): Added HCI_Read_Remote_Version_Infomration Command 2025-01-10 17:01:44 +05:30
Rahul Tank 24333a9dce fix(nimble) Clear our and peer security records during unpair 2025-01-10 17:01:09 +05:30
Rahul Tank 8e41b8752a fix(nimble): Reset data length global variables upon disconnection 2025-01-08 21:38:38 +05:30
Rahul Tank d7a585dcf0 fix(nimble): Corrected storing method of csfc to nvs 2025-01-06 10:55:45 +05:30
Rahul Tank 16d59c062d fix(nimble): Address few coverity reported issues
1. too_few_printf_args: Corrected print statement to pass arguments
2. Fixed nesting levels
3. Fixed unused value warnings
2025-01-03 11:33:42 +05:30
Abhinav Kudnar 4cf7d046d3 fix(nimble): Save the gatt context in case of preemption 2024-12-30 19:56:00 +08:00
Rahul Tank ff017e5b74 fix(nimble): Fix compilation issue for combination of Ext Adv and Reattempt conn flag 2024-12-30 10:13:25 +05:30
Rahul Tank fc1eac6774 fix(nimble): Add ATT Tx queue cleanup during link disconnection 2024-12-24 21:07:59 +05:30
Rahul Tank 3c8aa5456e fix(nimble): Fix compilation issues when BLE_MAX_STORE_BOND is set to 0 2024-12-22 15:18:07 +05:30
Shreeyash fc8d244eae fix(nimble): Added a check for invalid offset 2024-12-22 11:55:47 +05:30