5.3.4.9 Get PHY Preference (CRPHY[,<hex16>])
Format: CRPHY[,<hex16>]
Use this command to read the current transmitter PHY and receiver PHY on the specified connection. The 16-bit connection handle of the Bluetooth Low Energy link is assigned in the parameter of the command. It returns the PHY type of transmitter and receiver as a value (see the following table).
PHYs Type (HEX) | Description |
---|---|
01 | 1M PHY |
02 | 2M PHY |
03 | Coded PHY |
Example: | CRPHY,0071 | // Read the PHY of TX and RX used for the Bluetooth® Low Energy link for the connection handle 0x0071 |
Response: | CPHY,0071,02,02 | // Current used PHY is 2M in both of RX and RX |
Err | // Syntax error or invalid parameter |
Note: Use this command only when the Bluetooth Low Energy connection(s) exists.