BLE_GAP_SetDefaultPhy
C
uint16_t BLE_GAP_SetDefaultPhy(uint8_t txPhys, uint8_t rxPhys);
Description
Specifies the preferred values for the transmitter PHY and receiver PHY to be used for all subsequent connections.
Parameters
Parameter | Description |
---|---|
[in] txPhys | Transmitter PHYs. Indicates the preferred transmitter PHYs. Refer to PHY options for transmission and reception for possible values. |
[in] rxPhys | Receiver PHYs. Indicates the preferred receiver PHYs. Refer to PHY options for transmission and reception for possible values. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully specifies the preferred PHY values for future connections. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_INVALID_PARA | The parameters provided are invalid. |