Modbusrtu/Tcp Conversion Function; Mqtt Application Configuration; Mqtt Mode Configuration - Ebyte EA01-SG User Manual

Nb-iot module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
<Type>,0 Indicates That The Package Type Is In Hex Format And 1 Means That The Package Type Is In ASCII Code (String)
Format.
<DATE>,Registration Package DATE Content Sent, The Maximum Length Is Less Than 40, The Default
Value Is "EBYTE Register
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.
THE MODBUSRTU / TCP CONVERSION FUNCTION
3.13
FUNCTION DECLARATION
3.13.1
When The Modbus RTU / TCP Conversion Function Is Enabled, In The Receiving STATE, When The Wireless Received Modbus RTU DATE Format Is
Automatically Converted To Modbus TCP DATE Format Serial Printing, When Receiving The Modbus TCP DATE Format Wirelessly, It Will Be Automatically
ConvertedToTheModbusRTUDATEFormatSerialPortPrinting;InTheEmission STATE,WhenTheSerialPortReceivesTheModbusRTUDATEFormat, It
IsAutomaticallyConverted ToThe ModbusTCPDATEFormatAndSentWirelessly,WhenTheSerialPortReceivesTheModbusTCPDATEFormat, ItWillBe
AutomaticallyConvertedToTheModbusRTU DATEFormatForWirelessTransmission
THE MODBUSRTU / TCP ENABLES THE CONFIGURATION
3.13.2
AT ORDER
AT+MODBUS=<ENABLE>,<ID><NEWLINE>
AT+MODBUS<NEWLINE>
 Parameter Configuration Instructions:
<Enable>,0 Represents The Modbus RTU / TCP Off; 1 Means The Modbus RTU / TCP On. , Indicating The Modbus TCP
Transaction Identity, (0~65535) 2-Byte Length,
 Transaction Id Id Function Description:
In The Modbus TCP To Modbus RTU STATE, When Id=0, Any Modbus TCP
Received Is Converted To The Corresponding RTU Protocol, Otherwise Only The
Transaction Identity Matches Will Convert.
 From Modbus RTU To Modbus TCP, It Indicates The Modbus TCP Transaction Standard
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.14

MQTT APPLICATION CONFIGURATION

MQTT INSTRUCTION SET USAGE INSTRUCTIONS
3.14.1
First,The AT+ MQTTMODEInstruction Configuration MottWorking ModeSoftResetRestartTakes Effect,Secondly,AT+ PDUTYPEConfirms WhetherThe
Transmission Is MQTT In The DATE Frame Type, Secondly, The Three Elements Of The AT + MQTTCONN Configuration Connection, Again The at +
MQTTSUBTOP And at + MQTTPUBTOP Instructions Configure The Subscription And Release Topics, Finally, The ATD * 98 Enters The Transmission Mode
For Business Interaction, Enter + + + Into The at Command Mode After The Interaction, Related Low Power Service Requires Input AT + WORKLOCK=0
CommandReleaseLockIntoDeepSleepMode.

MQTT MODE CONFIGURATION

3.14.2
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co., Ltd
RESPONSE
OK
OK
ENABLE:<ENABLE>,ID:<ID>
EA01-SG User Manual
15

Advertisement

Table of Contents
loading

Table of Contents