hengdu Ebyte Electronic Technology Co., Ltd.
EA01-SG UserManual
Copyright ©2012–2020
,C
hengdu Ebyte Electronic Technology Co., Ltd
19
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
3.15.4
INSTRUCTIONS FOR ADDING TOKEN IN COAP MESSAGE
AT ORDER
RESPONSE
AT+ADDTOKEN =<TOKEN><NEWLINE>
OK
AT+ADDTOKEN<NEWLINE>
OK
<TOKEN>
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
3.15.5
REMOVE THE OPTIONOR TOKEN INSTRUCTIONS IN THE MESSAGE
AT ORDER
RESPONSE
AT+COAPMINUS=<TOKEN>,<OPTION><NEWLINE>
OK
Parameter Configuration Instructions
:
<Token>=1
,
Remove The Token From The Message
。
<Option>=1
,
Remove From The Message, Option
。
3.15.6
COAP SENDS AN INSTRUCTION WITHOUT A LOAD MESSAGE
AT ORDER
RESPONSE
AT+COAPHEADER =<TYPE>,<CODE><NEWLINE>
OK
AT+COAPHEADER <NEWLINE>
OK
TYPE:<TOKEN>,CODE:<CODE>
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
。
Содержание EA01-SG
Страница 1: ...EA01 SG User Manual NB IoT Module...