Mqtt And Server Keepalive Settings; Coap Function Configuration; Coap Address Parameter Configuration - Ebyte EA01-SG User Manual

Nb-iot module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
AT+MQTTSUBTOP<NEWLINE>
 Parameter Configuration Instructions:
<Topicname>:Subscribe To a String Of Content Within 200 Bytes.
<Qos>:Quality Of Service Support Is Qos=0, Qos=1, And Qos=2.
MQTT PUBLISH THEME CONFIGURATION
3.14.6
AT ORDER
AT+MQTTPUBTOP=<TOPICNAME>,<QOS><NEWLINE>
AT+MQTTPUBTOP<NEWLINE>
 Parameter Configuration Instructions:
<Topicname>:Publish The Content Of The Topic In a String Within 200 Bytes.
<Qos>:Quality Of Service Support Qos=0; Qos=1; Qos=2.

MQTT AND SERVER KEEPALIVE SETTINGS

3.14.7
AT ORDER
AT+MQTTALIVE=<ALIVE_TIME><NEWLINE>
AT+MQTTALIVE<NEWLINE>
 Parameter Configuration Instructions:
<Alive_Time>,Server Keep-Alive Time, The Unit Is Seconds, The DATE Range Is 2 Bytes, The Default Is
600 Seconds (10 Minutes).
 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

COAP FUNCTION CONFIGURATION

COAP FUNCTION DECLARATION
3.15.1
Firstly, The AT + COAP ADDR Command Is Used To Configure The Address And Port Of The COAP Server To Open The
COAP Function at The Same Time, And The at + NRB Soft Reset Restart Takes Effect;;
Secondly, The AT + PDUTYPE Instruction Selects The DATE Protocol Type As COAP;;
Thirdly, The AT + ADDOPTION, AT + ADDTOKEN, AND AT + COAPMINUS Instructions Add Or Remove The Option Or
Token In The Message;
Finally, The AT + COAPHEADER Command Sends An Unloaded Message; The ATD * 98 Enters The Transmission Mode To Input
Serial Port Transmission DATE, And The DATE Sent Is Loaded.COAP Message (Serial Port Transmission DATE Is The Payload Of
COAP Message).

COAP ADDRESS PARAMETER CONFIGURATION

3.15.2
AT ORDER
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co., Ltd
OK
QOS:< QOS >
< TOPICNAME>
RESPONSE
OK
OK
QOS:< QOS >
< TOPICNAME>
RESPONSE
OK
OK
KEEP ALIVE TIME:< ALIVE_TIME >
RESPONSE
EA01-SG User Manual
17

Advertisement

Table of Contents
loading

Table of Contents