CMD Format
SOP:Start of Packet
CMD:Command ID
LEN:Length
DATA:DATA
FCS:Frame check sequence
USART Command
CMD_SET_PAN_ID
Usage
Output format
Setting PAN-ID:0x4567
CMD_SET_CHANNEL
Usage
Output format
Channel List
Setting Chanel:0x19
Usage
Output format
RESET NWK
CMD_GET_PANID_INFO
Usage
Output format
Channel List
Device Type
Get PAN ID Info
CMD_GET_SHORT_ADDRESS
Usage
Output format
Get Short Address Info ( Device type is Coordinator )
Get Short Address Info ( Device type is Router )
CMD_DEVICE_TYPE
Usage
Output format
Device Type
Get Device Type ( Coordinator )
Get Device Type ( Router)
沒有留言:
張貼留言