KW36 BLE Update Parameters Request

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KW36 BLE Update Parameters Request

Jump to solution
1,572 Views
nidhintomy
Contributor IV

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                                

Labels (2)
0 Kudos
1 Solution
1,539 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

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.

View solution in original post

0 Kudos
6 Replies
1,555 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

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.

1,547 Views
nidhintomy
Contributor IV

Hi @EduardoZamora 

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

 

Spoiler
conn_pause_central = 1s, conn_pause_peripheral = 5s

 

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

0 Kudos
1,540 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

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.

0 Kudos
1,505 Views
nidhintomy
Contributor IV

Hi @EduardoZamora 

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 

0 Kudos
1,484 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello,

It would be safe if you start pairing and bonding process after updating Connection Parameters.

EduardoZamora_0-1661548222999.png

Regards,
Eduardo.

 

0 Kudos
1,476 Views
nidhintomy
Contributor IV

Hi @EduardoZamora 

Thanks for your time and help. It is very helpful.

Best Regards,

Nidhin

0 Kudos