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

how to set the connection interval for nrf52832

Hi, 

I am working on the nRF52832 ,If i want my data to be transmit every 7.5ms then what should I set the  minimum connection interval and  maximum connection interval ? please suggest me

Thanks & Regards 

pspavi

Parents
  • The snippet I provided does not set the connection interval to 7.5ms. In that specific snippet the connection interval it sets MIN_CONN_INTERVAL to 100ms, and MAX_CONN_INTERVAL to 200ms. You have to change the parameter in MSEC_TO_UNITS(100, UNIT_1_25_MS) to the amount of ms you would like to have in your application.

    What kind of error code is returning from the ble_advertising_start() function?

    Best regards,

    Simon

Reply
  • The snippet I provided does not set the connection interval to 7.5ms. In that specific snippet the connection interval it sets MIN_CONN_INTERVAL to 100ms, and MAX_CONN_INTERVAL to 200ms. You have to change the parameter in MSEC_TO_UNITS(100, UNIT_1_25_MS) to the amount of ms you would like to have in your application.

    What kind of error code is returning from the ble_advertising_start() function?

    Best regards,

    Simon

Children
Related