Ebyte EA01-S User Manual page 19

Nb-iot module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd
AT+ADDOPTION read command return
index: 0, type: 3, value: iot.eclipse.org
index: 1, type: 7, value: 5683
index: 2, type: 11, value: \temperature
3.15.4 Commadn for adding token in COAP message
AT command
AT+ADDTOKEN =<token>\r\n
AT+ADDTOKEN \r\n
<token>: The data format is HEX.
For example, the parameter that needs to be entered is 0x7A5B69EF
AT+ADDTOKEN=7A5B69EF
Read command AT+ADDTOKEN
AT+ADDTOKEN
7A5B69EF
3.15.5 Command for removing the option or token in the message
AT command
AT+COAPMINUS=<token>,<option>\r\n
<token> =1, remove the token in the message
<option>=1, remove the option in the message
3.15.6 Command for COAP message without payload
AT command
AT+COAPHEADER =<type>,<code>\r\n
AT+COAPHEADER \r\n
<type>: Configure the type of sent message.
Type=0, CON frame, a request that needs to be confirmed. If a CON request is sent, the other party must respond.
Type=1, NON frame, request that does not need to be confirmed, if the NON request is sent, then the other party does
not need to respond.
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co., Ltd
Response
OK
OK
<token>
Response
OK
Response
OK
OK
type:<token>,code:<code>
EA01-S User Manual
18

Advertisement

Table of Contents
loading

Table of Contents