This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Slave latency and interval connection for GAP advices

Dear Nordic Developer Zone,

In order to synchronize some tasks (motor-driving), I have recently implemented the radio notification interrupt.

In this interrupt, I toggle a LED on the nRF6310 board to see when the radio communication begins and stops.

During advertising, when I change the interval param, I can see the led blinking as fast I have set the interval parameter.

But, regarding the GAP interval and slave latency parameters, I can't see any difference even if I set a minimal connection interval value high : the LED continues to blink very fast when the nRF51822 chip is connected to a device (IOS app).

I have check how it is used in the "ble_app_hids_mouse" and I don't see something special to set excepted the parameters "min_conn_interval", "max_conn_interval" and "slave_latency".

Could you explain why these parameters are no effect about the frequency where the interrupt "radio notification" is called? Am I missing something?

FYI, there is no notification or data sent by the chip.

I have also read the very good answer you did here to understand the way to use these parameters : devzone.nordicsemi.com/.../what-is-connection-parameters

I am using the nRF51822 chip with softdevice and here are the values I am using :


#define SECOND_1_25_MS_UNITS 800
#define SECOND_10_MS_UNITS 100
#define MIN_CONN_INTERVAL (SECOND_1_25_MS_UNITS *5)
#define MAX_CONN_INTERVAL (SECOND_1_25_MS_UNITS *10)
#define SLAVE_LATENCY 10
#define CONN_SUP_TIMEOUT (4 * SECOND_10_MS_UNITS)                 

Thanks for your help

Parents
  • I assume you're aware of how connection parameters work with BLE, and how the Peripheral can send requests for updated parameters, for example by using the ble_conn_params module from the SDK. When the Peripheral sends such requests, it's up to the Central to either accept or reject them, and if you implement the event handler that the ble_conn_params module suggests, you can get an event when either of this happens with SDK 4.3. If you don't seem to get the connection parameters you want, it's useful to implement this, to see whether you get the FAILED event.

    If you're working with Apple devices, it's useful to be aware of the fact that they have their own document detailing their recommendations for connection parameters. This document can be found here. If things doesn't work as you expect, I'd therefore make sure that you comply with these requirements.

Reply
  • I assume you're aware of how connection parameters work with BLE, and how the Peripheral can send requests for updated parameters, for example by using the ble_conn_params module from the SDK. When the Peripheral sends such requests, it's up to the Central to either accept or reject them, and if you implement the event handler that the ble_conn_params module suggests, you can get an event when either of this happens with SDK 4.3. If you don't seem to get the connection parameters you want, it's useful to implement this, to see whether you get the FAILED event.

    If you're working with Apple devices, it's useful to be aware of the fact that they have their own document detailing their recommendations for connection parameters. This document can be found here. If things doesn't work as you expect, I'd therefore make sure that you comply with these requirements.

Children
No Data
Related