Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W02DTU User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
34
Return: OneNET status:ON P_ID:97562 AU_Info:02 S_Name:ebyte_lua
31
AT+ONENETADD OneNET device receiving device added
AT+ONENETADD=<index>,<deviceID>,<
Apikey>
Parameter Description:
Index: Add the device to the group index number (less than 20)
deviceID: OneNET device ID of the receiving device
Apikey: OneNET APIkey of the receiving device
Response:
Add Success
Example: AT+ONENETADD=0,17502768,pyZVOnnBGhT=7X0Bl6oqoaEdh2I=
Return: Add Success
32
AT+ONENETDEL Delete the current OneNET receiving device, after deletion, the corresponding device
will not be able to receive the data sent by the current device
AT+ONENETDEL=<index>
Parameter Description:
Index: Add the device to the group index number (less than 20)
Response:
Delete Success
Example: AT+ONENETDEL=0
Return: Delete Success
33
AT+ONENETSEL Query current index number receiving device information
AT+ONENETSEL=<index>
Parameter Description:
Index: Add the device to the group index number (less than 20)
Response:
Deviece ID: 17502768 APIKey:
pyZVOnnBGhT=7X0Bl6oqoaEdh2I= (device exists)
or Deviece ID: - APIKey: - (no information for this index)
Instance: AT+ONENETSEL=0
Return: Deviece ID: 17502768 APIKey: pyZVOnnBGhT=7X0Bl6oqoaEdh2I=
34
AT+ONENETIPPORT Configure OneNE communication server address (users are advised not to change
it arbitrarily)
AT+ONENETIPPORT=< RemoteIP >,<
RemotePort >
Parameter Description:
RemoteIP: IP address
RemotePort: Communication server port
Response:
OneNET RemoteIpPort set OK
Example: AT+ONENETIPPORT=183.230.40.33,80
Return: OneNET RemoteIpPort set OK
35
AT+ONENETIPPORT=? Query OneNET communication server address
AT+ONENETIPPORT=
?
Parameter Description:
No parameter
Response:
OneNET RemoteIP:183.230.40.33 RemotePort:80
Example: AT+ONENETIPPORT=?
Return: OneNET RemoteIP:183.230.40.33 RemotePort:80
36
AT+KEEPALIVE Configure the heartbeat packet information, when the device is a TCP client, no data
is sent or received during the heartbeat cycle, the device will send the specified heartbeat packet to the
server with which the connection is currently established. The content can only be Hex data (default is 01
02 03 04 05)
AT+KEEPALIVE=<ON/OFF>,<Period>,<l
en><Info>
Parameter description:
<ON/OFF>:ON(ON) OFF(OFF) If OFF, the following
parameters are invalid (factory default is OFF)
< Period >:heartbeat period in seconds (1~300)
<Len>: the length of the heartbeat packet (1~31)
<Info>: heartbeat packet content (length less than 32
hexadecimal digits)
Response:
Keepalive set OK
Example: AT+KEEPALIVE=ON,50,5,0011223344 or AT+KEEPALIVE=OFF
Return: Keepalive set OK