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

get the min connection interval with 8 sensors

Hello community,

I did a central device which is connecting with 8 slaves and this slaves are sending every time 8 bytes when they are connected. My set up is the following:

#define MIN_CONNECTION_INTERVAL	MSEC_TO_UNITS(10, UNIT_1_25_MS)	 
#define MAX_CONNECTION_INTERVAL	MSEC_TO_UNITS(16, UNIT_1_25_MS)	
#define SLAVE_LATENCY			0							
#define SUPERVISION_TIMEOUT		MSEC_TO_UNITS(200, UNIT_10_MS)	

But with a timestamp I am getting a connection with each sensor of 30 ms, Also I read on the specification of Nordicm the minimum interval is 20 ms with 8 slaves. How can I do that?

my ble is a NRF 52832 with a SDK 13 version 4.1. and s132

Thanks in advance

Parents
  • Hello Petter, the central is connecting to 8 peripheral (Motions sensors), these sensors are sending in every package 8 bytes in a connection interval of 30 ms (Accoring to the timestamp).

    My connection interval set up is the following:

    #define MIN_CONNECTION_INTERVAL MSEC_TO_UNITS(10, UNIT_1_25_MS)  
    #define MAX_CONNECTION_INTERVAL MSEC_TO_UNITS(16, UNIT_1_25_MS) 
    #define SLAVE_LATENCY           0                           
    #define SUPERVISION_TIMEOUT     MSEC_TO_UNITS(200, UNIT_10_MS)
    

    Using the link that you send me, i am checking which range is my connection time , for MAX = 15 ms and MIN = 15ms.

    But when I checking my data, the interval is not 15 ms but rather 30 ms.

    I dont know why is changing my interval.

Reply
  • Hello Petter, the central is connecting to 8 peripheral (Motions sensors), these sensors are sending in every package 8 bytes in a connection interval of 30 ms (Accoring to the timestamp).

    My connection interval set up is the following:

    #define MIN_CONNECTION_INTERVAL MSEC_TO_UNITS(10, UNIT_1_25_MS)  
    #define MAX_CONNECTION_INTERVAL MSEC_TO_UNITS(16, UNIT_1_25_MS) 
    #define SLAVE_LATENCY           0                           
    #define SUPERVISION_TIMEOUT     MSEC_TO_UNITS(200, UNIT_10_MS)
    

    Using the link that you send me, i am checking which range is my connection time , for MAX = 15 ms and MIN = 15ms.

    But when I checking my data, the interval is not 15 ms but rather 30 ms.

    I dont know why is changing my interval.

Children
No Data
Related