Why do I use this function bt_conn_le_param_update( ), only after the power on the first time to work, then do not work
Why do I use this function bt_conn_le_param_update( ), only after the power on the first time to work, then do not work
Hi,
There should not be any limitations on how often you can call bt_conn_le_param_update(), and updating the connection parameters several times during a connection is common. In what way does it not work?
Is there no requirement for the interval between the first call to bt_conn_le_param_update() and the second call?
Is there no requirement for the interval between the first call to bt_conn_le_param_update() and the second call?
You cannot initiate a new control procedure whiel another you initiated is actice. Perhaps that is what happened here? If you do, bt_conn_le_param_update() will return an error. I expect this is what happened here.
An error was indeed returned
What does "You cannot initiate a new control procedure whiel another you initiated is actice." mean? I don't really understand
Hi,
The warning is regarding HCI command 0x2013, which is SDC_HCI_OPCODE_CMD_LE_CONN_UPDATE, so that makes sense. I do not seee the full log though nor do I know which parameters you are tryign to udpate to, but it seems the operation is successfull?
Regarding parallell procedures, I means more than one link layer (LL) procedure at one time. That is not allowed per the Bluetooth specification.
Here I call bt_conn_le_param_update() twice, but only the second time to start the rental, the previous call does not work, the first call is to set the connection interval smaller, faster data synchronization, the second call is to set the connection interval larger, which is lower power consumption