hengdu Ebyte Electronic Technology Co., Ltd.
EA01-SG UserManual
Copyright ©2012–2020
,C
hengdu Ebyte Electronic Technology Co., Ltd
12
3.7
APPLICATION OF WORKLOCK
AT ORDER
RESPONSE
AT+WORKLOCK =<ENABLE><NEWLINE> OK
Since The NB Module Is In Deep Sleep Mode For a Long Time(TheChip IsPoweredOff), In OrderTo
EnsureThat The DATE Interaction Fails Due To Entering Deep Sleep Early During The Application Period,
Input at+WORKLOCK=1 ToAdda WorkLockToPrevent EarlyDeepSleep. AfterTheDATAServiceInteraction
IsCompletedWORKLOCK=0 To Release TheLockModuleIntoDeep Sleep.
The Module Supports Serial Port Wake-Up. Enter at Command To Wake Up. After The at
Command Wakes Up The Module, It Will Automatically Add a Work Lock. Therefore, After Each
Wake-Up And Business Interaction, You Must Enter at+WORKLOCK=0 To Release The Lock To
Enter Deep Sleep.
Note: You Must Also Input at+WORKLOCK=0 To Enter Deep Sleep After Powering On Again.
3.8
SERIAL PORT BAUD REAT SETTING
AT ORDER
RESPONSE
AT+UARTSET =<REAT>,<STORE><NEWLINE>
OK
This Command Is Similar To The "AT+NAT SPEED" Function Of Becquerel. It Is Used To Set
Parameters Such As The Baud REAT Of The at Serial Port. The Default Is 9600 Baud REAT. When
Store Is 0, The Baud REAT Will Take Effect Dynamically. Divide The Set Baud REAT By 2400 And
Save It To Flash And Automatically Restart To Take Effect
。
Parameter Configuration Description: <REAT>: Baud REAT, Currently Supports Up To 115200.
<Store>: Whether To Save, The Default Is Not To Save, That Is To Dynamically Switch The Baud
REAT; If Set To 1, It Will Be Saved To NV And Restarted Immediately; If Set To 0, It Means That
The Dynamic Will Take Effect, And The Other Party Needs To Switch The Baud REAT
Synchronously .
。
3.9
COMMUNICATION PROTOCOL TYPE CONFIGURATION
AT ORDER
RESPONSE
AT+PDUTYPE=<PDU_TYPE><NEWLINE>
OK
AT+PDUTYPE<NEWLINE>
TYPE:<PDU_TYPE>
OK
Currently Supports MQTT, COAP, TCP/UDP And EbyteCloud Protocols.Currently The Module Supports
Two Sockets, Allowing Simultaneous Communication Between TCP/UDP And One Of MQTT, COAP And
EbyteCloud. TCP/UDP Always Opens Socket0, MQTT One Of, COAP, And EbyteOpen Socket1.
。
Configuration Parameter Description: <PDU_type>, 0 Means Based On TCP Or UDP Protocol, 1
Means Based On MQTT Protocol, 2 Means Based On CAOP Protocol, 3 Means Based On EBYTE
Cloud Protocol.
。
NOTE
:
WhenItNeedsToBeSavedAfterPower-Off,NRBCommand To Save The ParametersTo
Flash, And Automatically Restart To Take Effect.
Содержание EA01-SG
Страница 1: ...EA01 SG User Manual NB IoT Module...