Search found 2 matches

by alexshield
Thu Jul 29, 2021 4:18 am
Forum: General Discussion
Topic: How to Subscribe to a Notify BLE (NIMBLE)
Replies: 1
Views: 2636

Re: How to Subscribe to a Notify BLE (NIMBLE)

You should use CCCD of this CHARECTERISTICS to subscribe for notifications.
by alexshield
Thu Jul 29, 2021 4:04 am
Forum: General Discussion
Topic: Changing Advertising Events Interval with NimBLE
Replies: 0
Views: 2279

Changing Advertising Events Interval with NimBLE

Hi, I' dream to set advertise interval (advInterval) to 5000 ms. So, due to Bluetooth SIG 4.4.2.2.1, T_advEvent = advInterval + advDelay advInterval = 5000/0.625 = 8000, I put this into the struct ble_hs_adv_fields fields : ... fields.adv_itvl_is_present = 1; fields.adv_itvl = (uint16_t) 8000; ... i...