Minimum connection interval, MSEC_TO_UNITS(400, UNIT_1_25_MS) why 0.4S?
MSEC_TO_UNITS ()
follows
#define MSEC_TO_UNITS(TIME, RESOLUTION) (((TIME) * 1000) / (RESOLUTION))
Bring it in. It's 320, not 0.4s
Guide me, thank you!
Minimum connection interval, MSEC_TO_UNITS(400, UNIT_1_25_MS) why 0.4S?
MSEC_TO_UNITS ()
follows
#define MSEC_TO_UNITS(TIME, RESOLUTION) (((TIME) * 1000) / (RESOLUTION))
Bring it in. It's 320, not 0.4s
Guide me, thank you!
Hello,
The time is given in units of 1.25 ms as per the Bluetooth specification. Thus, the value '320' corresponds to 400 ms (320 * 1.25 ms). Does this answer your question?
MSEC_TO_UNITS(400, UNIT_1_25_MS) 400*1000 /1250 = 320 ,
Sorry, but I don't see a question here. What are you trying to achieve? Like I said in my previous response, '320' corresponds to a connection interval of 400 ms.