Copyright ©2012–2020,
Chengdu Ebyte Electronic Technology Co.,Ltd
18
3.9.4
InstructionsforAddingTokeninCOAPMessage
AT Command
Respond
AT+ADDTOKEN =<token>/r/n
OK
AT+ADDTOKEN /r/n
OK
<token>
◆
<token>, and the data format is HEX.
The parameter to be entered in the column is 0x7A5B69EF
AT+ADDTOKEN=7A5B69EF
Read instruction
AT+ADDTOKEN
AT+ADDTOKEN
7A5B69EF
3.9.5
Removetheoptionortokeninstructionfromthemessage
AT Command
Respond
AT+COAPMINUS=<token>,<option>/r/n
OK
◆
<token> =1, remove the token in the message
◆
<option>=1, remove the option in the message
3.9.6
Send command of COAP without payload message
AT Command
Respond
AT+COAPHEADER =<type>,<code>/r/n
OK
AT+COAPHEADER /r/n
OK
type:<token>,code:<code>
◆
<type>, Configure the type of the sent message.
Type=0, CON frame, a request that needs to be acknowledged, if a con request is sent, then the other party must respond.
Type=1, NON frame, a request that does not need to be acknowledged, if a non request is sent, then the other party does not have to respond
Type=2, ACK frame, acknowledgement message, response to the con message.
Type=3, RST frame, Reset message, when the message received by the receiver contains an error, the receiver parses the message or no
longer cares what the sender sent, then the reset message will be sent.
Содержание EA01-D
Страница 1: ...0 IOT SerialModule EA01 D...