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.)
Hung Bai -
I'm OK on code memory at the moment, but there is an advantage to removing code in that it one less thing to execute. and, in this case, I can eliminate a timer as well.
--- ta2
Hung Bai -
I'm OK on code memory at the moment, but there is an advantage to removing code in that it one less thing to execute. and, in this case, I can eliminate a timer as well.
--- ta2