This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

set my connection parameters

Hi everyone!

I'm working in a PC application in Java like the JavaSimplePeripheral example.

In my firmware on cc2540 i set the desirables parameters in:
- minimum connection interval = 25,
- maximum connection interval = 25,
- slave latency = 4,
- timeout = 1000.

Besides i enabled the automatic parameter update request.

But when the connection is formed, and i get the connection parameters with BTOOL app. 
The parameters obtained are the default BTOOL parameters:

- minimum connection interval = 80,
- maximum connection interval = 80,
- slave latency = 0,
- timeout = 2000.

So i thought that BTOOL app rejected the new parameters.

So who sets the parameters of connection? SimplePeripheral or HostTestApp?

How my java application could set the desired connection parameters?

Thanks in advance...
  • When a connection parameter update is received by the master (USB Dongle), you won't see the new parameters reflected in the BTool GUI. You should, however, notice that the latency of any packets that are sent reflects the new connection parameters rather than the ones in BTool (that are sent when the connection is first initiated).