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
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] p_txPhy | Pointer to a buffer where the current transmitter PHY will be stored. Refer to PHY types for possible PHY types. |
[in] p_rxPhy | Pointer to a buffer where the current receiver PHY will be stored. Refer to PHY types for possible PHY types. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully reads the current transmitter and receiver PHY. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_UNKNOWN_CONN_ID | Unknown connection identifier. |