Maestro M1002G User Manual

Maestro M1002G User Manual

M100 series
Table of Contents

Advertisement

.
-
WWW
MAESTRO
WIRELESS
E
:
@
MAIL
SUPPORT
MAESTRO
T
: (+852) 2869 0688
EL
F
: (+852) 2525 4701
AX
A
: 9/F, 121 K
DDRESS
M
AESTRO
S
P
MART
F
A
OR
PPLICATION
M1002G, M1003G, M1003G485,
M100CDMA
.
COM
-
.
WIRELESS
COM
L
S
, C
ING
AM
TREET
HEUNG
M100 S
U
ACK
SER
V
5
ERSION
V
ERSION
ON
, M100CDMA485
PLUS
S
W
, H
K
HA
AN
ONG
ERIES
M
ANUAL
2.2.3
ONG

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the M1002G and is the answer not in the manual?

Questions and answers

Summary of Contents for Maestro M1002G

  • Page 1 M100 S AESTRO ERIES MART ANUAL ERSION 2.2.3 PPLICATION ERSION M1002G, M1003G, M1003G485, M100CDMA , M100CDMA485 PLUS MAESTRO WIRELESS MAIL SUPPORT MAESTRO WIRELESS : (+852) 2869 0688 : (+852) 2525 4701 : 9/F, 121 K DDRESS TREET HEUNG...
  • Page 2 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 3: Revision History

    Added note on +IPPING for server not found error code, Edited response parameters of +IPDDNSUPD, Added +LED to force switch off of the led for power saving, Updated known issues and changelog. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 4 This manual is written without any warranty. Maestro Wireless Solutions Ltd. reserves the right to modify or improve the product and its accessories which can also be withdrawn without prior notice. Besides, our company stresses the fact that the performance of the product as well as accessories depends not only on the proper conditions of use, but also on the environment around the places of use.
  • Page 5: Table Of Contents

    4.3 Opening UDP connection ......... . . 5 Ping service Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 6 11.2.3 Read digital output status ........12 Input/Output triggered AT command Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 7: Confidential, The Whole Document Is The Sole Property Of Maestro Wireless Solutions Ltd

    20.1.3 Operation type and Operation argument ....... Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
  • Page 8 21.8 Device Power Control Service ......... 100 21.9 Analog input Service (only available on M1002G) ......101 21.10 Socket Communication Service .
  • Page 9 29.2 Related software ..........131 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
  • Page 10 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 11: Introduction

    Chapter 1 Introduction Maestro SmartPack is a set of software solutions for Maestro 100 modem. Bundled functions added to increase the utility range of various industrial and automated applications, such as: – Automatic and self-recovery TCP/UDP socket connection – AT command driven TCP/UDP socket connection –...
  • Page 12: Smartpack Version Command

    Function AT+WOPEN=0 Stop the application, modem will reset AT+WOPEN=3 Erase configuration memory AT+WOPEN=4 Erase flash memory, modem will reset AT&F Factory default Table 1.1: Erase Application Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 13: Switch Between Wipsoft And Smartpack

    – It is recommended to use the procedure detailed in table 1.1 on the facing page as it will clear every flash parameters properly. As of V2.2 +SPRESET is known to leave some parameters uncleared. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 14: Debug Command For Ip Communication

    115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 600, 300 <char_framing> "8N1", "8O1", "8E1", "8N2", "7N1", "7O1", "7E1", "7N2" <flow_control> is 0 to disable or 1 to enable. Default is enabled. Example: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 15: Force Device Led To Be Off

    Note: You will need to reboot to see the result +LED: (0,1) AT+LED=? Note: – Reboot of the device is mandatory for it to apply properly. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 16 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 17: Cellular And Tcp/Udp Parameters Setup

    Response AT+IPGPRS? +IPGPRS: 1,"","","" AT+IPGPRS=1 Note: set Cid value to 1. AT+IPGPRS=1,"internet" Note: set the PDP value to 1 and APN to "internet". AT+IPGPRS=? +IPGPRS: (1-4),(100),(50),(50) Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 18: Activating Cellular Connection

    Response: +IPCONNECT: <Bearer>,<Connect> Defined Values: <Bearer> using GSM Bearer (Note: Please do NOT use this setting). using IP Bearer. <Connect> 0 to stop connection. to start connection. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 19: Tcp/Udp Parameters Setup

    TCP socket connection. Default value is 0. Valid range is 0 to 65535. <mode> mode of TCP operation. Default value is "S". Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 20: Udp Socket Parameters

    TCP peer specified in <address>. "C" Client (Caller) mode. Maestro modem will request a TCP connection to the server TCP socket with the specified <address> and <port>. <address> IP address of the TCP socket. Default value is empty. Value can be erased by entering 0. Legal values are 32-bit in dotted-decimal notation (i.e.
  • Page 21: Socket Buffer Parameters

    UDP peer specified in <address>. "C" Client (Caller) mode. Maestro modem will request a UDP connection to the server UDP socket with the specified <address> and <port>. <address> IP address of the UDP socket. Default value is empty. Legal values are 32-bit in dotted-decimal notation (i.e.
  • Page 22: Extra Tcp/Udp Parameters Setup

    DEPRECATED as of R7.52 firmware. "keep alive" packet feature; an empty "keep alive" packet will be sent out from the modem to avoid socket being closed because of cellular idle Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 23 – +IPOPT options are active only for AUTOTCP/UDP connections. Those don’t apply to +OTCP or +OUDP mode. – Option 5 of +IPOPT, if used along with option 4 of +AUOPT, will be sent after the +AUOPT prefix. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 24 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 25: Automatic And Self-Recovery Tcp/Udp Connection

    If the socket connection is unsuccessful or disconnected it will repeat the connection request and back to waiting stage. This make remote peer can access serial device connected to Maestro modem. The socket can be set to be disconnected after a period of unconditional connection or zero data traffic.
  • Page 26: Flow Diagram Of Auto Tcp/Udp Connection Function

    3.1 Flow diagram of Auto TCP/UDP connection function Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 27: At Commands For Auto Tcp/Udp Connection

    – If TCP connection is broken the modem will try to reconnect automatically. During re-connection period serial port will go back to command mode, and DSR/DCD signal back to low. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 28: Automatic Udp Connection

    – Before enabling AUTOUDP, cellular settings MUST be properly set by AT+IPGPRS command and UDP settings by AT+IPUDP command, see section 2.2.2 and 2.1.1 for more details. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 29: Buffering Time

    flow is slow, thus reducing overhead. Default value: 2. Possible value: 1 to 255. Example: Command Response AT+AUFCM=2 Note: set the +AUFCM value to 2. AT+AUFCM? +AUFCM: 2 AT+AUFCM=? +AUFCM: (1-255) Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 30: Optional Parameters

    (for client and server mode). If a Auto TCP/UDP socket stays connected for more than the <val> (in minutes) the socket will be disconnected. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 31 Options #1, #2 & #3, currently require AutoTCP/UDP to be disabled then re-enabled. – When socket for TCP Terminal is connected, cellular deactivation, by <option> #2 timeout, will be deferred. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 32 – The heartbeat packet, <option> #5, will be sent only if there is no traffic on the socket. – Option 4 of +AUOPT is strictly limited to UDP mode. – Option 4 of +AUOPT is the first prefix sent. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 33: At Command Driven Tcp/Udp Connection

    DLEMODE. disable DLEMODE (Default setting). Example: Command Response AT+DLEMODE=0 AT+DLEMODE=1 AT+DLEMODE? +DLEMODE: 1 AT+DLEMODE=? +DLEMODE: (0-1) Note: – DLEMODE is not available for automatic TCP/UDP connection. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 34: Opening Tcp Connection

    If socket connection is unsuccessful or socket is disconnected afterward the modem will send out NO CARRIER message and back to command mode. Syntax: AT+OUDP Response: CONNECT 115200 Example: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 35 – Due to the nature of UDP socket connection, sending ETX characters (when DLEMODE is 1) may not be able to make disconnection. – AT+OUDP can only be used on one port at a time, you cannot have both Serial port and USB connected simultaneously. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 36 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 37: Ping Service

    +IPPING : "210.103.11.18",662 +IPPING : "210.103.11.18",762 Note: execute ping action (no argument) AT+IPPING=? +IPPING: (0-2)[,(128),(1-10),(1-10),(1-60)] Note : possible arguments AT+IPPING? +IPPING: "210.103.11.18",3,1,15 Note: display current status Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 38 CONNECT: 1,1) and ping target and parameters are set properly. – If the IP entered in IPPING is not reachable, the command will reply with "+IPPING ERR: -993", which means Server not found. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 39: Dynamic Dns

    NECT established Maestro Wireless Solution Ltd does not have affinity with any Dynamic DNS service providers. Maestro Wireless Solution Ltd does not guarantee any service provided by DDNS service providers and not liable to any loss or damage caused by such service.
  • Page 40: Dynamic Dns Server

    Login password of the DDNS service account. Maximum length is 32 characters. Example: Command Response AT+IPDDNSACCT="mymodem.ddns.net", "maestro","maestro" Note: enter DDNS account and host name info AT+IPDDNSACCT? +IPDDNSACCT: "mymodem.ddns.net", "maestro","maestro" AT+IPDDNSACCT=? +IPDDNSACCT: (64),(32),(32) Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 41: Updating Dynamic Dns Information

    Table 6.1 list the relationship between <result> and <ret_code>. Visit Website of DDNS service providers for the explanation of return code. Result Ret_code good no_chg badauth donator notfqdgn Result Ret_code nohost numhost abuse badagent dnserr Table 6.1: Relation between result and ret_code Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 42 – If automatic DDNS update enabled, modem will detect cellular connection and start DDNS update once con- nection is established. If update fails, it will retries 3 times maximum. User can enter AT+IPDDNSUPD? to check the result of last update result. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 43: Tcp Terminal

    4. Once connected modem will prompt for a password. If password is correctly entered, user can send AT com- mand to the modem. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 44: Tcp Remote Terminal

    – Always think twice before you send AT command. For example if you send AT+CPOF it will turn off the modem, and you need to go to access the modem to reset it. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 45: Mail Sending (Smtp) Service

    SMTP server. Default value is 25. <auth> authentication type used for authentication: no authentication required (default), Required information for a minimal email are: SMTP server, sender address and one recipient address Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 46: Email Address

    (id) of the email address. Valid value is 0 to 50. id of the sender address (mandatory), 1-50 id of recipient email address. <address> email address to be stored. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 47: Email Subject

    Note: erase email subject with id #1. AT+EMSUBJ=? +EMSUBJ: (0-2),(1-10),(128) Note: It is recommend to use only alpha-numeric characters (ASCII value 32 to 127) for email subject content. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 48: Email Body

    +EMBODY: 1 This is email body #1 Note: read stored email body with id #1. AT+EMBODY=2,1 Note: erase email body with id #1. AT+EMBODY=? +EMBODY: (0-2),(1-3) Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 49: Sending An Email

    SMTP server/ server not found (Check +IPSMTP parameters). connect SMTP server timeout (Retry later). other error (Contact Maestro Wireless). 4xx–5xx SMTP protocol reply code (Check SMTP document (RFC 821) for explanation). Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 50 – When one email is being sent you cannot send another email. To put a queue of emails please use Command String "EM" (email sending) service, see Chapter 19.0.1. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 51: Tcp Socket Communication Service

    first connection unsuccessful. Each retry will be delayed according to <delay> parameter. Default value is 0 (no retry). Valid range is 0 to 10. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 52: Tcp Socket Message

    Special syntax for <oper> 0: AT+SCMESS=0,<id> text is entered <Ctrl-Z / ESC> Response: +SCMESS: <id>,<len> Defined Values: <oper> type of operation: enter message body. read saved message. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 53: Sending A Tcp Socket Message

    <mess_id> (if available). <result> result code of the email sending process: message sending successful. reserved (contact Maestro Wireless support). reserved (contact Maestro Wireless support). Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 54 – A "minimum" message should contain at least one byte (character) either from saved or additional message. – If saving message to a same <id>, old message will be over written. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 55: Remote At Command By Sms

    SMS will happened after the 19 SMS is received. This is to prevent SIM card memory from fully filled; such the modem will not receive new SMS. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 56: Remote At Command By Sms

    3. It could be in some case (e.g. network failure) the modem cannot return response SMS. The modem will try sending response SMS for three times max. If still not successful it will abort. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 57 5. Some AT commands can’t be sent over SMS. See Chapter 27. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 58 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 59: Input/Output Port Control

    AT command as either high (1) or low (0). Following table list the relationship between external DC input, input and output pin: External DC input High High Output setting Input reading Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 60: I/O Control At Command

    11.2.2 Set digital output status AT+IOBW Set (write) the value of one or all digital outputs pins on I/O ports. Syntax: AT+IOBW=<pin>,<val> AT+IOBW=<val><val> Response: +IOBOR: <pin>,<val> +IOBOR: <val>,<val> Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 61: Read Digital Output Status

    Valid value is from 1 to 2. If <pin> entry is omitted all output pins will be read. <val> current value of the digital output: output is OFF, opened. output is ON, closed (shorted). Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 62 – When command is entered without <pin> entry, the response shows the value of output pins in a series of 0 or 1, from left (pin #1) to right (pin#2). Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 63: Input/Output Triggered At Command

    1. When the I/O port is connected to battery negative side: (a) switch closed: logic level low (b) switch open: logic level high 2. The specified AT command will be executed. When set as low-to-high triggering: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 64: Activating I/O Triggered At Command

    Note: enable I/O triggered AT command AT+IOAT? +IOAT: 1,1,10,"" AT+IOAT=2,1,10,"AT+IPR=115200" Note: set I/O triggered AT command parameters to trigger the specified AT command after 1 second from low-to-high. AT+IOAT=? +IOAT: (0-2),(0-1),(1-50),(128) Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 65 – If +IOAT is enable, no other AT command can control the I/O port. – Switching below 100ms cannot be detected by the modem. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 66 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 67: Analog Input Triggered At Command

    2. Every 100ms the analog value is checked, it will trigger if: (a) it exceeds high limit (low-to-high trigger) (b) it goes below low limit (high-to-low trigger) 3. The specified AT command will be executed. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 68: Activating Analog Triggered At Command

    – Do not enter "interactive" command (i.e +CMGS, +WDWL,...), otherwise the application will be stuck waiting for user input. – If +ADCAT is enable, no other AT command can control the analog port. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 69: Editing High And Low Analog Levels

    <highLimit> high limit of Analog voltage, unit is mV. Range from 0 to 5000, default value is 2500. Example: Command Response AT+ADCATLMT=0,1000 Note: set low limit to 0V, and high limit to 1V. AT+ADCATLMT? +ADCATLMT: 0,1000 AT+ADCATLMT=? +ADCATLMT: (0-5000),(0-5000) Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 70 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 71: Call Screening

    – To apply call screening to waiting call please first enable call waiting indication by command AT+CCWA=1,1. – Rejected incoming will not be diverted to voice mail. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 72: Authorized Phone Number List

    Valid range is from 1 to 10. <id2> ending location of the authorized phone number to be read. Valid range is from 1 to 10. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 73: Erasing Authorized Phone Number List

    Valid range is from 1 to 10. Example: Command Response AT+CSND=1 Note: erase authorized number in location 1. AT+CSNR=1,8 Note: erase authorized number in from location 1 to 8. AT+CSND=? +CSND=(1-10)[,(1-10)] Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 74 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 75: Modem Status Check And Monitoring

    <para> field as input voltage trigger level for remote reporting. Range 0-5000. Example: Command Response AT+TMODE +TMODE: 1,15,"10.111.222.33",3814 Note : execute status check ("one shot" mode) AT+TMODE=? +TMODE: (0-4),(20) AT+TMODE? +TMODE: 1,"1234567",10,3500 Note: display current setting Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 76: Operation Of Modem Status Check And Monitoring

    If the counter reach 5 (i.e. not registered for consecutive 5 minutes) the modem will reset. 2. if the modem is registered to the network, the counter will be reset to 0 and perform check same as "one shot" mode. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 77 AT+TMODE=2,xxxxxxx. 5. if 3 consecutive check failed (i.e. 3 SMS sent) then the periodic mode check will be disable automatically. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 78 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 79: Automatic Pin Entry

    <remain>, automatic PIN entry will not operate. Valid value is 1 to 3. Default value is 3. <unso> default value is 0. no unsolicited message. unsolicited message +AUTOPIN: <pin_remain> will be displayed if <remain> is larger than PIN remaining attempt number. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 80 – The AT+AUTOPIN command cannot be entered remotely (SMS, TCP Terminal). It can only be operated via serial port. – The AT+AUTOPIN command is not password protected. Be cautious of saved PIN entry read by other people. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 81: Remote Application Update

    Remote application update By using this feature, user can download the new version of Maestro modem application from a FTP server and upgrade his modem. By combining remote AT command by SMS feature user can control the modem to complete the application downloading and updating process remotely.
  • Page 82: Starting Remote Application Download

    This is useful for sending update commands over SMS, so that one SMS is saved in this case. See next section for the details of AT+ADINSTALL command. <result> result code of the downloading process: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 83: Installing New Application

    Modem will restart and then result and version will be displayed. Syntax: AT+ADINSTALL Response: +ADINSTALL: <result>,<ver> Defined Values: <result> if other result code please contact Maestro Wireless Solutions: update process successful, Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 84: Notes And Cautions To Be Taken

    – This feature is ONLY for updating new SmartPack application on the modem. Do not use it for downloading other things. Always contact Maestro Wireless or distributor for correct update file and information. – If you want to perform update for modem at remote site by AT command over SMS, make sure the feature is enabled by command AT+SMSAT=1 is entered.
  • Page 85: Serial To Ip Mode And Modbus Configuration

    Serial port setting will be set according to the following only when querying Modbus data. After query it will go back to original setting (e.g. 115200, 8N1). AT+MODBUSCFG Syntax: AT+MODBUSCFG=<mbmode>,<brate>,<frame> Response: OK Defined Values: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 86: Examples

    ModbusTCP frame are received from the Modbus Master server, the M100 will convert the frame to ModbusRTU and send it to the serial device, get the response, and convert it back to ModbusTCP to the server. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 87: Command String - Introduction

    Command string - Introduction "Command String" is a set of programmable scripts for Maestro modem. User can input sets of Command String to control various kinds of "Service". Unlike AT command, Command String can be stored inside modem and can be executed upon output of certain services.
  • Page 88 Figure 19.0.2: Command String operation mechanism Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 89: Command String - How To Use

    You can concatenate Command String update 128 bytes long totally (including space). They will be executed sequen- tially. However, if one Command String is incorrect or invalid execution will be stopped and successive Command String will not be executed. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 90: Executing A Command String

    Response: +CSTRSET: <id>,<string> Defined Values: OK <oper> define type of operation: store Command String to flash, read Command String from flash, erase Command String from flash, Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 91: Add And Edit Phone Number For Command String Sms Service

    Defined Values: OK <id> Identification number (id) of the phone number. Valid value is 1 to 10. <phone-number> Phone number in ASCII format, accept international code. Example: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 92 Note: id out of range. AT+CSPN=? +CSTRSET: (1-10),(63) Note: – The configured phone numbers are stored into device flash without using AT&W and are retrieved after reboot. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 93: Command String - Services - Syntax And Explanation

    Can only perform job when called by Command String. These Services include: output port, SMS. 21.1 Alarm Service Alarm is used to execute a Command String when the real-time clock of the Maestro modem meets the set time of the alarm.
  • Page 94: Counter Service

    – Do not concatenate after ST operation; set time operation should be at the last part of Command String. – After alarm time, the ST setting of that Alarm will be lost. – This service will make use of Maestro modem internal alarm command (AT+CALA) so please avoid using AT+CALA command by yourself when alarm service is used.
  • Page 95: Countdown Timer Service

    Example: Configure input port #1 with detection "high to low" and threshold value 0.1s, and trigger Command String #5 if signal condition match. IP 1 DR 1 IP 1 TH 1 IP 1 TR 5 Example: Cancel input port#1 to trigger Command String. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 96 E.g. when set as high-to-low triggering and threshold 1 sec IP 1 DR 1 IP 1 TH 10 IP 1 TR 5 Figure 21.4.2: When T=1second the Command String #5 will be executed Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 97: Output Port Service

    Using variable option within SMS content In the SMS content field you can use "%" and Service type to insert the current value of Service into the SMS content: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 98: Email Sending Service

    10 set of groups (service type EM, id 1 to 10) can be set with different combinations of "elements": recipient (to, cc, bcc), subject and body. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 99 1 (only on YY/MM/DD Range of ‘n’ 1 to 5 1 to 10 0 to 3 0 to 3 15 char M1002G) format Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 100: Device Power Control Service

    Example: Enable low clock mode and disable LED’s. PW 3 0 0 Example: Enable low clock mode; disable LED’s, disable Serial port and unregistered from network. PW 15 0 0 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 101: Analog Input Service (Only Available On M1002G)

    Command String #1 if signal condition match. AI 1 TP 1 AI 1 TH 2 AI 1 HL 1000 AI 1 TR 2 Example: Cancel AI#1 to trigger Command String. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 102: Socket Communication Service

    Please read Chapter 9 on page 51 for entering host address and parameters. Up to 10 set of groups (service type SC, id 1 to 10) can be set with different combinations of "elements": host , message content, etc... Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 103 For Inputs %IP and Outputs %OP refer to the table below: Input 1 Input 2 %IP value Output 1 Output 2 %OP value Drain Drain High Open Drain High Drain Open High High Open Open Note: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 104 Buffered message queue is volatile and will be lost If modem Is powered off or reset. Also when there is SC service in queue AT+SCSEND command will not be allowed. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 105: Command String - Reading Status Ofone Services

    +CME ERROR: 3 Note: id out of range 22.1.1 Reading Alarm Service Enter AT+CSTRSTAT="AL 1" will get Alarm #1 info: AL 1 ST 01/01/01,12:00:00 TR 3 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 106: Reading Counter Service

    Mask value (valid for multiple I/P trigger). c. Direction of detection. d. Threshold value of the detection. e. Command String id to be executed if trigger (0 if not to trigger). Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 107: Reading Device Power Control Service

    22.1.8 Reading Output Port Service Reading Enter AT+CSTRSTAT="OP 1" will get output port #1 info: OP 1 SW 1 a. Service id. b. Current state set. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 108 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 109: Gps On The M100 3G Xt

    "AGPSON" enable AGPS "AGPSOFF" disable AGPS (default) Example: Command Response AT+GPSSTART Note: start GPS with default settings. AT+GPSSTART="START","WARM","AGPSON" Note: start GPS with a warm start and AGPS on. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 110 To switch off the GPS function. Syntax: AT+GPSOFF Response: OK Example: Command Response AT+GPSOFF Note: releases GPS, equivalent to AT+GPSSTART="OFF" AT+AGPS To set the AGPS function and check AGPS download details. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 111 NMEA output on USB COM port. enable NMEA output on Serial port. disable output (default). Example: Command Response AT+NMEA=1 AT+NMEA? +NMEA: 1 AT+NMEA=? +NMEA: (0-2) Note: Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 112 1 to 16. Example: Command Response AT+GPSPOS +GPSPOS: 1, 225454, 192294, 4916.45N, 12311.12W, 111.1, 0.9, 25.5, 180.0, 06 AT+GPSPOS +GPSPOS: -1„„„„,0 Note: No valid fix Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 113: Gps Information Unsolicited Messages

    EE download stopped (after AT+AGPS=0) EE download completed (successful) EE download aborted (server access problem) EE download data time stamp display, <opt> will show <ee-period>, as detailed in 23.1 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 114: Notes On Agps

    Once AGPS download is successful you can use command AT+AGPS? to check the <ee-period> (see 23.1). Example of AGPS operation AT+CGDCONT=1,"IP","INTERNET" AT+GPSSTART AT+GPSINFO=1 AT+AGPS=1 +AGPS: 4 +AGPS: 6 +AGPS: 8,"13/05/29,03:00:00","13/06/05,03:00:00" Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 115: Command String Gps Service

    GPS value: 0 no fix, 1 2D fix, 2 3D fix. d. Command String id to be executed if trigger (0 if not to trigger). Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 116: Gps Info For Em, Sc And Sm Service

    Speed in m.mm format (zero when no fix) Direction in dddmm.mmm format (zero when no fix) Example: To send a SMS with date, time, Latitude and Longitude: SM 1 SN DATE=%GP0_TIME=%GP1_LAT=%GP2_LON=%GP3 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 117: Questions And Answersinput

    If the first CS (counter #1 increment by 1) will let the Counter#1 to trigger CS #2, then CS #2 will be executed BEFORE executing "CT 1 DE 1" Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 118 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 119: Example Of Modem Software Setup And Operation

    To setup AT command driven TCP connection SIM card APN is "internet"; Server IP address is 61.167.60.1; Server port is 23. – Enter APN information: AT+IPGPRS=1,"internet" Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 120 – Set no-ip account details: AT+IPDDNSACCT="mymodem.ddns.net","mylogin","mypsswd" – Enable automatic Dynamic DNS update: AT+IPDDNSUPD=1 – Specify TCP Terminal port, password, with a 30 seconds timeout: AT+TCPTERM=2,"mypsswd",1024,30 – Enable TCP Terminal: AT+TCPTERM=1 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 121 To perform a remote application update using remote SMS command Be sure to have enabled the remote SMS access (SMSAT) on modem first. FTP address is 61.93.240.149, directory is "modem", file name is "update092i.dwl", login is maestro, password is dota.
  • Page 122 – Setup APN AT+IPGPRS=1,"internet" – Set server connection on a TCP socket AT+SCHOST=0,1,"myserver.com",myport,2,10,0 – Start GPS AT+GPSSTART="START","COLD","AGPSOFF" – Setup GPS fix 2D and 3D to trigger CS#2 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 123 – 1h message from boot (CS#80): send GPS message to server and set timer 1 to 3600sec then trigger back CS#80 AT+CSTRSET=0,80,"SC 1 SN DATE_%GP0__TIME_%GP1__LAT_%GP2__LON_%GP3__ALT_%GP4__SPEED_%GP5 TM 1 ST 3600 TM 1 SW 1 TM 1 TR 80" Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 124 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 125: Command String - Quick Reference

    0-50 (cc recipient id, 0 to cancel) 0-50 (bcc recipient id, 0 to cancel) 1 to 10 0-10 (subject id, 0 to cancel) 0-3 (body/content id, 0 to cancel) Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 126 1 to 50 (CS to trigger, 0 to cancel) OUTPUT PORT "OP" Service Id Operation Type Argument and Explanation 0 to 2 0 to 1 (Current state set) Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 127: Known Issues

    You can use the remote AT command by SMS feature to send modem Software AT commands mentioned in this document except the followings: – AT+OTCP – AT+OUDP – AT+IPCONNECT – AT+EMBODY – AT+SCMESS – AT+AUTOPIN – AT+SPRESET – AT+SPMODE Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 128 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 129: Smartpack Change Log

    – Fixed SMS text format (can send non capitalized text) in command string. – Fixed SPRESET to erase every configuration. – Improved IPTCP as a server socket connection. Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 130 – Fixed +AUFCM buffering, – Fixed SC message sent to unknown host, and SC index numbering, – Fixed +SMSAT on/off issue, – Fixed +SPRESET not reseting +SCHOST parameters, Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...
  • Page 131: Related Documents

    Following software are available on Maestro Wireless Solutions website: http://update.maestro-wireless.com/ m100. – Maestro Configuration Software – M100 USB Drivers – Latest firmware files, and latest SmartPack application Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd. support@maestro-wireless.com...

This manual is also suitable for:

M1003g485M100cdmaplusM100cdma485M1003gM100 2g

Table of Contents

Save PDF