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()?
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()?
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.)
@ta2: If the amount of time your device enters connection mode is very little compare to the idle and advertising time, I think it's doesn't matter if you have the connection parameter update or not.
But it will save you some code memory of course.
If you are happy with the answer from Kenneth, could you accept the answer ?
@ta2: If the amount of time your device enters connection mode is very little compare to the idle and advertising time, I think it's doesn't matter if you have the connection parameter update or not.
But it will save you some code memory of course.
If you are happy with the answer from Kenneth, could you accept the answer ?