Page 37 of 195
AT.s LE Command Set v5.1.1b
Copyright © 2002-2021 BlueRadios, Inc.
200 S. Wilcox St., Unit 158 • Castle Rock, CO 80104 • USA • 303-957-1003 •
PHY Update (PHYU)
PHY UPDATE EVENT
Function:
The PHY update event will be sent when a connection PHY update request has been issued.
In the case that the PHY update fails due to the receiving device not supporting one of the requested
PHYs the PHYU event will still occur but the PHYs will stay the same.
Event Format:
PHYU,<Conn_Handle>,<Status>,<RX_PHY>,<TX_PHY>
Event Values:
▪
Conn_Handle:
Connection handle
▪
RX_PHY:
1 = 1M (1Mbps Standard)
2 = 2M (2Mbps High Speed)
4 = LR (125Kbps Coded Long Range)
▪
TX_PHY:
1 = 1M (1Mbps Standard)
2 = 2M (2Mbps High Speed)
4 = LR (125Kbps Coded Long Range)
Example(s):
1. A PHY update to 2M is requested on connection handle 0 and succeeds.
COMMAND:
ATSCPHY,0,2,2
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
EVENT:
<cr_lf>
PHYU,0,2,2
<cr_lf>
2. A PHY update to 2M is requested on connection handle 0 and fails, the PHYs stays at 1M.
COMMAND:
ATSCPHY,0,2,2
<cr>
RESPONSE:
<cr_lf>
OK
<cr_lf>
EVENT:
<cr_lf>
PHYU,0,1,1
<cr_lf>