KW36 BLE Update Parameters Request

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

KW36 BLE Update Parameters Request

跳至解决方案
3,679 次查看
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                                

标签 (2)
0 项奖励
回复
1 解答
3,646 次查看
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 项奖励
回复
6 回复数
3,662 次查看
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.

3,654 次查看
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

 

破坏者
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 项奖励
回复
3,647 次查看
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 项奖励
回复
3,612 次查看
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 项奖励
回复
3,591 次查看
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 项奖励
回复
3,583 次查看
nidhintomy
Contributor IV

Hi @EduardoZamora 

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

Best Regards,

Nidhin

0 项奖励
回复