BLE_GAP_ReadPhy

C

uint16_t BLE_GAP_ReadPhy(uint16_t connHandle, uint8_t *p_txPhy, uint8_t *p_rxPhy);

Description

Reads the current transmitter PHY and receiver PHY on the specified connection.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] p_txPhyPointer to a buffer where the current transmitter PHY will be stored. Refer to PHY types for possible PHY types.
[in] p_rxPhyPointer to a buffer where the current receiver PHY will be stored. Refer to PHY types for possible PHY types.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully reads the current transmitter and receiver PHY.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_UNKNOWN_CONN_IDUnknown connection identifier.