This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

what is the start_on_notify_cccd_handle in the ble_conn_params_init_t?

what is the start_on_notify_cccd_handle in the ble_conn_params_init_t?

I don't know why use this variable.

It seems to be used for conn_params_negotiation()... but isn't it an one of connection parameter?

Parents
  • If you want to start the connection parameter negotiation when a certain notification is enabled (when a certain CCCD is written to 0x0001), you can set the handle value of of that CCCD to start_on_notify_cccd_handle. If not, just set it to BLE_GATT_HANDLE_INVALID.

  • does that mean connection parameter negotiation starts when notification occurs?

Reply Children
No Data