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

Do I need to call ble_conn_params_init()?

Connections to my peripheral device are generally very short. I don't really need to have my device request a connection parameters update.

Does this mean that I can safely ignore the Connection Parameters Module and not call ble_conn_params_init()?

Parents
  • Yes, there is no problem to not include ble_conn_params module. Though I would then recommend you to have a timeout handler in your application to ensure that the peripheral will disconnect after a certain of period of time if the central for unknown doesn't do as you expect. ("Unknown" could be the application on the central crash, and for that reason does not dicsonnect as intended.)

Reply
  • Yes, there is no problem to not include ble_conn_params module. Though I would then recommend you to have a timeout handler in your application to ensure that the peripheral will disconnect after a certain of period of time if the central for unknown doesn't do as you expect. ("Unknown" could be the application on the central crash, and for that reason does not dicsonnect as intended.)

Children
Related