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?
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?
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.
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.
But, what does start_on_notify_cccd_handle do during connection parameter negotiation?
Nothing, but it can be used a trigger to start it.
does that mean connection parameter negotiation starts when notification occurs?
It means that connection paramter negotion starts when notifications are enabled.
Thank you. I confirmed it, analyzing code.