Dear Dialogue support,
有一种固件跑步on slave device using DA14580 (sdk5.0.4) to intercept LL_CONNECTION_UPDATE_REQ - trigger a callback by modifying any source code provided in the SDK?
The reason is that we've found under certain circumstances iPhone or Android can issue unprompted LL_CONNECTION_UPDATE_REQ which disrupts the BLE link using unintended connection parameters. We hope to capture this and rectify that.
Can you please please kindly advise how to do it if possible?
Regards,
uta_lc
Device:

Hi uta_lc,
You should be able to get the update parameter indication by catching the GAPC_PARAM_UPDATED_IND, in the app_process_catch_rest_cb() but this indicates that the connection parameters have allready changed by the master. You cannot catch the message before the new parameters are applied to the connection. In the LL_CONNECTION_UPDATE_REQ message there is no negotiation between the master and the Slave, the Slave either accepts the new parameters or drops the link as soon as the the parameters are applied, there is no option for the peripheral to do something else. On the other hand this is possible on the master side, you will be able to catch the L2CAP request of the slave in order to decide if you are going to accept the parameters or not.
Thanks MT_dialog