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

ABOUT FIRST_CONN_PARAMS_UPDATE_DELAY

Parents
  • This parameter determines how long time passed from either connection or CCCD write (depending on the value used for start_on_notify_cccd_handle) it will take before a Connection Parameter Update Request is sent, if the initial connection parameters of the Central are not within the Peripheral's requirements.

    If the start_on_notify_cccd_handle is set to BLE_GATT_HANDLE_INVALID, the time will be measured from the CONNECTED event. If the start_on_notify_cccd_handle is set to the value of a CCCD, time will be measured from that specific CCCD is written by the GATT Client.

  • OK,sorry for my unreasonable guess because I met this phenomenon on my device and I think it is due to FIRST_CONN_PARAMS_UPDATE_DELAY.Forget about it. I actually has another question,please. That is: when my device connect to my i-pod sucessfully,i press the 'Disconnected' button at my app immediately, but my device does not disconnect as soon as i press, instead it will disconnect after about 5 seconds. I want to konw if this delay is determined by some parameters, or just because this connection process do take so long time so it can not disconnect during this period? Thank you very much!

Reply
  • OK,sorry for my unreasonable guess because I met this phenomenon on my device and I think it is due to FIRST_CONN_PARAMS_UPDATE_DELAY.Forget about it. I actually has another question,please. That is: when my device connect to my i-pod sucessfully,i press the 'Disconnected' button at my app immediately, but my device does not disconnect as soon as i press, instead it will disconnect after about 5 seconds. I want to konw if this delay is determined by some parameters, or just because this connection process do take so long time so it can not disconnect during this period? Thank you very much!

Children
No Data
Related