Download Print this page

Huawei DA3100 User Manual page 8

Evaluation sample

Advertisement

DA3100 Evaluation Sample User Manual V1.2
4. Performance Usage
This section allows users to send data message to their server and decode it. The installation
and configuration settings are identical as described in section 3.1 and 3.2 respectively.
Additional SMS command is available to set the IP and Port number of the user server. This
must be set before data can be sent to the server of choice.
4.1. Setting the IP and PORT
SMS Command:
Response (via SMS):
<IP>:
IP address, eg. 172.22.44.33
<PORT>:
Port number, eg. 12001
[TCP/UDP]:
Example (default TCP):
Example (UDP):
4.2. Message Decoding
The following enable user to decode device message on their server. Users can ignore the
data in black and just focus on the red ones.
i. Log In
Log in message would be send from device to TST. TST needs to acknowledge this log
in before device can continue to function.
Format of message send from Device to TST = 【Log In 29 Byte】
【Log In 29 Byte】= 【Total Length 2
【Protocol Version 2 byte】【Safety Mark 1 byte】【Reserved Byte 1 byte】【Device Serial Number 16 byte】
【Tmp Type 1 byte】
00 1D /* Total Length */
00 01 /* Command Code */
00 00 00 01 /* Packet Serial Number */
03 00 /* Protocol Version */
00 /* Safety Mark */
10 /* Reserved Byte */
4D 30 30 31 30 41 30 31 31 32 38 37 38 37 38 30 /* Device Serial Number */
00 /* Tmp Type */
2013-05-30
Huawei Proprietary - Restricted Distribution
+MTP:1003,<IP>,<PORT>,[TCP/UDP]
Tips:ip:<IP>,port:<PORT> setting ok!
Optional field, default is TCP
TCP: 0, UDP: 1
+MTP:1003,172.22.44.33,12001
+MTP:1003,172.22.44.33,12001,1
byte】【Command Code 2 byte】【Packet Serial Number 4 byte】
Security Level
Page8, Total12

Advertisement

loading