hengdu Ebyte Electronic Technology Co., Ltd.
EA01-SG UserManual
Copyright ©2012–2020
,C
hengdu Ebyte Electronic Technology Co., Ltd
18
AT+COAPADDR=<ADDR>,<PORT>,<LOCAL_PORT>,<ENA
BLE><NEWLINE>
OK
AT+COAPADDR<NEWLINE>
OK
ADDRESS: <ADDR>,PORT: <PORT>
,
LOCAL PORT:<
LOCAL_PORT >,ENABLE<ENABLE>
Parameter Configuration Instructions
:
<Addr>
,
Support IP AddressOrDomainName, TheMaximumByteLengthIs50Bytes.
。
<Port>
,
The Port Of The Server.
。
<Local_Port>
,
The Local Port
。
<Enable>
,
COAP Enabled, 0 Means COAP Off; 1 Means COAP On.
。
Note: When The Power Loss Needs To Be Saved, The Input AT + NRB Instruction Will Save The Parameters Into The Flash, And
Automatically Restart The Effect.
3.15.3
ADD OPTION COMMAND IN COAP MESSAGE
AT ORDER
RESPONSE
AT+ADDOPTION=<INDEX>,<TYPE>,<VALUE><NEWLINE> OK
AT+ADDOPTION<NEWLINE>
OK
INDEX
:
<INDEX>,TYPE
:
<TYPE>,VALUE
:
<VALUE>
Parameter Configuration Instructions
:
<Index>
,
TheSerialNumberOfTheOptionOption,WithTheRangeFrom0 To7,CanBeConfiguredWithUpTo8 Options,WithaStorage
SpaceOf1,024Bytes.
。
<Type>
,
TheNumberOfTheOptionOption,AsShownInTheFigureBelow
:
As In Type=11, It Indicates That The Option Resource Type Is Uri-Path.
<Value>
,
Specific Content Of The Option, Such As Uri-Path Path Option Specific Value Is \ Temperature, If
The Value DATE Type Is Uint, DATE Range 0-4294967295 Range, DATE Length Is Only 0-4 Bytes.
You Can Configure Multiple Options, Including a Maximum Of Eight, ForExample, Enter Instructions In Order Below
:
AT+ADDOPTION=0,3,IOT.ECLIPSE.ORG
Содержание EA01-SG
Страница 1: ...EA01 SG User Manual NB IoT Module...