1.2.2.1.1.4.62 BLE_GAP_SetPhy

C

uint16_t BLE_GAP_SetPhy(uint16_t connHandle, uint8_t txPhys, uint8_t rxPhys, uint8_t phyOptions);

Description

Set the PHY preferences for the specified connection.

Note

The Controller might not be able to make the change. Event will generate if one of the phy changes.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully set the PHY preferences for the specified connection.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.
MBA_RES_UNKNOWN_CONN_IDUnknown connection identifier.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed.