#include <ble_gap.h>
Update connection parameters.
In the central role this will initiate a Link Layer connection parameter update procedure. This function can be used as a central both to reply to a BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST or to start the procedure unrequested.
In the peripheral role, this will send the corresponding L2CAP request and wait for the central to perform the procedure. Regardless of success or failure, the application will be informed of the result with a BLE_GAP_EVT_CONN_PARAM_UPDATE event.
- Events generated
-
- Relevant Message Sequence Charts
-
- Parameters
-
| [in] | conn_handle | Connection handle. |
| [in] | p_conn_params | Pointer to desired connection parameters. If NULL is provided on a peripheral role, the parameters in the PPCP characteristic of the GAP service will be used instead. This is only allowed if no field in the PPCP characteristic is set to "No specific values indication (0xFFFF)". If NULL is provided on a central role and in response to a BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST, the peripheral request will be rejected. |
- Return values
-