Commit Graph
8 Commits
Author SHA1 Message Date
yuanhonghui eebeb6b62c feat(example): add pytest for nimble examples 2026-08-12 15:46:14 +08:00
Rahul Tank 432cd1ebdd fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples
- Remove unused headers from examples
- Improve periodic adv/sync example functionality and readability
- Use ble_hs_id_infer_auto() instead of hardcoded BLE_OWN_ADDR_PUBLIC/RANDOM
- Add ble_hs_util_ensure_addr() calls in on_sync for proper address setup
- Use correct ext adv instance (0 instead of 1) in phy_prph, l2cap_coc, multi_conn
- Fix struct name: ble_gap_periodic_adv_enable_params -> ble_gap_periodic_adv_start_params
- Add CONFIG_BT_NIMBLE_GAP_SERVICE guards around ble_svc_gap_device_name_set
- Fix unsafe AD data parsing with bounds checks in central examples
- Fix UUID matching bugs (off-by-one loop condition and byte order) in
  phy_cent, htp_cent, and proximity_sensor_cent
- Fix ble_multi_conn_cent address type to use dynamic inference
- Remove contradictory sm_sc=0 after sm_sc=1 in ble_multi_adv
- Add CONFIG_BT_NIMBLE_EXT_ADV=y to ble_multi_adv sdkconfig defaults
- Check return values for ble_gap_set_host_feat, nimble_port_init
- Update tutorials and READMEs to match code changes
2026-02-25 12:59:48 +05:30
Rahul Tank d42fa84973 fix(nimble): Update menuconfig option to consider 5.0 support 2024-07-10 13:48:00 +05:30
Roshan Bangar 67b956f503 feat(nimble): Added periodic Adv Feature Updates in BLE 5.3 2023-08-22 10:18:10 +05:30
Rahul Tank f907c22ea8 docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-18 16:07:24 +05:30
Rahul Tank d89736babf Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-08 11:59:43 +05:30
Rahul Tank f2eebcb968 Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 2023-01-16 13:12:14 +05:30
Roshan Bangar 10eacf0360 Nimble: Add example for periodic adv/sync 2022-09-22 10:54:47 +05:30