Ebyte EA01-SG User Manual page 20

Nb-iot module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
AT+ADDOPTION=1,7,5683
AT+ADDOPTION=2,11,\Temperature
Read The Instructions AT+ADDOPTION
Back
Index:0,
Type:3,
Value: IOT.ECLIPSE.ORG
Index:1,
Type:7,
Value: 5683
Index:2,
Type:11,
Value: \Temperature
INSTRUCTIONS FOR ADDING TOKEN IN COAP MESSAGE
3.15.4
AT ORDER
AT+ADDTOKEN =<TOKEN><NEWLINE>
AT+ADDTOKEN<NEWLINE>
Parameter Configuration Instructions:
<Token>,The DATE Format Is Hex。
 For Example, The Parameter To Be Input Is, 0x7A5B69Ef
Enter The Write Instruction AT+ADDTOKEN=7A5B69Ef
Enter The Read Instruction AT+ADDTOKEN
Return Parameter 7A5B69Ef
REMOVE THE OPTION OR TOKEN INSTRUCTIONS IN THE MESSAGE
3.15.5
AT ORDER
AT+COAPMINUS=<TOKEN>,<OPTION><NEWLINE>
Parameter Configuration Instructions:
<Token>=1,Remove The Token From The Message。
<Option>=1,Remove From The Message, Option。
COAP SENDS AN INSTRUCTION WITHOUT A LOAD MESSAGE
3.15.6
AT ORDER
AT+COAPHEADER =<TYPE>,<CODE><NEWLINE>
AT+COAPHEADER <NEWLINE>
Parameter Configuration Instructions:
<Type>,Configure The Type Of Message Sent。
Type=0,Con Frame, The Request Needs To Be Confirmed, If The Con Request Is Sent, Then The Other
Party Must Make a Response;;
Type=1 , Non Frame, No Need To Be Confirmed Request, If The Non Request Is Sent, Then The Other
Party Does Not Have To Respond;
Type=2,ACK Frame, Answer Message, Response Received To The Con Message;
Type=3,RST Frame, Reset Message, When The Recipient Receives The Message Contains An Error, The
Recipient Parses The Message Or No Longer Cares About The Content Sent By The Sender, Then The Reset
Message Is Sent.。
<Code>,Configure The Function Code For Sending Messages。
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co., Ltd
RESPONSE
OK
OK
<TOKEN>
RESPONSE
OK
RESPONSE
OK
OK
TYPE:<TOKEN>,CODE:<CODE>
EA01-SG User Manual
19

Advertisement

Table of Contents
loading

Table of Contents