hengdu Ebyte Electronic Technology Co., Ltd.
EA01-SG UserManual
Copyright ©2012–2020
,C
hengdu Ebyte Electronic Technology Co., Ltd
20
Code=1
,
The Get Method That Is Used To Obtain a Certain Resource
;
Code=2
,
The Post Method, Used For Creating a Resource
;
Code=3
,
The Put Method That Is Used For Updating a Resource
;
Code=4
,
The Delete Method That Is Used To Delete a Resource
。
For Example, Enter at + COAPHEADER =0,1 To Send a Frame Of a COAP Get Message, Including a Fixed
Header That May Have a Option Or Token.
3.11.7
COAP DATE RECEIVING INSTRUCTIONS
Head Information For Serial Print Received COAP DATE Frame: Response Code: , Type: , TID: To End With Return Newline. , Indicates The
Function Code Of The Server Response; , Indicates The Type Of Received Message; , Indicates The Received Message Of Message Id
(Decimal Format)
;
If There Is a Token In The Received Message, The Serial Print Token: Ends With a Return Newline, And Forms As An Hex String;
If There Is a Option In The Received Message, The Serial Print Option Type: , Value: Ends With The Return Newline.
If Payload Is Included In The Received Message, The Serial Print Payload: Ends With The Return Newline.
。
3.16
EBYTE SPECIAL CLOUD FUNCTION CONFIGURATION
3.16.1
ADDRESS AND PORT CONFIGURATION
AT ORDER
RESPONSE
AT+EIOTADDR=<ADDR>,<PORT><NEWLINE>
OK
AT+EIOTADDR<NEWLINE>
OK
ADDRESS: <ADDR>,PORT: <PORT>
Parameter Configuration Instructions
:
<Addr>
,
IP AddressOrDomainNameWithMaximumByteLengthOf50Bytes.
<Port>
,
The Port Of The Server.
3.16.2
CONFIGURATION FOR ON / OFF AND SN
AT ORDER
RESPONSE
AT+EIOT=<ONOFF>,<KEYSN><NEWLINE>
OK
AT+EIOT<NEWLINE>
OK
ONOFF: <ONOFF>,KEYSN: <KEYSN>
Parameter Configuration Instructions
:
<Onoff>1 Open The Connection Of EBYTE Cloud, 0 Means Close The Connection Of EBYTE Cloud Connection.
<Keysn>
,
The Serial Number Key, AT + CGSN=0 Command Acquisition.
Note: Before Using EBYTE Cloud, at + PDUTYPE=3 Is Configured As The DATE Protocol Type Of EBYTE Cloud.
CHAPTER IV: GNSS-RELATED AT INSTRUCTIONS
4.1
C O N F I G U R E T H E G N S S C O M M A N D PA R A M E T E R S
AT ORDER
RESPONSE