Is there any time limit to send Gap_UpdateConnectionParameters() to central after connection established?
I read some documents. From my understanding we need to wait for 6 seconds after connection established and then we can call Gap_UpdateConnectionParameters();
Best Regards,
Nidhin
Solved! Go to Solution.
Hi,
Connection Parameter Update command shall only be sent if either the Central or the Peripheral does not support the Connection Parameters Request Link Layer Control procedure; so it may be required only under this condition, but for KW36 it is optional and it will be safe to update Connection Parameters after 6 seconds.
Regards,
Eduardo.
Hi Nidhim,
Hope you are doing well.
For Connection Parameter Update, the only precondition is that a connection must be in place. You can find more information on this in the Bluetooth Core Specification, Vol 3, Part C, Section 9: Operational Modes and Procedures -> 9.3 Connection modes and Procedures -> 9.3.9 Connection Parameter Update procedure.
Regards,
Eduardo.
I am very well, thank you. I hope you are well too.
I read the section of Bluetooth Core Spec. document you refereed.
Then i find these:
After the Peripheral has no further pending actions to perform and the Central
has not initiated any other actions within TGAP(conn_pause_central), then the
Peripheral may perform a Connection Parameter Update procedure (see
Section 9.3.9). The Peripheral should not perform a Connection Parameter
Update procedure within TGAP(conn_pause_peripheral) after establishing a
connection.
in BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 3, Part C, Section 9: Operational Modes and Procedures -> 9.3 Connection modes and Procedures -> 9.3.12 Connection interval timing parameters -> 9.3.12.2 Conditions
Is this means it is safe to update Connection Parameters after 6s or it is mandatory we should update Connection Parameters after 6s?
Can you please clarify about this?
Best Regards,
Nidhin
Hi,
Connection Parameter Update command shall only be sent if either the Central or the Peripheral does not support the Connection Parameters Request Link Layer Control procedure; so it may be required only under this condition, but for KW36 it is optional and it will be safe to update Connection Parameters after 6 seconds.
Regards,
Eduardo.
Thanks for your time and help.
I have one more doubt.
If i use 6sec to update connection parameters, should i use pairing and bonding after these 6 sec?
Or can i use the first 6 sec to handle pairing and bonding?
Which is preferred?
Best Regards,
Nidhin
Hello,
It would be safe if you start pairing and bonding process after updating Connection Parameters.
Regards,
Eduardo.