background image

Star Network Modem   

 

                                                                                                                                                            E70-DTU(433NW30-ETH)_User Manual

 

 

Chengdu Ebyte Electronic Technology Co., Ltd. 

       

                                                                                                                                                             

26

 

7.2 AT command error code 

Error code 

Instructions

 

-1 

Invalid command format 

-2 

valid command format 

-3 

Invalid operator 

-4 

Invalid parameters 

-5 

Operation not allowed 

 

Figure 30 AT instructions 

 

7.3 AT command 

When the serial port enters AT mode, it needs to open the serial port assistant, set the serial port (default parameter) baud 

rate 115200, data bit 8 bit, stop bit 1 bit, open the serial port, input "+++" without carriage return. All parameter settings will 
reply "\r\n+OK\r\n". 

 

 

Enters” +++” into AT Command

 

+++ 

Parameter Description: 
Null 
Response: 
Enter AT Mode 

Example

+++ 

Note: 1. The AT command can be used only after entering the AT command mode 

    2. After entering the AT command mode, the AT command mode can be used again only after exiting the AT command 

Summary of Contents for 433NW30-ETH

Page 1: ...s manual may be modified based on product upgrade please refer to the latest version All rights to interpret and modify this manual belong to Chengdu Ebyte Electronic Technology Co Ltd Version Date Description Issued by 1 00 2018 03 29 Initial version huaa ...

Page 2: ...th M0 32 bit processor with fast operating speed and high efficiency It has four communication mechanisms network rate adaptive maximum support 100M full duplex TCP Server TCP Client UDP Server and UDP Client 1 Features Use PC to configure parameters Support TCP and UDP In coordinator mode support broadcast transmission short address transmission and long address transmission Support multi salve s...

Page 3: ...ME RESTART 8 5 5 TCP MULTI CONNECTION FUNCTION 9 5 6 CLEARING CACHED DATA 9 5 7 LINK AND DATA TRANSFER INSTRUCTIONS 9 5 8 RESTORE FACTORY SETTING 9 6 QUICK INSTRUCTIONS 10 6 1 PARAMETER SETTING INSTRUCTIONS 10 6 2 SOCKET INSTRUCTIONS 12 6 2 1 TCP Server instructions 12 6 2 2 TCP Client instructions 14 6 2 3 UDP Server instructions 17 6 2 4 UDP Client instruction 20 6 3 SPECIAL FUNCTION INSTRUCTION...

Page 4: ... ICMP IPV4 10 IP acquisition method Static IP DHCP 11 Domain name resolution Available 12 User configuration PC software configuration AT command configuration 13 Transparent transmission TCP Server TCP Client UDP Server UDP Client 14 Software Parameter configuration software 15 Packaging mechanism 200 bytes packet length 16 TCP Server connection Supports up to 6 TCP connections 16 Operating curre...

Page 5: ...indicators 2 1Pin Description Pin NO Name Function 1 DC Default power supply 8 28V standard 5V version is customizable 2 INTERNET RJ45 interface with network transformer 3 PWR Power LED 4 LINK Receive LED 5 WORK Transmit LED 6 RESET Configuration parameters are restored to factory settings 7 ANT SMA Connector ...

Page 6: ...Star Network Modem E70 DTU 433NW30 ETH _User Manual Chengdu Ebyte Electronic Technology Co Ltd 3 2 2Dimension ...

Page 7: ...ng the IP address It is suitable for scenarios where there is no requirement for IP and no need for correspondence one by one of IP and modules Advantages When connected routers and other devices with DHCP Server can communicate directly and reduce the hassles of setting up IP address gateways and subnet masks Disadvantages When connected LANs without DHCP Server such as computers E70 DTU 433NW30 ...

Page 8: ...hengdu Ebyte Electronic Technology Co Ltd 5 Figure 1 Parameter setting software Figure 2 Parameter setting interface 3 2 DNS server address The DNS server is mainly used to convert the domain name into a network recognizable IP address DNS server address ...

Page 9: ...68 4 1 In DHCP mode the DNS server address is automatically obtained Domain name server address supported by the module can be set 4 Socket characteristics The Socket operating mode of E70 DTU 433NW30 ETH is divided into TCP Client TCP Server UDP Client and UDP Server it can be set with the host computer software the setting interface is as follows Figure 3 Setting interface 4 1 TCP Server charact...

Page 10: ...ally 4 3 UDP Server characteristics 1 UDP Server means that the source IP address is not verified on the basis of normal UDP After each UDP packet is received the target IP is changed to the data source IP and port number when the data is transmitted it will be sent to the IP and port number which was the nearest communication one 2 This mode is normally used for multiple network devices which nee...

Page 11: ... defined data packet defaults to hexadecimal data ASCII code optional and the maximum packet length is 40 bytes 5 3Heartbeat mechanism In the network transparent transmission mode users can make the E70 DTU 433NW30 ETH module send heartbeat packets to the server Heartbeat packets can be sent to the web server or sent to the serial device they cannot run at the same time Network heartbeat pocket Th...

Page 12: ... after power on DATA data indicator light green indicator means sending data blue indicator means receiving data LINK network indicator blue is for Ethernet indicator light green is for wireless network indicator After the radio is connected to the Ethernet the LINK blue indicator light is always on After the wireless is set as the coordinator the LINK green indicator light is always on the wirele...

Page 13: ...erating examples use switch operations and use wired network cards Change the IP address of the computer wired network to a fixed value before use The following operation is 192 168 4 2 After connecting the power supply network cable and antenna use Ebyte netconfig configuration tool select E840 DTU 433NW ETH select IP Address display wireless network card and wired network card to search for devi...

Page 14: ...lick Configure Device to enter the configuration mode RF Settings AT Send click Enter AT to configure the parameters You need to set one device to the Coordinator mode The other devices are set to node mode factory default mode 4 this mode is only applicable to E70 DTU 433NW30 After setting the parameters click Restart device then the parameter setting is valid Figure 6 Parameter setting instructi...

Page 15: ... IP and local port are configured Use the network test tool as shown in Figure 8 to create a connection in client mode The IP address and local port number are the same as the test device As shown in Figure 9 a device that communicates with the wireless network of the device can be used as the monitoring device the monitoring device can be any product of the NW series of the E70 Working Principle ...

Page 16: ...hnology Co Ltd 13 Figure 8 Connection settings 2 If the monitoring device is E70 DTU 433NW30 ETH the user can operate it in the parameter setting software If it is E70 DTU 433NW30 or E70 433NW30S please use the serial port debugging assistant Figure 9 Data transparent transmission ...

Page 17: ... as shown in Figure 10 if use the network test tool the target address must be set to match the computer network card for example wired network card is 192 168 4 2 target port is 8889 As shown in Figure 11 Create Server in the server mode set the local port same to the TCP Client target port Example 8889 Start the server Figure 10 Parameter setting instructions ...

Page 18: ...as follows the network test assistant acts as the server and the TCP client device acts as the client The device in the same wireless network as the TCP client device is used as the monitoring device The server and the client communicate with each other through the Ethernet The terminal is connected to the monitoring device via wireless Figure 12 Data transparent transmission ...

Page 19: ... with the computer IP 8889 Figure 13 Connection settings The two modem of E70 DTU 433NW30 ETH communicate with each other as shown in Figure 14 Working principle The client simulated by the network test tool sends data to the device TCP Server via Ethernet and the TCP Server sends the data to the TCP Client through the wireless network The UDP Client sends the data to the server simulated by the n...

Page 20: ... as shown in Figure 15 set the protocol type to UDP Server static IP address example 192 168 4 22 and local port 12345 Figure 15 Parameter setting instructions 2 Open the network test tool as shown in Figure 16 Create connection select UDP write the target IP static IP address of the UDP server write the port local port of the UDP server connecting using the Ebyte network configuration tool to mon...

Page 21: ...connect E70 DTU 433NW30 RS485 or RS232 to PC open the network configuration software and search for the device The searched device will display the device list Double click the device to be configured in the list and enter the setting interface Set the module to UDP Server mode set the target IP address to 192 168 4 22 set the target port of module to 8882 set the RF parameters click the OK button...

Page 22: ...ftware and set the network debugging assistant protocol type to UDP Server the network debugging assistant s server IP address is set to the module s IP address set the target port of module to 8886 click Connect 3 Enter a string of data in the sending area of network debugging assistant A click Send you will see that network assistant B has received the same data in the sending area of the serial...

Page 23: ...rget port 8889 the target IP should be consistent with the IP address of the computer Figure 20 Parameter setting instructions 2 Open the network test tool as shown in Figure 21 select UDP select the IP the destination IP address of the UDP client write the port the target port of the UDP client open using the Ebyte network configuration tool to monitor the transmitted data Figure 21 Data transpar...

Page 24: ... also possible No matter which one is the coordinator and node between the TCP Server and the TCP Client Figure 22 Parameter setting instructions Figure 23 Data transparent transmission 6 3 Special function instructions 6 3 1 Short connection instructions The TCP short connection function is applied to TCP Client mode After the short connection function is enabled if no data is received at the ser...

Page 25: ...cket mechanisms which are sending MAC when connecting sending user defined data when connecting sending MAC for each packet of data and sending user defined data for each packet of data user defined data defaults to hexadecimal data ascii optional The registration packet is closed by default when you need to use it you can open the network configuration software configuration The user defined data...

Page 26: ...Star Network Modem E70 DTU 433NW30 ETH _User Manual Chengdu Ebyte Electronic Technology Co Ltd 23 Figure 25 Registration packet setting Figure 26 User defined data setting ...

Page 27: ... the reliability of the connection E70 DTU 433NW30 ETH supports two heartbeat packets which are network heartbeat packets and serial heartbeat packets After setting the heartbeat packet type you also need to set the heartbeat period and custom heartbeat packet data Figure 27 Heartbeat packet setting 6 3 3 Overtime restart instructions Figure 28 Overtime restart setting ...

Page 28: ...uration mode after power on the module can be set via UART Sequence from Transparent Transmission Mode to Instruction Mode The serial port device sends to the module continuously After the module receives the 3s timer timeout starts If anyAT command is received within the timeout period it will switch to the configuration mode successfully Note Before the mode was successfully switched any serial ...

Page 29: ...rial port enters AT mode it needs to open the serial port assistant set the serial port default parameter baud rate 115200 data bit 8 bit stop bit 1 bit open the serial port input without carriage return All parameter settings will reply r n OK r n 1 Enters into AT Command Parameter Description Null Response Enter AT Mode Example Note 1 The AT command can be used only after entering the AT command...

Page 30: ...ng working mode reboot valid AT WMCFG Description Gets working mode Response WMCFG 4 AT WMCFG Value Description Value 0 4 0 Coordinator 1 Normal node 2 Dormant Node 3 Sleep mode 4 factory default dial switch control Example AT WMCFG 4 Note 1 After setting a new mode it needs to be reset or power off and restart 6 AT DINFO Get facility information AT DINFO ALLNODE Description Query the short and lo...

Page 31: ...n Gets transport mode configuration Response TMCFG 0 AT TMCFG Value Description Value 0 or 1 0 Long Range mode LRM 1 Standard transmission mode GFSK Example AT TMCFG 0 10 AT PIDCFG Setting Querying PANID configuration reboot valid AT PIDCFG Description Gets PANID configuration Response PIDCFG 65535 AT PIDCFG Value Description Value 0 65535 Example AT PIDCFG 65535 11 AT DMCFG Setting Querying dorma...

Page 32: ...arameter Response UPCFG 0 AT UPCFG Value Description Value 0 2 0 None 1 Odd parity 2 Even parity Example AT UPCFG 0 15 AT PWCFG Setting Querying the power parameter reboot valid AT PWCFG Description Gets the power parameter Response PWCFG 3 AT PWCFG Value Description Value 0 3 0 Polar Altitude 1 High 2 Medium 3 Low Example AT PWCFG 3 16 AT IOCFG Setting Querying the IO parameter AT IOCFG Descripti...

Page 33: ... the node is associated with the coordinator the node information will be saved and the information will still exist after the node is disconnected from the network this mechanism has two advantages 1 When the same node joins the network established by the coordinator the network access speed will be increased 2 After a node enters the network the short address will never change as long as the cur...

Page 34: ...al will be updated based on the upgrade of firmware and hardware please refer to the latest version Please refer to our website for new product information 10 About Us Technical support support cdebyte com Documents and RF Setting download link www cdebyte com en Tel 86 28 61399028 Fax 028 64146160 Web www cdebyte com en Address Innovation Center D347 4 XI XIN Road Chengdu Sichuan China ...

Reviews: