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.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully specifies the preferred PHY values for future connections.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAThe parameters provided are invalid.