cancel
Showing results for 
Search instead for 
Did you mean: 

BLUENRG - aci_l2cap_connection_parameter_update_request() when to call this function?

maik
Associate
Posted on August 02, 2014 at 18:07

Hello,

after connection establishment BLE spec suggests/allows to change connection parameters based on the actual requirement. E.g. connect with slow interval for normal operation, but after some time when needed for sending lot of data, use a much smaller interval.

The BLUENRG api gives the function

aci_l2cap_connection_parameter_update_request

(...)

 

. Calling this function is working fine (most of the times) for updating the connection parameters. However, in case there is some other traffic (e.g. from security manager) when using this function it causes an interruption and the connection is dead and will time out (I'm using BLUENRG as peripheral).

So is there some hint / synchronization which allows me to call this function securely?

Maik
1 REPLY 1
Posted on September 15, 2014 at 10:10

Hi Maik,

what values have you set in the parameters (inteval min, interval max, slave latency and Timeout multiplier?

regards,

Graziella