7. Technical Advantages 8. Typical Usecases 1.1 Brief Introduction MD-649 is a 4G DTU produced by eTung in 2015. Compared with traditional GPRS DTU, MD-649 works in 4G network, and has capability of high-speed data transfer. It completely supports China Mobile,...
Page 4
MD-649 User Manual It can connect with mServer, and other kinds of data center software as well; It can be used without shell; the size without shell is smaller, and there are preserved installation holes that can be easily integrated into customer’s device;...
MD-649 User Manual 1.2 Product Outlook ③ Antenna pedestal ① Serial port RS232/48 5 ⑧ installation ② DC power handle interface Figure 1-1: MD-649 side view 1 ⑤ SIM card holder ⑦ indicator light green, red ⑥ button used for eject ing ⑧...
MD-649 User Manual Figure 1-8: MD-649 dimension without shell 1.5 Working Mechanism Figure 1-9: MD-649 working mechanism After configuring IP address (or domain name) and port of the data center in MD-649, it dials in 4G wireless network to access the internet; then it establishes connection to the preconfigured IP address and port(i.e.
MD-649 User Manual Stability Host CPU: 32-bit ARM processor Built-in soft/hard watch dog Built-in TCP/IP protocol stack Data Center Support domain name Compatible with various data center software Configuration Configurable via serial port ...
MD-649 User Manual 1.7 Technical Advantages eTung DTU products are advanced not only from hardware industrialization, design rationality, software convenience, and usage flexibility, but also from working stability. Its technical advantages are easy to see: Built-in industry-level 4G module with data transfer more stable and efficient;...
MD-649 User Manual 1.8 Typical Usecases Figure 1-10: MD-649 multiple points to data center Figure 1-11: MD-649 one point to multiple data centers...
Page 13
MD-649 User Manual Figure 1-12: MD-649 implements point to point via terminal mapping within mServer(serial to serial port) Figure 1-13: MD-649 implements point to point with embedded data center (serial to serial port)
Therefore, although the serial port type is set to RS485, when connecting with PC to configure it, use 9-pin 9-hole serial line directly and RS485-RS232 converter is not needed. Find and run MD-649 dedicated configuration executable DTUcfg.exe either from the CD or by downloading from eTung...
Page 15
"Data center port (8080)", input mServer's listening port "8080" (or press Enter directly to use the default value in the bracket. This port is the public port of eTung server, input your own port if you have built your own server or leased a dedicated port).
Page 16
If eTung chuankoutong eYun version is used, configure the applied username in MD-649. If you have built your own server, or you do not use eTung chuankoutong eYun version, you do not need to configure this item. Figure 2-3: Configuring username ...
MD-649 User Manual Figure 2-4: Configuration complete Attention: I n reality, MD - 639 connects user devices via serial port, so serial p ort attributes and type need to be configured in order to match user device serial port. 2.2 Configuration Parameters Each configuration menu item of MD-649 includes the following items (those with * are mandatory), details are in the following: *Order number: includes digit and right bracket, for example...
Page 18
MD-649 User Manual For example: digit bit [5/6/7/8] Order number Name and unit Optional values Default value Below are the configuration items with MD-649 V3.0.4. Different versions may have different configuration items. Configuration Menu Item Description Restore to default[Y/N](N) Configure to restore to default or 1) Data center domain or IP address Configure data center IP address or (eyun.etungtech.com)
Page 19
MD-649 User Manual information. If Y, DTU will output from serial port "+STATUS:1\r\n" after connection "+STATUS:0\r\n" after disconnection. 10) DNS Server() Configure DNS server, blank by default and DTU will automatically acquire server from operator network. If DNS server need to be specified manually, at most two DNS server IPs can be specified with colon as separator, for example: 8.8.8.8,9.9.9.9.
Page 20
MD-649 User Manual Connection mode[1:always Configure connection mode. Always online/2:wakeup online/3:online online means after power on it upon request] keeps connected with data center, auto connects after disconnection; Wakeup online means it does not connects after power on, and dials and connect when receiving wakeup SMS or wakeup call(wakeup phone number and wakeup password need to...
MD-649 User Manual 17) Heart-beat interval in seconds Configure heart-beat interval in seconds. Heart-beat timeout is 3 (60) times of heart-beat interval. 18) Baud rate bps(9600) Configure baud rate on serial port when transferring data. 19) Data bits [5/6/7/8] (8) Configure data bits on serial port when transferring data.
MD-649 User Manual Figure 2-5: Restore to default 2.4 Firmware Update Ask eTung for firmware software According to the description of "Configuring MD-649", connect MD-649 with PC via 9-pin 9-hole serial line, run MD-649 configuration executable, and set the serial port used to update MD-649.
Page 23
MD-649 User Manual Figure 2-6: Select file to update Click "Start Update", then power on the device quickly within 30 seconds. Figure 2-7: Firmware Update After update is complete the device will reboot automatically, then in the user interface a prompt "Update finished" will appear.
MD-649 User Manual Figure 2-8: Update complete 2.5 Remote Configurations SMS or AT commands can be used on MD-649 to remotely modify the IP address and port of the data center. Details are described below: 1.Use SMS to remotely modify IP address and port within MD-649 1) In order to use SMS to modify IP and port within MD-649, the MD-649 must be offline, because MD-649 can detect whether SMSs for configurations are received or not only...
Page 25
MD-649 User Manual password allow only digits or characters in English or the combination of them. Figure 2-9: Set SMS password 2. Use AT commands to remotely modify IP address and port within MD-649 1) In order to use AT commands to modify IP and port within MD-649, the MD-649 must appear online in mServer.
Page 26
MD-649 User Manual Figure 2-10: Remote configuration with AT commands In MD-649 2.8.8 and higher versions, some parameters such as baud rate can also be configured remotely. Details are described below: 1. Support "AT+SERPORT=baud rate,data bit,parity checking,stopping bit,flow control", to change attributes of the serial port.
Page 27
MD-649 User Manual checking,stopping bit,flow control", to change attributes of the serial port. Details are: Baud rate: 300 - 115200 Data bit: 5,6,7,8 Parity checking: N(No checking), E(Even checking), O(Odd checking), M(Mark checking), S(Spacing checking) Stopping bit: 1, 1.5, 2 Flow control: N(No), H(Hard), S(Soft) To change baud rate only, the command can be simplified to "AT+ SERPORT =baud rate", for example "AT+ SERPORT...
Page 28
MD-649 User Manual 9. AT+SET=n,value Set the value of item with order number n 10. AT+GET=n Check the value of item with order number n, n=0 means to get values of all items. 11. AT+RESTORE Restore to default 12. AT+CSQ Check signal quality.
Page 29
MD-649 User Manual The contents of SMS must be characters in English and digits in single byte, and cannot be double byte. 1. AT+RESTORE Restore to default, this is mainly used when the SMS password was changed. 2. 1234;value1;value2;value3 You can write as many items as needed. If some item does not need to change, write two continuous semi-colons, and if some item need clean, write a space.
Page 30
MD-649 User Manual AT+WN=3gnet (configure only APN and keep other parameters unchanged) The AT commands supported with SMS configuration are as follows: 1. AT+SET=n,value Set the value of item with order number n 2. AT+WN=apn,user,passwd Configure parameters related to dialling, with reply OK or ERROR.
Page 31
MD-649 User Manual data_bits: data bits (5/6/7/8) parity: parity checking (N: None/E: Even/O: Odd) stop_bits: stop bits (1/2) type: serial port type, for DTU that supports RS232 and RS485 at the same time, configure this parameter to set serial port type(RS232/RS485) 6.
Page 32
MD-649 User Manual OK;IMEI;version;signal strength;net mode...
Step 1: Build mServer data center 1) Find mServer installation package either from the CD or by downloading from eTung website (http://www.etungtech.com.cn), then install and run mServer in a PC that can access internet. In this usecase, the PC accesses internet via leased line, and domain is www.chuankoutong.com.
Page 34
MD-649 User Manual MD-649. In this usecase, select TCP for link mode, and 8080 for listening port, and click "OK": Figure Appendix 1-2: Configuring mServer listening port Items description in "System Settings" "DTU Connection Settings" part: used to set listening port and protocol that MD-649 connects to.
Page 35
MD-649 User Manual it to "TCP". Please make sure to set the same communication protocol in MD-649 as in mServer if you want to change it. 2) Listening port: set the port that MD-649 uses to establish connection to mServer. In case of single host accessing the internet, the port set in MD-649 is the listening port in mServer.
Page 36
MD-649 User Manual Step 3: Communication between MD-649 and mServer After configuration and reboot, MD-649 will automatically connect to mServer data center. The green indicator light will flash slowly and then quickly, and at last it will light all the time, then this means MD-649 has connected to the data center.
Page 37
MD-649 User Manual Figure Appendix 1-4: Map virtual serial port...
MD-649 User Manual Appendix 2: Usecase of Vircom Testing with eYun platform Step 1: Apply eYun account Access website http://eyun.etungtech.com, to register a vircom eYun account. Email address must be input correctly, and after registration you will receive an email with a link in it and you can click the link to activate the account.
Page 39
Attention: if the terminal is not shown in the terminal list that could be added, you need to add the terminal manually based on the description of chapter 2.1 Configuring MD-649, to configure username on the terminal, or: you can contact eTung technical support to solve the problem.
Page 40
MD-649 User Manual Figure Appendix 2-3: Add terminal Step 3: Set terminal’s serial port properties and serial port type In vircom, we can check and modify the terminal’s serial port properties and serial port type. By default, the serial port type is...
Page 41
MD-649 User Manual RS232, and if the device that connects to DTU has RS485 serial port, modify DTU’s serial port type to RS485 so that they are the same. The procedure is shown below: right click the terminal, and choose “Set DTU COM type”; the terminal’s serial port type is shown in the popped-up dialog, we can change the value upon request and then click “Set”.
Page 42
MD-649 User Manual popped-up dialog, we can change the values upon request and then click “Set”. There is no need to reboot the terminal to apply the change, it will be effective immediately. The properties that can be configured include baud rate, data bits, parity and stop bits.
Page 43
MD-649 User Manual serial port with relevant software to communicate with the devices that connect to MD-649. Figure Appendix 2-6: Map virtual serial port in vircom...
MD-649 User Manual Appendix 3: Building Data Center Based on the different ways of data center accessing the internet, the IP address (or domain) and port to be configured in MD-649 is different as well. We briefly describe the mostly used accessing ways below. 1) Single Host Accessing internet via ADSL Figure Appendix 3-1: Single host accessing internet via ADSL Configuring IP or domain: in this case the IP address of the data center...
Page 45
MD-649 User Manual Figure Appendix 3-2: Accessing internet via ADSL+LAN Configuring IP or domain: in this case, the data center IP address to be configured in MD-649 is the router's WAN IP address; this IP address can be checked by logging in and checking the status of the router, or by accessing http://www.ip138.com.
Page 46
MD-649 User Manual Configuring IP or domain: in this case, the data center IP address to be configured is the static private IP address. Configuring port: the default listening port in mServer is 9000, and it can be defined by yourself upon request, then configure the mServer listening port in MD-649 accordingly.
Appendix 4: DTU’s AT Commands at Serial Port eTung’s DTU supports sending AT commands directly via serial port, to query status, modify parameters, send/receive SMSs, etc. The AT commands at serial port that DTU supports may be different according to different model and different version of firmware.
Page 48
Use case of AT commands at serial port —— configure DTU with customer’s serial device Normally we use “dtucfg” software provided by eTung to configure DTU, as described in “2.1 Configurations”. However, if the customer’s serial device connecting with DTU is programmable, we can also use the AT commands described above, then the device can send AT commands to configure DTU.
Page 49
MD-649 User Manual AT+SET=1,eyun.etungtech.com\r AT+SET=2,8080\r AT+SET=5,UDP\r AT+EXITCFG\r With MD-649 V3.0.4 as an example, the configuration items’ order, description and default values are shown in the table below. Different versions may have different definitions, so it needs confirmation. Order Description Default Value Data center domain/IP eyun.etungtech.com Data center port...
MD-649 User Manual Appendix 5: DTU SMS Mode and SMS Data Format By default DTU is in data transfer mode. It can be switched to SMS mode by sending AT command on DTU serial port. In SMS mode, it can be used to send short messages via AT commands, but it cannot transfer data in this mode.
Page 51
MD-649 User Manual 2) General AT command for sending short messages via serial port: AT+SMS=<target number>,<encoding format>,<data length>,<data>\r DTU will send the following reply: \r\nOK\r\n \r\nERROR\r\n Target Number:Phone number to receive the short message Encoding Format: 1: ASCII encoding, 2: 8bit encoding, 3: Unicode encoding Data Length:The actual data length behind Data: The data to be sent, each byte should be formatted to a 2-byte hexadecimal number, for instance “1234”...
Page 52
MD-649 User Manual “1234” received from 13812345678 in 8bit encoding: \r\n+SMS:13812345678,2,4,31323334\r\n “你好” received from 13812345678 in Unicode encoding: \r\n+SMS:13812345678,3,4,4F60597D\r\n If the received SMS has more than one message, the format is as below: \r\n+SMSL:<identifier>,<total>,<sequence number>,<phone number>,<encoding format>,<data length>,<data>\r\n The messages with the same identifier can be assembled into one long SMS.
Need help?
Do you have a question about the MD-649 DTU and is the answer not in the manual?
Questions and answers