background image

4G_2G DTU Products Function                                            

 

http://www.iotworkshop.com

 

- 1 - 

4G_2G DTU 

Products Function 

V 1.8

 

This document applies to the following series of products. Please refer to the 

product manual for product hardware instructions.

 

4G Products

 

 

HF2411 

 

Elfin-EG40 

Elfin-EG41 

 

Gport-G43 

2G Products

 

 

HF2111A 

Содержание Elfin-EG10

Страница 1: ...kshop com 1 4G_2G DTU Products Function V 1 8 This document applies to the following series of products Please refer to the product manual for product hardware instructions 4G Products HF2411 Elfin EG...

Страница 2: ...4G_2G DTU Products Function http www iotworkshop com 2 Elfin EG10 Elfin EG11 Gport G10 Gport G11 Gport G12...

Страница 3: ...19 1 7 Serial Frame Scheme 20 1 8 Firmware Updates 20 1 9 IOTService Software 22 1 9 1 IOTService Serial Port Configuration 22 1 9 2 IOTService Network Mode Configuration 24 1 10 Modbus Protocol 26 1...

Страница 4: ...2 24 AT DATA 41 2 4 2 25 AT NREGEN 42 2 4 2 26 AT NREGDT 42 2 4 2 27 AT NREGSND 43 2 4 2 28 AT HEART 43 2 4 2 29 AT HTPTP 44 2 4 2 30 AT HTPURL 44 2 4 2 31 AT HTPHEAD 44 2 4 2 32 AT WEBSOCKET 44 2 4 2...

Страница 5: ...4G_2G DTU Products Function http www iotworkshop com 5 2 4 2 52 AT NDBGL 50 2 4 2 53 AT SCRIPT 50...

Страница 6: ...nfig 17 Figure 17 Transparent Transmission Mode Registration Packet Function Transmission 18 Figure 18 Transparent Transmission Mode Registration Package Function Example 18 Figure 19 Transparent Tran...

Страница 7: ...3 07 25 2018 Add EG model V 1 4 11 28 2018 Add HF2411 HF2111A type Add AT HTPXX series command V 1 5 12 10 2018 Add AT CMDPW AT TCPTO command V 1 6 12 19 2018 Add AT GOTA AT GVER command Add Gport G43...

Страница 8: ...twork communication Transmit by TCP the data can be ensured without loss or duplication and reach the communication destination address accurately And transmit by UDP the data can be transmitted to th...

Страница 9: ...t of each other Each socket supports TCP client or UDP client For TCP connections users can set the communication method for long or short connections A short connection means that the connection is i...

Страница 10: ...rom short message AT SMSID command to set SMS parameters Figure 5 Transparent Transmission Mode Registration Packet Function Transmission 1 2 3 SOCKA HTTP Mode SOCKA channel support HTTP protocol Unde...

Страница 11: ...the received UART packet AAA will put after the HTTP path auto add between path and parameters for POST request packet is put in the content auto add Content Length header information Product will se...

Страница 12: ...Example Product will send the below data to HTTP Server when UART receive pppp data for POST request POST 1111 HTTP 1 1 Host 192 168 83 107 Content Length 4 pppp Product will output DDDD when get res...

Страница 13: ...2G DTU Products Function http www iotworkshop com 13 Figure 8 HTTP POST Request Example The HTTP header information is configured by IOTService tool as follows Figure 9 IOTService UART Set HTTP Parame...

Страница 14: ...OTService or Webpage to config When in WebSocket Mode device side will auto add WebSocket protocol header to server when receive UART data And remove the protocol header and send the content to UART M...

Страница 15: ...4G_2G DTU Products Function http www iotworkshop com 15 Figure 12 IOTService Tools UART Config Figure 13 IOTService Network Config...

Страница 16: ...QTT Client send data to MQTT Server Use IOTService or Webpage to config More MQTT Case refer to following link http www hi flying com download center 1 application notes 1 download item industry produ...

Страница 17: ...transmission mode the registration package function can be enabled When the connection is established TCP only or the serial port data is received the content of the registration package is automatica...

Страница 18: ...dically sends heartbeat data to the server or the serial port For details refer to the AT HEART command The main purpose of sending to the network is to keep the connection with the server and to make...

Страница 19: ...e to the serial port The data coming from the serial port will be copied into multiple copies and forwarded on each TCP link The specific operation is as follows Figure 20 Multi Socket Communication T...

Страница 20: ...er than a certain value then one frame is considered to have ended otherwise the data is received until the buffer byte 512 bytes The module determines that the Socket channel is forwarded after the e...

Страница 21: ...4G_2G DTU Products Function http www iotworkshop com 21 Figure 23 IOTService Serial Port Update Figure 24 IOTService Network MethodUpgrade...

Страница 22: ...tion this will consume a certain amount of traffic If it is enabled 24 hours it can be configured at any time and the traffic consumption is about 30MB Month you can choose to turn off this feature or...

Страница 23: ...eters and the sidebar will display the AT command of the reading process 4 After reading the interface displays the working status of the current module If you need to modify the parameters click Conf...

Страница 24: ...ite http bridge iotworkshop com to register for an account or enter through High Flying s official website 2 After the registration you can get the UserId for the device and the ServiceId for the IOTS...

Страница 25: ...s to the tool for binding the MAC address can be obtained through AT WSMAC usually we use back 12 characters of IMEI It is recommended to use the AT IOTUID command to write the UserId obtained on the...

Страница 26: ...n http www iotworkshop com 26 7 Click Edit to modify the device operating parameters 1 10 Modbus Protocol DTU supports ModbusRTU to ModbusTCP for easy connection to Modbus slave devices The Modbus pro...

Страница 27: ...tual Serial Port Function The virtual serial port function requires the device to enable the IOTBridge service which requires a certain amount of traffic The virtual serial port supports the serial po...

Страница 28: ...T industrial device When download the script in to the industrial device the following functions can be achieved Automatically send data to UART or Socket at regular time which can be recognized as Mo...

Страница 29: ...4G_2G DTU Products Function http www iotworkshop com 29 Figure 28 Scirpt Funciton...

Страница 30: ...are configured as follows Figure 29 Default UART Parameters In the command line mode the user can use the UART port to set the module through the AT command Notes The AT command debugging tool recomm...

Страница 31: ...s are as follows In the command mode the module can be set or queried by the AT command under the UART port and the operation can be restarted or the AT command can be used to return to the transparen...

Страница 32: ...n be programmed As shown in the figure below through the SecureCRT tool AT H is a help command that lists all the instructions and instructions some commands are not implemented which is subject to th...

Страница 33: ...portion remains unchanged Response Massage RSP op para 1 para 2 para 3 para 4 CR LF CR LF Response message prefix RSP Respons string including ok Indicate success ERR Indicate failure op para n Return...

Страница 34: ...r Display From Which Communication Channel the Data Comes From and the Setting Will Take Effect After Reset NETPID Set Query the Communication Channel Number Tag Value DATA Set Query Channel Send Rece...

Страница 35: ...dule Users Defined Name for Display in the Configuration Tool NDBGL Open Close Debug Information Output SCRIPT HIS script operation 2 4 2 1 AT H Function Help Format AT H CR ok command help CR LF CR L...

Страница 36: ...Function Set Query boot welcome message Format Query Operation AT WEL CR ok message CR LF CR LF Set Operation AT WEL message CR ok CR LF CR LF Parameter message Welcome message default is product typ...

Страница 37: ...ialization finished 2 4 2 9 AT APPVER Function Query custom software version number Format AT APPVER CR ok ver CR LF CR LF Parameter ver Products custom software version number 2 4 2 10 AT RELD Functi...

Страница 38: ...38400 57600 115200 230400 460800 data_bits Date bit default 8 7 8 stop_bits Stop bit default 1 1 2 parity Check bit default NONE NONE EVEN ODD flowctrl Hardware flow control CTSRTS only serial port 1...

Страница 39: ...he set number 1 Enable SMS number update default is 1 If receive SMS from phone it will auto update the number the next received packet will send to this update number number phone number 2 4 2 19 AT...

Страница 40: ...Short connection AT NETP A 1 TCP nat2 iotworkshop com 3006 short 3 2 SOCKA is set to WebSocket MQTT a AT NETP A 1 WEBSOCKET 123 56 240 XX 1883 b AT NETP A 1 MQTT 123 56 240 XX 1883 3 SOCKB is set to U...

Страница 41: ...on channel number tag value in the received data header such as receiving data abc and the actual serial port output SOCKA abc Under serial port transmission mode user must increase the communication...

Страница 42: ...ter id Communication channel number including the following parameters A Socket A channel B Socket B channel C Socket C channel status Status value including the following parameter on Enable off Clos...

Страница 43: ...2343 0x00 0x01 0x02 0x03 AT NREGDT A IMEI 00 01 02 03 2 4 2 27 AT NREGSND Function Set Query the Transmission Method of the Communication Channel Number Registration Package Format Query Operation AT...

Страница 44: ...d version Only valid for Socket A for HTTP mode setting will take effect after reset Format Query Operation AT HTPURL CR ok path version CR LF CR LF Set Operation AT HTPURL path version CR ok CR LF CR...

Страница 45: ...mode setting will take effect after reset Format Query Operation AT MQTOPIC CR ok publish subscribe CR LF CR LF Set Operation AT MQTOPIC publish subscribe CR ok CR LF CR LF Parameter publish publish...

Страница 46: ...annel The positioning information reporting priority is prioritized by GPS positioning When the GPS is not located the manual input is subject to the standard If there is no manual input the base stat...

Страница 47: ...rameter domain_name The domain name that needs to be queried for the IP address 2 4 2 40 AT PING Function Query Whether the Address is Reachable Format Query Operation AT PING IP CR ok value CR LF CR...

Страница 48: ...ode length is 20 bytes 2 4 2 44 AT IMEI Function Query module IMEI code Format Query Operation AT IMEI CR ok code CR LF CR LF Parameter code IME code length is 15 bytes 2 4 2 45 AT IMSI Function Query...

Страница 49: ...me CR ok CR LF CR LF Parameter status Enable to disable IOTBridge function on Enable default on off Disable active Temporarily turn on the IOTBridge function and do not save it to Flash start Starting...

Страница 50: ...utput Format Query Operation AT NDBGL CR ok debug_level uart_num CR LF CR LF Set Operation AT NDBGL debug_level uart_num CR ok CR LF CR LF Parameter debug_level Debug information output level 0 Close...

Страница 51: ...4G_2G DTU Products Function http www iotworkshop com 51 Parameter del Delete HIS script...

Отзывы: