Home

Maestro Smart Pack User Manual

image

Contents

1. Result code explanation Comments countermeasure 0 Download successful 1 SIM card problem Check SIM card and PIN 2 Internal memory problem Try reset modem 3 FTP connection fail Check network signal check FTP status check FTP address 4 A amp D Format error Contact Maestro Wireless 5 Download file size not same as FTP reported Retry downloading 6 Not enough space for downloading Contact Maestro Wireless 7 File format incorrect Check file for downloading 8 Error writing flash Contact Maestro Wireless Axx 5xx FTP protocol return code Check FTP document RFC 959 for explanation 14 1 3 AT ADINSTALL command This command is perform the program update process File downloaded by AT FTPDOTA command will replace the existing Maestro Smart Pack program Modem will restart and then restart result and version will be displayed Command Syntax AT ADINSTALL Response syntax ADINSTALL lt result gt lt ver gt Command Possible responses AT ADINSTALL ADINSTALL 2 M100 VAF 094d OAT316 32 Nov 11 200718 01 42 Note update successful show existing version of Maestro Smart Pack AT ADINSTALL ADINSTALL 3 M100 VAF 094b OAT314 32 Jun 11 200718 01 42 Note update unsuccessful show existing version of Maestro Smart Pack AT ADINSTALL CEE ERROR 3 Note update unsuccessful no update file available Confidential the whole present document is the sole property of Maes
2. 32 32 OK Note possible argument Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 25 maestro NY empowering wireless Defined Values lt hostname gt Hostname to be associated with M100evo s IP address Should register the hostname in your account and verified it on your DDNS service provider Maximum length is 64 characters lt login gt Login name of the DDNS service account Maximum length is 32 characters lt psswd gt Login password of the DDNS service account Maximum length is 32 characters 8 2 3 AT IPDDNSUPD command Command Syntax AT IPDDNSUPD AT IPDDNSUPD auto upd gt Response syntax OK IPDDNSUPD lt result gt ret code Command Possible responses AT IPDDNSUPD 1 OK Note enable automatic DDNS update AT IPDDNSUPD 0 OK Note disable automatic DDNS update AT IPDDNSUPD IPDDNSUPD 1 good 203 111 111 111 OK Note perform DDNS update successful AT IPDDNSUPD IPDDNSUPD 3 badauth OK Note perform DDNS update unsuccessful AT IPDDNSUPD IPDDNSUPD 0 3 badauth OK Note display current setting automatic DDNS update disabled result of last DDNS update since power up AT IPDDNSUPD IPDDNSUPD 0 1 OK Note possible argument Defined Values lt auto_upd gt 0 disable automatic DDNS update 1 enable automatic DDNS update see notes for details
3. Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 10 maestro NY empowering wireless lt UDPTxDelay gt This parameter determines if there is time delay introduced before sending a UDP frame that has not been entirely filled with user data If it is set to 0 initiates the sending of a UDP frame as soon as possible after the reception of a single character value from the host If it is set to 1 initiates a delay will be introduced before the sending of a UDP frame The default value is 0 3 3 3 AT IPBUFF command This command specifies the number of bytes of payload data from remote peer buffered inside the modem when automatic or AT command driven TCP UDP connection is made If the quantity of buffered data reaches this value the whole buffered data will be sent out to the serial port If the data from remote is large enough at one time only multiple of this value data will be sent out to the serial port Remainder will be kept inside buffer Example AT IPBUFF 5 1234567890A mo EN 18 bytes of data sent BCDEFGH N A from TCP or UDP socket to modem 15 bytes multiple of 5 data sent out to serial port remaining data buffered inside Command Syntax AT IPBUFF buff Response Syntax PBUFF buff Command Possible responses AT IPBUFF IPBUFF 0 100 OK Note display possible values AT IPBUFF IP BUFF 0 OK Note display current status AT
4. This feature lets Maestro 100evo to login to certain Dynamic DNS service providers to update the hostname with M100evo current IP address So user can access M100evo with pre registered hostname User can use this function together with TCP Terminal see Chapter 9 and can use Telnet to access M100evo and send AT command over Internet 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 8 1 Description of the Operation Dynamic DNS service Dynamic IP 200 123 111 21 lt gt 200 123 111 21 1 User need to create an account on DDNS service providers and register a hostname Following providers are tested working correctly www dyndns com www no ip com 2 Use AT IPDDNSSERV command to enter DDNS update server URL and port no Use AT HIPDDNSACCT to enter own account login password and hostname 3 When IPCONNECT is ready use AT IPDDNSUPD command to update the above hostname with modem s current IP address 4 User can also use AT IPDDNSUPD command to configure automatic DDNS update upon each time of IPCONNECT established Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 24 maestro NY empowering wireless 8 2 AT command for configuring Dynamic DNS 8 2 1 AT IPDDNSSERV
5. Remote program update described in Chapter 5 6 7 8 9and 14 requires GPRS connection and TCP UDP parameters setup This chapter will describe those required setups 3 1 GPRS Network Parameters User need to enter the following parameters for GPRS connection Access point name APN User name Password They are to be entered by using AT IPGPRS command Contact your network operator for these parameters 3 1 1 AT IPGPRS command Description This command is used to setup GPRS network parameters for the TCP UDP connection feature Command Syntax AT IPGPRS lt Cid gt lt APN gt lt UN gt lt PW gt Response Syntax IPGPRS lt Cid gt lt APN gt lt UN gt lt PW gt Command Possible responses AT IPGPRS IPGPRS 1 INTERNET OK Note show current settings AT IPGPRS 1 OK Note set Cid value to 1 AT IPGPRS 1 INTERNET OK Note set the PDP value to 1 and APN to INTERNET AT IPGPRS IPGPRS 1 4 100 50 50 OK Note possible values Defined Values lt Cid gt PDP context identifier Note to use with MSP TCP UDP connection feature this value must be set to 1 lt APN gt Access point name of the GPRS network Max 100 characters lt UN gt User name to access the GPRS service Max 50 characters lt PW gt Password used to access the GPRS service Max 50 characters Confidential the whole present document is the sole property of Maestro Wireless S
6. TCP UDP socket Dealy 2 Client mode seconds v Open TCP UDP Socket connect to serial port Open TCP UDP socket connect to serial port TCP UDP disconnected or closed No GPRS activation Yes fail No GPRS attach fail 9 TCP UDP disconnected or closed GPRS attach fail No ctivation Yes il No Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 15 maestro NY empowering wireless 5 2 AT commands for Auto TCP UDP connection 5 2 1 AT AUTOTCP command This command controls the Maestro 100evo to start TCP socket connection automatically Before using AT AUTOTCP TCP and GPRS settings MUST be setup properly using AT IPTCP and AT IPGPRS command respectively Command Syntax AT AUTOTCP lt mode gt Response syntax AUTOTCP lt mode gt Command Possible responses AT AUTOTCP 0 OK Note disable AutoTCP AT AUTOTCP 1 OK Enable AutoTCP AT AUTOTCP AUTOTCP 1 OK Note display current status AT AUTOTCP AUTOTCP 0 1 Note possible argument Defined Values mode 0 enable auto TCP disable auto TCP Note Before enabling Auto TCP it MUST be properly set the GPRS settings by AT IPGPRS command and TCP settings by AT IPTCP command see Chapter 3 ON
7. lt result gt result of DDNS update process it is related to the return code of DDNS update server If lt result gt is 1 or 2 the update is assumed successful Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 26 maestro NY empowering wireless lt ret code gt return code of DDNS update server Following table list the relationship between result and ret code Result 1 2 3 4 5 6 7 8 9 10 11 Ret code good no chg badauth donator notfqdgn Nohost numhost abuse badagent dnserr 911 Visit Website of DDNS service providers for the explanation of return code Note If the DDNS update process fails because of failure to get server response the result maybe a negative value contact Maestro to get details Before making command driven ping action AT IPPING w o argument make sure GPRS is connected IPCONNECT 1 1 and ping target and parameters are set properly If automatic DDNS update enabled Smart Pack will detect GPRS connection and start DDNS update once connection is established If update is fail it will retry for 3 times maximium User can enter AT IPDDNSUPD to check the result of last update result Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd maestro NY empowering wireless 9 TCP TERMINAL Note To use this feature we strongly su
8. AT WOPEN 1 but I still cannot use MSP why A It could be installation problem You can issue command AT WOPEN 0 then AT WOPEN 4 then repeat the download procedure If this still not help you may need to re flash the main firmware first Q Canldisable the MSP A Yes you can enter AT WOPEN 0 to disable Q lget Invalid modem message after downloading dwl file and issuing AT WOPEN 1 Why A Maybe you have downloaded file into incorrect or damaged modem Please contact Maestro Wireless Solutions Q I had download incorrect dwl file and the modem is not responding after issuing AT WOPEN 1 What should I do A You may need to re flash the main firmware Please contact Maestro Wireless Solutions or your distributor 16 2 AutoTCP UDP Q Can I specify server by URL e g xxxx com rather than IP address A Yes but only if your GPRS network have proper DNS service You cannot specify your own DNS server Q IfI enabled AutoTCP or AutoUDP how can I stop it A you need to enter the command AT AUTOTCP 0 or AUTOUDP 0 by either 1 within 20 seconds after power up or 2 during reconnection serial port back to command mode or 3 by SMS see Chapter SMS AT command Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 45 maestro NY empowering wireless 16 3 AT command driven TCP UDP connection Q After the TCP UDP connection is stopped I wan to enter AT OTCP or AT OUDP to re
9. Command Syntax AT AUTOUDP lt mode gt Response syntax AUTOUDP lt mode gt Command Possible responses AT AUTOUDP 0 OK Note disable AutoUDP AT AUTOUDP 1 OK Note Enable AutoUDP AT AUTOUDP AUTOUDP 1 OK Note display current status AT AUTOUDP AUTOUDP 0 1 Note possible argument Defined Values lt mode gt 1 enable auto UDP 0 disable auto UDP Note Before enabling Auto UDP it MUST be properly set the GPRS settings by AT IPGPRS command and UDP settings by AT IPUDP command ONLY GPRS PDP context 1 will be used So please setup IPGPRS settings with lt cid gt 1 Once AutoUDP is enabled it will start the UDP socket connection automatically after 20 seconds Once the UDP connection is established successfully the serial port will go to data mode all data entered to the serial port will be sent to remote UDP peer No more AT commands will be accepted then n UDP connected data mode the DSR and DCD signals of the serial port will go to high If the UDP 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 The setting will be saved and after power off the AUTOUDP will be restarted with the 20 seconds delay after power up To stop auto UDP connection you need to enter the command AT AUTOUDP 0 by 1 within 20 seconds after power u
10. Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd maestro NY empowering wireless 13 MODEM STATUS CHECK AND MONITORING The Modem Status Check and Monitoring feature makes the modem can check the status of the modem in either one shot or periodic per minute mode Modem will also report check result by SMS if result is beyond preset limit and reset automatically if losing network connection Following items will be checked network registration periodic mode only triggering reset rom test signal strength can trigger reporting IP address of modem only when GPRS connection activated module battery voltage can trigger reporting 13 1 AT command for Modem Status Check and Monitoring 13 1 1 AT TMODE command This command is to perform and setup modem status check and monitoring feature Command Syntax AT TMODE lt mode gt lt para gt Response syntax TMODE lt test1 gt lt test2 gt Command Possible responses AT TMODE TMODE 1 15 10 111 222 33 3814 OK Note execute status check one shot mode AT TMODE TMODE 0 4 15 Note possible argument AT TMODE TMODE 1 1234567 10 3500 OK Note display current setting AT TMODE 0 OK AT TMODE 1 OK AT TMODE 2 1234567 OK Note disable periodic mode check Note enable periodic mode check Note set telephone number for periodic mode reporting AT TMODE 3 10 O
11. Erasing embedded program ite SEENEN ENEE EENS 4 2 2 2 Downloading the TE 5 GPRS AND TCP UDP PARAMETERS SETUP wisisisisasscsissacscsattacsasasaiacataceaataiaviacdacactaceaiaccivacisosisteiaatasebissesseeiaadanactaanaaaasaauasadvaataadvidnsavearaeaaanaiaeaiaes 6 3 1 GPRS NETWORK PARAMETERS sssseseseesssstessttetssttttttttt ttrt essre testte tettes Stre SSS e SSS ES SEEE ESSE EE ESSE ESES SEEE EEEE ES SEEE SS SeSe seee se re esee ess sn ea 6 3 1 1 AT IPGPRS commande 6 3 2 ACTIVATING GPRS CONNECTION 232 cscos scvsccseeedsc0sccevecesdsdchcessectecensecceces decveesoeeccuuesseads evades dounedsavseceeesaguesdeavacesdesdncnsdeceseesdes 7 32 aA CGAL Re E DEE 7 3 22 ATHPCONNECT commande 7 3 3 TCP UDP PARAMETERS BETUp sinp trte EEA tean EP ERA AREER ES ENDE EREE TERETE E R rE E nir k R EEEE SEENEN E EEEE e EEr S 8 Se e DE ME KEE E BE 8 3 32 JATTHIPUDP ee CH PN EM MEME MD P IE I D TIL 10 3 3 3 AT HPBUFF command EE 11 3 4 EXTRA TCP UDP PARAMETERS SETUP c ccssssssseceesseeecesssececueeecessaeecceecececaneeceessecccesaeececaseecessseeecsenseseesneeseeaaeeeensnaeeess 12 34 ATHPOPT engl ee EE EE Ee 12 AUTOMATIC AND SELF RECOVERY TCP UDP CONNECTION evrvvvvvvevvvvrnevnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnrsssnsennnnnnnnnnnnnnnennnnnnnennnnen 14 5 1 FLOW DIAGRAM OF AUTO TCP UDP CONNECTION FUNCTION 15 5 2 AT COMMANDS FOR AUTO TCP UDP CONNECTION ssssssssssissssseessittetttsttttts strete ttir tt rt sst renn sEe
12. IPTCP 23 C 202 144 111 222 0 OK Note to set the modem to connect TCP socket Client caller mode to target address 202 144 111 222 and port 23 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 8 maestro NY empowering wireless AT IPTCP 23 5 255 255 255 255 0 OK to set the modem to wait for TCP socket connection request Server listening mode any calling IP address allowed port 23 AT IPTCP IPTCP 0 65535 C S 120 0 1 OK Note possible argument Defined Values lt port gt The port number to be used for the TCP socket connection Default value is 0 Valid range is 0 to 65535 lt mode gt Mode of TCP operation Default value is S S Server Listening mode This configures Maestro 100evo to open a listening TCP connection on the specified lt port gt The TCP connection will be active upon getting socket connection request from the allowed remote TCP peer see lt address gt C Client caller mode This configures Maestro 100evo to request opening a TCP connection to the server with the specified address and port Note This parameter is used by Auto TCP connection see Chapter 4 only address The address of the TCP server or host Default value is empty Legal values could be 32 bit in dotted decimal notation i e XXX XXX XXX XXX or alphanumeric ASCII test string up to 120 characters only if DNS i
13. command Command Syntax AT IPDDNSSERV serv url gt lt serv port Response syntax IPDDNSSERV serv url gt lt serv port OK Command Possible responses AT IPDDNSSERV members dyndns org 8 0 OK Note enter DDNS service provider s update server information AT IPDDNSSERV IPDDNSSERV members dyndns org 80 OK Note display current status AT IPDDNSSERV IPDDNSSERV 64 0 65535 OK Note possible argument Defined Values serv url URL of the update server For example it is members dyndns org for www dyndns com Check with your DDNS service provider for correct name serv port Port number of the update server For example it is 80 or 8080 for www dyndns com Check with your DDNS service provider for correct port number List of parameters of verified DDNS service providers Provider serv url serv port www dyndns com members dyndns org 80 www no ip com dynupdate no ip com 80 8 2 2 AT IPDDNSACCT command Command Syntax AT IPDDNSACCT lt hostname gt lt login gt lt psswd gt Response syntax OK Command AT IPDDNSACCT 12345678 dyndns org maestro maestro Possible responses OK Note enter DDNS account and host name info AT IPDDNSACCT IPDDNSACCT 12345678 dyndns org maestro maestro OK Note display current status AT IPDDNSACCT IPDDNSACCT 64
14. executed the modem will in a state of waiting further input not to do other jobs 6 With this feature enabled user cannot control the I O port by other AT commands anymore 7 Due to product limitation the modem cannot detect switching action with period less than 100ms If the switch s open close action is done in less than 100ms this feature will not be able to detect accurately Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 34 maestro NY empowering wireless 12 CALL SCREENING This feature enable Maestro 100evo to reject incoming call if the phone number does not match one of the entries of authorized phone number list Unauthorized incoming call will be hanged up within one ring Up to 10 authorized phone numbers can be stored Each number can be as long as characters Waiting call can also be rejected 12 1 AT command for configuring call screening 12 1 1 AT CSRN command This command is to enable or disable call screening feature Command Syntax AT CSRN lt mode gt Response syntax CSRN lt mode gt Command Possible responses AT CSRN 0 OK Note disable call screening AT CSRN 1 OK Enable call screening AT CSRN CSRN 1 Note display current status AT CSRN CSRN 0 1 Note possible argument Defined Values lt mode gt 0 disable call screening 1 enable call screening Note To use call screening make sure Call
15. is slow thus reducing overhead Note If the value is set too high the maximum data transfer speed may be decreased Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 18 maestro NY empowering wireless 6 AT COMMAND DRIVEN TCP UDP CONNECTION This feature let user to make a TCP or UDP connection upon the AT OTCP or AT OUDP command This socket connection feature do support DLE ETX character coding See Make sure you have made the GPRS connection by AT IPCONNECT command before making socket connection see Chapter 11 setup examples 6 1 AT commands for Auto TCP UDP connection 6 1 1 AT 4DLEMODE command When performing the AT command driven TCP or UDP socket connection the attached host has the choice to code or not the ETX character When DLEMODE is set to 0 no specific process is needed on ETX characters It means that it is not possible for a host to request a end of connection or to receive a clear indication of end of connection from the TCP IP stack When DLEMODE is set to 1 the ETX character means a request or an indication of end of connection As a consequence ETX characters that belongs to the payload data must be sent by the host on the serial port preceded by a DLE character Similarly ETX characters received by the TCP IP stack from the Internet are sent to the host through the serial port preceded by a DLE character ETX is character hex 03 DLE charact
16. lt id2 gt Response syntax CSNR lt id gt lt num gt Command Possible responses AT CSNR 1 CSNR 1 12345678 OK Note display authorized number in location 1 AT CSNR 1 8 CSNR 1 12345678 CSNR 3 123456 CSNR 6 12345678 CSNR 8 12345678 OK Note display authorized number in from location 1 to 8 AT CSNR CSNR 1 10 1 10 OK Note possible argument Defined Values lt id1 gt Beginning location of the authorized phone number to be read Valid range is from 1 to 10 lt id2 gt Ending location of the authorized phone number to be read Valid range is from 1 to 10 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd maestro NY empowering wireless 12 1 4 AT CSND command This command is to erase authorized phone number entered Command Syntax AT CSND lt id1 gt lt id2 gt Response syntax CSNR lt id gt lt num gt Command Possible responses AT CSND 1 OK Note erase authorized number in location 1 AT CSNR 1 8 OK Note erase authorized number in from location 1 to 8 AT CSND CSND 1 10 1 10 OK Note possible argument Defined Values lt id1 gt Beginning location of the authorized phone number to be erased Valid range is from 1 to 10 lt id2 gt Ending location of the authorized phone number to be erased Valid range is from 1 to 10
17. 0 update dwl 17001 OK Note download update1 dwl file from FTP sub directory file size is 17001 bytes AT FTPDOTA update1 dwl sub 1 ADINSTALL 2 M100 VAF 094d OAT316 32 Nov 11 200718 01 42 Note download update1 dwl file from FTP sub directory and perform program update successfully AT FTPDOTA FTPDOTA update dwl 17001 OK Note check downloaded file ready for update AT FTPDOTA FTPDOTA OK Note no downloaded file Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 41 maestro NY empowering wireless AT FTPDOTA update1 dwl FTPDOTA 3 OK Note error on downloading file FTP open fail AT FTPDOTA FTPDOTA 128 128 Note possible argument Defined Values filename File name of the file to be downloaded Maximum 128 characters path Path directory name where the file is placed Maximum 128 characters If path is omitted program will try to download from FTP s root entry directory Maximum 128 characters update If a third parameter 1 is entered the program will execute the AT ADINSTALL command if the download process is successful 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 ATFADINSTALL command result Result code of the downloading process
18. 11 222 and port 23 AT IPUDP 23 5 255 255 255 255 0 OK to set the modem to wait for UDP socket connection request Server listening mode any calling IP address allowed port 23 AT IPUDP IPUDP 0 65535 C S 120 0 1 OK Note possible argument Defined Values lt port gt The port number to be used for the UDP socket connection Default value is 0 Valid range is 0 to 65535 lt mode gt Mode of UDP operation Default value is S S Server Listening mode This configures Maestro 100evo to open a listening UDP connection on the specified port The UDP connection will be active upon getting socket connection request from the allowed remote UDP peer see lt address gt C Client caller mode This configures Maestro 100evo to request opening a UDP connection to the server with the specified address and port Note This parameter is used by Auto UDP connection see Chapter 4 only address The address of the UDP server or host Default value is empty Legal values could be 32 bit in dotted decimal notation i e XXX XXX XXX XXX or alphanumeric ASCII test string up to 120 characters only if DNS is available on the GPRS network Note In Server Listening mode the modem will only accept UDP connection request for the caller with address specified in the address field Yet if it is set to 255 255 255 255 the modem will accept request from ANY address
19. EEEE EE SEEE ES SEE Aes re renere seers sree 16 5 3 1 WK GH OR Ke gei command ME 16 5 2 2 AT AUTOUDP commande 17 53 AT COMMANDS FOR TUNING AUTO TCP UDP CONNECTION 18 531 ATTAUFGM command sunset 18 AT COMMAND DRIVEN TCP UDP CONNECTION rserevvvvvvvvvvvenvevsvvenvnvnnvennnrnnsennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnrssnnsensnsnnnennnsnnnsnnnsennnnnnsnnnsnnnnenneen 19 6 1 AT COMMANDS FOR AUTO TCP UDP CONNECTION ssessssssssesssseeesieesesttssttt testte tertie ttrt es Stre nssEEe EErEE SEEE ESSEE enere rer eessen essee 19 6 1 1 AT DLEMODE commande 19 6 1 2 AT OTCP command oie cececcecccccccecsessscssccccecscssscesccececsesseesscssceceessesssescessessnueesesessecsesueessssenssaesessecuceesesssesesessesees 20 6 1 3 ATXOUDP command ico HORE ERE EE 20 el ER A e e OB NM E A 22 7 1 AT COMMAND FOR SETTING UP AND EXECUTE PINO 22 TAA ATTIPPING COmMANG TERES Aeddi ere 22 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 1 maestro NY empowering wireless 8 DYNAMCDNS se 24 8 1 DESCRIPTION OF THE OPERATION cccccecececececececececececececececececececececececececececesecececesececececececececeeecesecececeeeeeeeceeeceeececececeseeecess 24 8 2 AT COMMAND FOR CONFIGURING DYNAMIC DNS 25 82 1 AT IPDDNSSERV commande 25 8 2 2 AT IPDDNSACCT commande 25 8 2 3 AT IPDDNSUPD commande 26 9 PERMIAN uendra 28 9 1 DESCRIPTION OF THE OPERATION cccececececececececececececec
20. IPBUFF 5 OK Note Set IPBUFF value to 5 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 11 maestro NY empowering wireless Defined Values lt buff gt The number of bytes of data to be buffered Default value is 0 i e no buffering Valid range is 0 to 100 Note If the TCP or UDP socket connection is broken buffered data will be lost 3 4 Extra TCP UDP Parameters Setup User can set additional parameters of TCP UDP connection including keep alive packet maximum packet size TTL and periodic PING action to monitor Internet connection 3 4 1 AT IPOPT command This command specifies the extra TCP UDP socket parameters Command Syntax AT IPOPT lt CMDType gt lt parameter gt lt action gt Response Syntax IPOPT lt CMDType gt lt parameter gt lt action gt Command Possible responses AT IPOPT IPOPT 1 0 IPOPT 2 536 IPOPT 3 64 IPOPT 4 0 0 OK Note display current settings AT IPOPT 1 1 OK Note enable the keep alive packet feature AT IPOPT 2 512 OK Note set the size of maximum packet that to be sent to 512 bytes AT IPOPT 3 128 OK Note set TTL to 128 AT IPOPT 4 60 1 OK Note Enable Ping action every 60 seconds if ping fail then disconnect GPRS AT IPOPT IPOPT 1 4 0 65535 0 2 OK Note possible argument Defined Values lt CMDType gt 1 setup keep alive packe
21. K Note set network signal trigger level for remote reporting AT TMODE 4 3450 OK Note set input voltage trigger level for remote reporting Defined Values lt mode gt 0 disable periodic mode check 1 enable periodic mode check 2 to set the number in lt para gt field as telephone number for periodic mode check reporting See section 9 1 2 for details 3 to set the number in lt para gt field as network signal trigger level for periodic mode check reporting See section Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 38 4 maestro NY empowering wireless 9 1 2 for details to set the number in para field as input voltage trigger level for periodic mode check reporting See section 9 1 2 for details 13 1 2 Operation of Modem Status Check and Monitoring One Shot mode When user enter AT TMODE command the modem will perform a single check and will send back the result like this TMODE 1 15 10 111 222 33 3814 OK Meaning of parameters Check item Result Result Remark field Rom data checksum 1 0 fail 1 pass network signal 2 range from 1 32 or 99 same as AT CSQ strength modem IP address 3 In XXX XXX XXX XXX format Only shown when GPRS session is activated Input voltage 4 Voltage to the modem s internal See below module times 1000 Note For Maestro modem user This is NOT the input vo
22. LY GPRS PDP context 1 will be used So please setup IPGPRS settings with lt cid gt 1 Once AutoTCP is enabled it will start the TCP socket connection automatically after 20 seconds Once the TCP connection is established successfully the serial port will go to data mode all data entered to the serial port will be sent to remote TCP peer No more AT commands will be accepted then In TCP connected data mode the DSR and DCD signals of the serial port will go to high If the 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 The setting will be saved and after power off the AUTOTCP will be restarted with the 20 seconds delay after power up To stop auto TCP connection you need to enter the command AT AUTOTCP 0 by either 1 within 20 seconds after power up or 2 during reconnection serial port back to command mode or 3 by SMS see Chapter 10 SMS AT command Auto TCP connection is exclusive to other TCP UDP feature See Chapter 16 Q amp A Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 16 maestro NY empowering wireless 5 2 2 AT AUTOUDP command This command controls the Maestro 100evo 100 Lite to start UDPacket connection automatically Before using AT AUTOUDP TCP and GPRS settings MUST be setup properly using AT IPUDP and AT IPGPRS command respectively
23. NS automatic update Open TCP Terminal with port 1024 and enable DDNS update with hostname mymodem dyndns org Commands to be entered Modem response AT IPGPRS 1 INTERNET OK APN is INTERNET AT IPDDNSSERV members dyndns org 80 OK set DDNS server settings AT IPDDNSACCT mymodem dyndns org mylogin mypss OK wd set DDNS account settigns AT IPDDNSUPD 1 OK enable automatic DDNS update AT TCPTERM 2 mypsswd 1024 30 OK set TCP Terminal password to mypsswd port 1024 and timeout 30 secs AT TCPTERM 1 OK enable TCP Terminal 17 5 Perform Remote program update by sending Command over SMS To download update file from ftp maestro com directory update filename MSP dwI login id USER password PASSWORD Remember to enter AT SMSAT 1 to enable AT command over SMS first default key O00000 SMS Flow and response min three SMS to be sent 000000AT IPGPRS 1 sgprs E o 000000AT IPFTP 21 I A 202 100 222 22 2 USER PASSWORD 000000AT FTPDOTA MSP dwl update 1 ADINSTALL 2 M 100 VAF 094d OAT316 32 NOV 11 18 01 42 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 48
24. PCONNECT 1 0 So please enter AT IPCONNECT 1 1 to reconnect GPRS before entering ATtOUDP Due to the nature of UDP socket connection sending ETX characters when DLEMODE is 1 may not be able to make disconnection Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 21 maestro NY empowering wireless 7 PING SERVICE This feature is to make a ping ICMP Echo Request to a specified IP address and get back the echo result Ping service can also be called by IPCONNECT as a tool to check Internet connection See AT IPOPT command in Chapter 3 for details 7 1 AT command for setting up and execute ping 7 1 1 AT IPPING command Command Syntax AT IPPING AT IPPING lt mode gt lt address gt lt nb gt lt delay gt lt timeout gt Response syntax IPPING lt address gt time lt echo time OK Command Possible responses AT IPPING 2 210 103 11 18 3 1 15 OK Note configure ping target 210 103 11 18 3 ping trials total 1 second between each trial timeout limit 15 seconds AT IPPING IPPING 210 103 11 18 time 562ms IPPING 210 103 11 18 time 662ms IPPING 210 103 11 18 time 762ms OK Execute ping action no argument AT IPPING IPPING 0 2 15 1 10 1 10 1 60 AT IPPING IPPING 210 103 11 18 3 1 15 OK Note display current status Defined Values mode 0 1 reser
25. TERM lt stat gt lt psswd gt lt port gt lt timeout gt Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 28 maestro NY empowering wireless Command Possible responses AT TCPTERM 2 123456 23 30 OK Note configure TCP Terminal password 123456 port 23 timeout 30 secs AT TCPTERM 1 Note enable TCP terminal AT TCPTERM 0 OK Note disable TCP terminal AT TCPTERM TCPTERM 1 123456 23 30 OK Note display current status AT TCPTERM TCPTERM 0 1 16 1 65535 1 65535 OK Note possible argument Defined Values lt mode gt 0 disable TCP Terminal 1 enable TCP Terminal See Note 2 configure TCP Terminal parameters lt psswd gt Login password for TCP Terminal When user opens the M100evo TCP Terminal port it will prompt password User need to enter the password set with this parameter User has 3 times of chance to enter correct password If password is correct user can enter AT command otherwise TCP connection will be closed It can be consisting 1 to 16 alphanumeric characters Default is 000000 6 zeros port Port number of TCP Terminal Please do not set to the same value of port number in IPTCP and IPUDP command Default is 23 Valid value is 1 to 65535 timeout Maximum time in second TCP terminal will wait for an entry after TCP terminal opened If no data received in this period the co
26. be discarded If you perform update by entering AT FTPDOTA command over TCP Terminal see Chapter 9 make usre you have set timeout value of TCPTERM command to a large value e g gt 50000 to avoid TCP Terminal closed during downloading process Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 43 maestro NY empowering wireless 15 KNOWN ISSUES The Maestro 100evo Smart Pack will affect certain other AT commands operation Please note 15 1 Mutually exclusive TCP UDP functions Following functions are exclusive to each other i e if either is enabled others could not be then AT AUTOTCP 1 AT AUTOUDP 1 AT OTCP AT OUDP 15 2 Sending Maestro Smart Pack AT commands over SMS You can use the remote AT command by SMS feature to send Maestro Smart Pack AT commands mentioned in this document except the followings AT OTCP AT OUDP AT IPCONNECT Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 44 maestro NY empowering wireless 16 QUESTIONS AND ANSWERS 16 1 Installation Q Can have the TCP IP IP connectivity feature together with this MSP for Maestro 100evo A No You can only choose one of them Q Ifl changed my Maestro 100evo with the MSP installed can it be changed back to have TCP IP feature A It depends Contact Distributor or Maestro Wireless Solutions Q Ihave downloaded the dwl file and entered
27. connect but get message CME ERROR 3 Why A After TCP UDP socket connection the GPRS connection session will also be disconnected So please enter AT IPCONNECT 1 1 to reconnect GPRS first 16 4 Remote AT command by SMS Q Can send any AT command by SMS to control other features described in this document A Yes Please refer to Chapter 15 2 16 5 I O triggered AT command Q Can I put any AT command to control other features described in this document A No MSP AT commands described in this document cannot be executed by this feature 16 6 TCP Terminal Q I have entered AT TCPTERM 1 to enable TCP Terminal but cannot access Maestro by using Telnet why A X After power up or entering AT TCPTERM 1 Maestro 100evo will wait for 15 seconds before starting TCP Terminal So please try later Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 46 maestro NY empowering wireless 17 Examples of MSP setup and operation 17 1 To setup an Automatic TCP connection To setup Auto connect to TCP server with IP 61 167 60 1 port 23 client mode Commands to be entered Modem response AT IPGPRS 1 INTERNET OK APN is INTERNET AT IPTCP 23 C 61 167 60 1 1 OK target TCP is 61 167 60 1 port 23 client mode TxDelay is enabled AT AUTOTCP 1 OK open TCP socket connection TCP connection will start after 20 secs To setup Auto
28. connect to remote TCP client request with any IP address port 23 server mode Commands to be entered Modem response AT IPGPRS 1 INTERNET OK APN is INTERNET AT IPTCP 23 8 255 255 255 255 1 OK to accept TCP connection from any IP address port 23 client mode TxDelay is enabled AT AUTOTCP 1 OK open TCP socket connection Modem will start to monitor TCP port 23 after 20 secs 17 2 To make a AT command driven TCP connection To connect to TCP server with IP 61 167 60 1 port 23 Commands to be entered Modem response AT IPGPRS 1 INTERNET OK APN is INTERNET AT IPTCP 23 C 61 167 60 1 1 OK target TCP is 61 167 60 1 port 23 TxDelay is enabled AT DLEMODE 1 OK AT CGATT 1 OK AT IPCONNECT 1 1 OK GPRS connection AT OTCP CONNECT open TCP socket connection 115200 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd maestro Y empowering wireless 17 3 Setup periodic Ping To setup to pin an IP address every 30 minutes disconnect GPRS if fail Commands to be entered Modem response AT IPGPRS 1 INTERNET OK APN is INTERNET AT IPPING 2 61 167 60 1 3 2 15 OK ping is 61 167 60 1 no of trial is 3 delay between pin is 2 secs timeout is 15 secs AT IPPING 4 1800 1 OK enable Ping every 1800secs if ping fail then disconnect GPRS 17 4 Setup TCP Terminal and Dynamic D
29. ececececscececececececececececececececececesecesesesecesececececesececesecesecececesecececeseeecess 28 92 AT COMMAND FOR TGP TERMINAL 2 tritt eese sert sE EEEE ETE EE e krets Foe vr RE Ee re A E EEA E N EEEE e RER 28 9021 ATTICPTERM command ete ee 28 10 REMOTE AT COMMAND BY SMS iiiscisssecisctassdecdscssdacssiaascaccaideuecassussasuavicalwaasdusacteasaaswsaveduassuassaacsuh RE RC DU A C Cu RE E E A CH D EU ACER 30 10 1 DESCRIPTION OF THE OPERATION ecce ve tee veo eee 30 10 2 AT COMMAND FOR CONFIGURING AT COMMAND BY SMS 31 10 2 1 AT SMSAT commande 31 10 3 LIMITATION AND CAUTION TO BE TAKEN WHEN USING REMOTE AT COMMAND 31 11 WO TRIGGERED AT COMMAND rore inar rex uarie sceau RV R Ea ae RR ERE RE RE ERR CR VR E ER KR ER E a RR RC Ee o CR 32 11 1 DESCRIPTION OF THE OPERATION 5 teria eo koi ee roiv eire re eve eer Ee Eee Ee Eee Ree reor E e veo ENEE ENER AER ore eleva ed 32 11 2 AT COMMAND FOR CONFIGURING I O TRIGGERED AT COMMAND 33 11 2 1 AT JOAT COMMANG EE 33 11 3 NOTES AND CAUTIONS TO BE TAKEN WHEN USING I O TRIGGERED AT COMMAND 34 12 SGAUESCREENING eege rei 35 12 1 AT COMMAND FOR CONFIGURING CALL SCREENING cccssssesssseeececeessnsececececceseueseeececsessaseaececsceeseseaeeeeeeecsesseaeeeeseeesenseaees 35 12 1 1 NEE e E EE ER 12 1 2 ATFCSNW command sausen 35 12 1 3 EE Kee E RE 36 12 1 4 AT CSND commande 37 13 MODEM STATUS CHECK AND MONITORING sorsrsvnvnnenvnnenenvanenvnvenesvnnenvsnenesnanenvsvanesv
30. er ID service is enabled otherwise all incoming call will be rejected 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 12 1 2 AT CSNW command This command is to enter authorized phone number Command Syntax AT CSNW lt id gt lt num gt Response syntax OK Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd maestro NY empowering wireless Command Possible responses AT CSNW 1 12345678 OK Note enter authorized number to location 1 AT CSNW 11 12345678 CME ERROR 3 Note location out of range AT CSNW 3 1qaaa CME ERROR 3 Note non numeric characters not allowed AT CSNW CSRN 1 10 20 Note possible argument Defined Values lt id gt Location of the authorized phone number to be stored Valid range is from 1 to 10 lt num gt Authorized phone number First digit can be others must be numeric digits Maximum length is 20 Note Enter phone number exactly same as the incoming one especially if entering International phone number Use AT CLIP command to check incoming call number first Enter empty phone number in the lt num gt field will erase the record of that location 12 1 3 AT CSNR command This command is to read authorized phone number entered Command Syntax AT CSNR lt id1 gt
31. er is hex 10 Dec 16 Default value is O Command Syntax AT DLEMODE lt mode gt Response syntax DLEMODE lt mode gt Command Possible responses AT DLEMODE 0 OK Note disable DLEMODE AT DLEMODE 1 OK Note Enable DLEMODE AT DLEMODE DLEMODE 1 OK Note display current status AT DLEMODE DELMODE 0 1 Note possible argument Defined Values lt mode gt 1 enable DLEMODE 0 disable DLEMODE Note DLEMODE is not available for Automatic TCP UDP connection Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 19 maestro NY empowering wireless 6 1 2 AT OTCP command This command sent by the attached host to open a TCP connection to the TCP server specified by the AT IPTCP command If socket connection is made successfully it will response CONNECT 115200 and the serial port will go to data mode all data entered to the serial port will be sent to remote TCP UDP peer If socket connection is unsuccessful or socket is disconnected afterwards the modem will send out NO CARRIER message and back to command mode Command Syntax AT OTCP Response syntax CONNECT 115200 Command Possible responses AT OTCP CONNECT 115200 Note TCP connection made successfully AT OTCP CME ERROR 3 Note fail either IPCONNECT is not ready or socket service is used already AT OTCP NO CARRIER Note possibly remote serve
32. es port Port number of the FTP server Default value is 21 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 40 maestro NY empowering wireless lt type gt Translation of carriage return valid values are image no translation default A ASCII E EBCDIC lt mode gt Passive or Active mode valid values are P passive default A active lt server gt IP address of FTP server in xxx xxx xxx xxx format or an alpha numeric string format e g ftp server com Maximum 120 characters Note if alpha numeric string format is used make sure the GPRS network has proper DNS service available lt id gt login name of the user Maximum 64 characters lt pwd gt password for the user Maximum 64 characters 14 1 2 AT FTPDOTA command This command is to inform the modem the filename and FTP path The modem will login to the FTP server download the update file and optionally execute the update process Command Syntax AT FTPDOTA lt filename gt lt path gt lt update gt Response syntax FTPDOTA 0 filename lt filesize gt FTPDOTA lt result gt ADINSTALL lt adinstall result gt Command Possible responses AT FTPDOTA update dwl FTPDOTA 0 update dwl 17000 OK Note download update dwl file from FTP root directory file size is 17000 bytes AT FTPDOTA update1 dwl sub FTPDOTA
33. ggest to get special GPRS service from your network operator a Network will assign a true public IP address to M100evo upon GPRS activations and b that GPRS connection allows incoming access from public Internet to Maestro This feature lets Maestro 100evo can be connected through TCP channel and AT commands can be sent over this channel User can use Telnet type terminal service to login to M100evo and control it by sending AT commands through the telnet 9 1 Description of the Operation Connect Edi Terminal Help password correct at cgsn 352061000294955 oK Va at vafu M188 VAF 895 OAT316 32 May 4 266917 49 33 j RR Telnet Terminal 1 Uses AT TCPTERM command to configure password port for the TCP terminal and enable TCP terminal function 2 After about 20 seconds M100evo will connect to the Internet automatically And then it will check the TCP port 3 User from outside Internet can use Telnet application to connect the port of M100evo TCP terminal User need to know the IP address of the M100evo Or with the aid of Dynamic DNS Chapter user can use the hostname associated the M100evo for connection 4 Once connected user need to enter password If password is correct user can send AT command to the M100evo on Telnet program 9 2 AT command for TCP Terminal 9 2 1 AT TCPTERM command Command Syntax AT TCPTERM lt mode gt lt psswd gt lt port gt lt timeout gt Response syntax OK TCP
34. gh triggering 1 configure as high to low triggering Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 33 maestro NY empowering wireless lt Threshold gt Time required for the detected state to trigger the AT command exestuation Unit is in millisecond Valid value from 1 to 50 0 1 sec to 5 sec Refer to the above timing diagram in section 5 1 lt cmd gt AT command to be executed when the I O port is triggered successfully The length of the command is limited to 128 characters See section 11 3 for more details 11 3 Notes and cautions to be taken when using UO triggered AT command 1 The I O port is limited to drain current 10mA max Never give too high input voltage to the I O port or the modem will be damaged 2 Use only cable metal contact designed for Molex MicroFit connector Using incompatible connector will damage the modem Contact your dealer or Maestro Wireless Solutions if you need wire for the I O port connection 3 The modem will NOT check the command you entered to the cmd field It will be executed even it is not a valid AT command or even not an AT command Check by yourself when you enter the command 4 When triggered the command will be executed in quiet mode i e without any response like OK or ERROR will be sent to external application 5 Do not enter interactive AT command e g AT CMGS otherwise when the command is
35. gnal reach the Threshold value UO port voltage f 4 time T Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 32 maestro NY empowering wireless When set as high to low triggering I O port voltage f Start counting time when a when period of low signal high to low signal reach Threshold value the See AT IOAT command on setting Threshold value T 11 2 AT command for configuring I O triggered AT command 11 2 1 AT IOAT command Command Syntax AT IOAT lt action gt lt dir gt lt Threshold gt lt cmd gt Response syntax SMSAT lt action gt lt dir gt lt Threshold gt lt cmd gt Command Possible responses AT IOAT 0 OK Note disable I O triggered AT command execution AT IOAT zi OK Enable remote I O triggered AT command execution AT IOAT lOAT 1 1 10 AT CMS S 5 OK Note display current status AT IOAT 2 1 10 AT IPR 115200 OK Note set the parameters lt dir gt lt Threshold gt lt cmd gt low to high triggering Threshold 1000 ms command is AT IPR 115200 AT IOAT IOAT 0 2 0 1 1 50 128 OK Note possible argument Defined Values lt action gt 0 disable I O triggered AT command execution 1 enable UO triggered AT command execution 2 configure I O triggered AT command parameters lt dir gt 0 configure as low to hi
36. ies of strange characters appear or the cursor is just moving forward slowly the modem is sending the first characters of the Xmodem protocol d Then on HyperTerminal you choose Transfer Send File Sending JEE DEA o Packet D Emechekng ERE t CS Retries p Total retries Last error ERES File Konk Elapsed Remaining Throughput sps bes e When you see the dialog box on the Filename you choose file according to the modem test HyperTerminal Bisi E De Edit View Cal Transfer Help isla alas Connected 0 05 42 Auto detect 115200 6 7 Maestro 100evo M100 VAF 095 OATS320_1M dwl Then on Protocol choose Xmodem then press OK Then the downloading process will start f After finishing downloading enter command AT CFUN 1 to restart modem g After restarting enter command AT WOPEN 1 to start the MSP program modem will restart h Enter MSP version command AT VAFV to verify Command Expected response AT VAFV M100evo VAF 095a OATS320 Mar 31 201012 42 04 OK Now the Maestro Smart Pack installation has been done You can follow other chapters to use the features Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 5 maestro empowering wireless 3 GPRS AND TCP UDP PARAMETERS SETUP GPRS related functions Automatic and AT command driven TCP UDP connection PING service DDNS support
37. led the modem will treat the incoming SMS as a source of AT command only if all of the following conditions a b and c are fulfilled a The content of SMS sent to the modem is using standard 7 bit GSM data decoding scheme b The first 6 characters of the SMS content matches the key parameter set by AT SMSAT command default key is 000000 c The 7 and 8 characters of the SMS content is AT in capital letters 6 If SMSAT is enabled the modem will read each incoming SMS if the conditions mentioned in 1 are matched the message will be executed even it is an invalid AT command 7 When using SMSAT feature only CNMI x 1 x x x setting could be used i e incoming message will be stored in SIM card 8 The maximum length of the AT command is limited by length of SMS i e 160 6 154 characters 9 When the SMS AT command is executed all intermediate and final responses will be buffered recorded then return to the sender s phone number in one single SMS 10 Ifresponse s of the AT command is are more than 160 characters only the first 160 characters will be returned 11 In case the modem cannot get terminal response within 26 seconds the modem will then abort the command and return intermediate responses if present 8 If the SMSAT feature is enabled all incoming SMS either with valid AT command or not will be erased This is to prevent SIM card memory from fully filled such the modem will not receive new SMS C
38. ltage of the external power supply for the mode it is an internal input voltage inside modem circuit Since there is voltage regulation inside modem user should not change this trigger value Periodic mode When user enter AT TMODE 1 command the modem will perform periodic check every one minute firstly it will check if the modem is registered to the network if the modem is not registered to the network it will increase a counter by one If the counter reach 5 i e not registered for consecutive 5 minutes the modem will reset if the modem is registered to the network the counter will be reset to 0 and perform check same as one shot mode if the result of the network signal strength is lower than the setting of AT TMODE 3 x the test result will be sent over SMS to the telephone number set by AT TMODE 2 xxxxxxx max number of digit is 20 if the result of the input voltage is lower than the setting of AT TMODE 4 x the test result will be sent over SMS to the telephone number set by AT TMODE 2 xxxxxxx if 3 consecutive check fails i e 3 SMS sent then the periodic mode check will be disabled automatically network signal trigger level range is from 1 31 input voltage trigger level is from 3500 to 4100 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 39 maestro NY empowering wireless 14 REMOTE PROGRAM UPDATE By using this feature user can download the new version of Maestro P
39. maestro Ny empowering wireless Maestro Smart Pack User Manual maestro100evo Confidential the whole present document is the sole property of Maestro Wireless Solutions Ltd maestro Y empowering wireless Revision history Rev Date Details Originated by 0 95a 31Mar2010 First release for new Maestro 100evo Wallace Lee 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 Maestro Wireless Solutions Ltd assumes no liability for damage incurred directly or indirectly from errors omissions or discrepancies between the modem and the manual Confidential the whole present document is the sole property of Maestro Wireless Solutions Ltd 1 2 maestro NY emp owering wireless Table of contents INTRODUGTION oHm EEUU 4 INSTALLATION ew v v M 4 2 1 IDENTIFYING YOUR MAESTRO IOOpvo 4 2 1 1 Identifying Maestro 100evo by AT commande 4 2 INSTALLING THE SMART PACK 5 5 intei ec eene REC ERE DR E o des ER C ee eee er Eh b eoa EEEE KESER 4 2 2 1
40. ng action Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 13 maestro NY empowering wireless 5 AUTOMATIC AND SELF RECOVERY TCP UDP CONNECTION The Auto TCP UDP connection feature is defined for accessing serial devices over the Internet Maestro 100evo can be configured that after power up it will connect to a remote TCP UDP socket client mode or to wait for the TCP UDP Socket connection request from remote peer server mode 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 100evo Direct serial connection RS 232 cable serial device TCP Socket connection via the Internet GPRS network Fixed IP 123 456 789 0 V Auto TCP connection set to connect 123 456 789 0 port 23 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 14 maestro NY empowering wireless 5 1 Flow diagram of Auto TCP UDP connection function Modem Power on restart Is AutoT enab CP UDP ed Yes v Wait for 20 secs f Re attach GPRS GPRS attach OK Re activate GPRS GPRS activation OK peer CP UDP connection request from allowed OK to open pre defined
41. nnection will be closed Default is 30 Valid value is 1 to 65535 Note If TCP terminal is enabled the M100evo will connect to GPRS IPCONNECT 1 1 about 15 seconds after power up Only one TCP terminal connection can be made at a time Any further connection requested will be refused Not all AT commands could be executed If un allowed command is entered command not allowed message will be returned Command echo feature is always enabled except entering password Unsolicited codes like RING CMTI etc will not be displayed on TCP terminal Never send interactive AT command by SMS e g AT CMGS This feature cannot return the prompt to the sender for second input 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 present document is the sole property of Maestro Wireless Solution Ltd 29 maestro NY empowering wireless 10 REMOTE AT COMMAND BY SMS This feature is to control the modem to interpret AT command from incoming SMS executing it and return the result to sender by SMS The user can enable the modem to receive AT command by incoming SMS See following about AT SMSAT command 10 1 Description of the Operation Step 1 send AT command to modem by SMS 000000AT CSQ Step 2 modem execute and return response by SMS CSQ 17 0 OK 5 When enab
42. o 100evo First check the Maestro 100evo firmware before installation 2 1 1 Identifying Maestro 100evo by AT command Start HyperTerminal choose correct baud rate to communicate with the modem Then enter the following and see the response according to the following table Model Command Expected response first 8 characters Maestro 100evo ATI3 R73a00gg If you get the same response then this modem is ready for installation 2 2 Installing the Smart Pack 2 2 1 Erasing embedded program You may need to erase embedded program if any before downloading the Smart Pack Again on HyperTerminal enter the following commands step by steps Command entered Expected response AT WOPEN 0 modem may reset AT WOPEN 3 OK AT WOPEN 4 modem may reset Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 4 maestro NY empowering wireless 2 2 2 Downloading the file a Check the HyperTerminal is configured with setting 8 data bits no parity 1 stop bit and hardware flow control CTS RTS b Itis suggested to set the baud he RS232 link is changed to 115200 bps You can first start HyperTerminal session with 9600 bps The on the screen type command AT IPR 115200 and then press Enter Then change the HyperTerminal speed to 115200bps c On the screen type the command AT WDWL and then press Enter The modem should answer WDWL 0 and then a ser
43. olution Ltd maestro NY empowering wireless 3 2 Activating GPRS Connection For using AT command driven TCP UDP connection described in Chapter 5 you need to first activate the MSP GPRS connection There are two AT commands AT CGATT AT IPCONNECT 3 2 1 AT CGATT command This standard AT command is to make the modem to attach to or detach GPRS network For details please read AT command document Command Syntax AT CGATT lt state gt Response Syntax CGATT lt state gt Command Possible responses AT CGATT CGATT 0 OK Note display current status AT CGATT 1 OK Note GPRS attach success AT CGATT 0 OK Note GPRS detach success Defined Values lt state gt 1 attach GPRS 0 detach GPRS 3 2 2 AT IPCONNECT command This MSP AT commands is to make the modem to activate or deactivate GPRS connection Once IPCONNECT is success you can perform TCP UDP connection as described on other chapters Please read note below on using this command Command Syntax AT IPCONNECT lt Bearer gt lt Connect gt Response Syntax IPCONNECT lt Bearer gt lt Connect gt Command Possible responses AT IPCONNECT IPCONNECT 0 1 0 1 OK Note display possible values AT IPCONNECT IPCONNECT 1 0 OK Note display current status AT IPCONNECT 1 1 OK Note Activate GPRS connection success Confidential the whole present document is the sole property of Mae
44. onfidential the whole present document is the sole property of Maestro Wireless Solution Ltd 30 maestro NY empowering wireless 10 2 AT command for configuring AT command by SMS 10 2 1 AT SMSAT command Command Syntax AT SMSAT lt mode gt lt key gt Response syntax SMSAT lt mode gt lt key gt Command Possible responses AT SMSAT 0 OK Note disable remote AT command by SMS AT SMSAT 1 OK Enable remote AT command by SMS AT SMSAT SMSAT 1 000000 OK Note display current status AT SMSAT 2 123456 OK Note set the lt key gt value AT SMSAT SMSAT 0 2 6 OK Note possible argument Defined Values lt mode gt 0 1 2 disable remote AT command by SMS enable remote AT command by SMS change the value of the lt key gt lt key gt A 6 digit numeric character key from 000000 to 999999 Only incoming SMS with the first 6 characters matching with this key will be treated as a valid source of remote AT command 10 3 Limitation and caution to be taken when using remote AT command This feature will not judge the result of executing the command so care has to be taken not to enter improper command that make the modem becoming out of control 1 Never send interactive AT command by SMS e g AT CMGS This feature cannot return the prompt to the sender for second input Always wait for the return SMS with AT responses before you send ano
45. ower Pack program from a FTP server and upgrade the program By combining Remote AT command by SMS feature user can control the Maestro to complete the program downloading and updating process remotely GPRS download file eps e from FTP server AT commands to start download and update AT IPFTP 21 A I 123 456 789 id pwd i AT FTPDOTA new prog dwl 1 To perform the whole program update process several AT commands steps have to be sent AT IPGPRS to set network parameters APN AT IPFTP to set FTP server parameters name user id password AT FTPDOTA to set filename and FTP path and start downloading AT ADINSTALL to install the downloaded new program Note by adding one extra parameter after step 3 complete step 4 will be executed automatically See following PO NRS sections for details 14 1 AT command for Remote program update 14 1 1 AT IPFTP command This command is to set FTP server parameters Command Syntax AT IPFTP lt port gt lt type gt lt mode gt lt server gt lt id gt lt pwd gt Response syntax OK Command Possible responses AT IPFTP 21 I A 201 123 222 222 OK userid pssd Note setup FTP parameter AT IPFTP IPFTP 0 65535 A I E P A 120 64 64 Note possible argument AT IPFTP IPFTP 21 I A 201 222 222 222 userid pssd OK Note display current setting Defined Valu
46. p or 2 during reconnection serial port back to command mode or 3 by SMS see Chapter SMS AT command Auto TCP connection is exclusive to other TCP UDP feature See Chapter 16 Q amp A Due to the nature of UDP socket connection AT AUTOUDP 0 may not be able to disconnection in this case you may send command AT IPCONNECT 1 0 to disconnect GPRS connection Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd maestro NY empowering wireless 5 3 AT commands for tuning Auto TCP UDP connection 5 3 1 AT AUFCM command This command controls the buffering time of TDP UDP data sent to remote peer Data coming towards UART will be buffered for a delay period before being sent out Command Syntax AT AUFCM lt delay gt Response syntax AUFCM lt delay gt Command Possible responses AT AUFCM 1 OK Note set the AUFCM value to 1 AT AUFCM AUFCM 2 OK Note display current status AT AUFCM AUFCM 1 255 Note possible argument Defined Values delay Default value 0 Possible value 1 to 255 Delay units between sending buffered data to TCP UDP peer The actual delay time is calculated by the value of delay times 18 5 ms So if delay is equal to 2 that means data will be sent to remote peer every 39ms or immediately if internal buffer is full Increasing this value can make the data packet size bigger especially when data flow
47. r no response Note AT OTCP connection is exclusive to other TCP feature See Chapter Q amp A If TCP connection is unsuccessful or broken after connection the GPRS connection will also be disconnected IPCONNECT 1 0 So please enter AT IPCONNECT 1 1 to reconnect GPRS before entering AT OTCP 6 1 3 ATFOUDP command This command sent by the attached host to open a UDP connection to the UDP server specified by the AT IPUDP command If socket connection is made successfully it will response CONNECT 115200 and the serial port will go to data mode all data entered to the serial port will be sent to remote UDP peer If socket connection is unsuccessful or socket is disconnected afterwards the modem will send out NO CARRIER message and back to command mode Command Syntax AT OTCP Response syntax CONNECT 115200 AT OUDP Command Possible responses AT OUDP CONNECT 115200 Note UDP connection made successfully AT OUDP CME ERROR 3 Note fail either IPCONNECT is not ready or socket service is used already NO CARRIER Note possibly remote server no response Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 20 maestro NY empowering wireless Note AT OUDP connection is exclusive to other TCP UDP feature See Chapter Q amp A If UDP connection is unsuccessful or broken after connection the GPRS connection will also be disconnected I
48. s available on the GPRS network Note In Server Listening mode the modem will only accept TCP connection request for the caller with address specified in the address field Yet if the it is set to 255 255 255 255 the modem will accept request from ANY address lt TCPTxDelay gt This parameter determines if there is time delay introduced before sending a TCP frame that has not been entirely filled with user data If it is set to 0 initiates the sending of a TCP frame as soon as possible after the reception of a single character value from the host If it is set to 1 initiate a delay will be introduced before the sending of a TCP frame The default value is 0 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 9 maestro NY empowering wireless 3 3 2 AT IPUDP command This command specifies the UDP socket parameters and mode that to be used by automatic or AT command driven UDP connection described in Chapter 4 and 5 Command Syntax AT IPUDP lt port gt lt mode gt lt server gt lt UDPTxDelay gt Response Syntax IPUDP lt port gt lt mode gt lt server gt lt UDPTxDelay gt Command Possible responses AT IPUDP PUDP 0 S m 0 OK Note show current settings AT IPUDP 23 OK Note set the UDP port to 23 AT IPUDP 23 C 202 144 111 222 0 OK Note to set the modem to connect UDP socket Client caller mode to target address 202 144 1
49. snenesvenesnsnenesvnnennsnenesvannnesvsnenvsvanenvsnenesvanennsvenesnnnenvsnenennnne 38 13 1 AT COMMAND FOR MODEM STATUS CHECK AND MONTTORINO 38 13 1 1 ATEDMODE COIDIIADG zu eh Nn GP E E 38 13 1 2 Operation of Modem Status Check and Monitoring essen eene nennen ener 39 14 REMOTE PROGRAM TT EE 40 14 1 AT COMMAND FOR REMOTE PROGRAM UPDATE 40 14 1 1 EH H Ca Kee Lu LEE 40 14 1 2 AT FTPDOTA commande 41 14 1 3 ATADINSTALL ee E E 42 14 2 NOTES AND CAUTIONS TO BE TAKEN ON USING REMOTE PROGRAM UPDATE 43 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 2 maestro NY empowering wireless 15 ils NET 44 15 1 MUTUALLY EXCLUSIVE TCP UDP FUNCTIONS eese e eeenenee te anett ee ue earte sisse teet ne essei eset tenen e eser tete assess 44 15 2 SENDING MAESTRO SMART PACK AT COMMANDS OVER SMS 44 16 QUESTIONS AND ANSWERS esesvrnenenvenesnnnenenvanennsnenenvanenesnenenvanennsnenesnanenesnenennavenesvenesnsnenvnnenennenenvnnnnenennsnenenvenenssnenenvenennsnenennenenvanenvnnenenvanenesnene 45 16 1 INSTALLATION TET 45 Ree EE re dh ei A BEE 45 16 3 AT COMMAND DRIVEN TCP UDP CONNECTION stretn ttoo tt tton s treos stores onsere ess ne tese eeeere oe sereessen 46 16 4 REMOTE AT COMMAND BY SMS 46 16 5 TO Nee EN Ree EC E 46 16 6 TEP TERMINAL O 46 17 EXAMPLES OF MSP SETUP AND OPERATION rmsrn
50. stro Wireless Solution Ltd 7 maestro NY empowering wireless AT IPCONNECT 1 1 CME ERROR 3 Note Activate GPRS connection fail AT IPCONNECT 1 0 OK Note Deactivate GPRS connection success Defined Values lt Bearer gt 0 using GSM Bearer Note do NOT use this for MSP 1 using GPRS Bearer lt Connect gt 0 to stop connection 1 to start connection Note Before you making GPRS connection by this command make sure you have finished the following first 1 Entered APN settings by AT IPGPRS command Chapter 3 1 1 2 Attached to GPRS network by AT CGATT command Chapter 3 2 1 It is suggested after modem power up wait about 20 seconds before making GPRS connection 3 3 TCP UDP Parameters Setup For using automatic or AT command driven TCP UDP connection described in Chapter 4 and 5 you need to first enter the target TCP UDP peer parameters There are AT IPTCP AT IPUDP AT IPBUFF 3 3 1 AT IPTCP command This command specifies the TCP socket parameters and mode that to be used by automatic or AT command driven TCP connection described in Chapter 4 and 5 Command Syntax AT IPTCP lt port gt lt mode gt lt server gt lt TCPTxDelay gt Response Syntax IPTCP lt port gt lt mode gt lt server gt lt TCPTxDelay gt Command Possible responses AT IPTCP IPTCP 0 8 0 OK Note show current settings AT IPTCP 23 OK Note set the TCP port to 23 AT
51. t feature when parameter is 0 the feature is disabled when lt parameter gt is 1 and a TCP socket connected every 7200 seconds 2 hours an empty keep alive packet will be sent out from the modem to avoid socket being closed because of idle timeout 2 specify the maximum size of the outgoing packet to parameter The size can be set from 1 to 65535 0xFFFF default value is 536 3 specify the TTL value of the socket connection to parameter The value can be set from 1 to 255 default value is 64 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 12 maestro NY empowering wireless 4 specify weather to use ping function to check Internet connectivity parameter is the period in second of calling ping function after GPRS connected IPCONNECT 1 1 default value is 0 ping action disabled action is to specify the action will be taken if a set of ping action fail 0 do nothing default 1 disconnect GPRS IPCONNECT 1 0 2 reset Maestro Note Before enabling periodic ping action IPOPT 4 1 be sure to setup Ping parameters properly See Chapter for details Periodic ping action is enabled with GPRS disconnection IPOPT 4 x 1 then Automatic TCP UDP connection should be also enabled so that those functions will try to re connect GPRS after disconnection caused by ping fail Period of ping action should be set larger than the maximum time of one set of pi
52. ther SMS AT command 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 Always think twice before you send AT command by SMS 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 Some MSP AT commands can be sent over SMS See Chapter 15 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 31 maestro NY empowering wireless 11 I O TRIGGERED AT COMMAND This feature makes use of the Maestro 100evo Input Output port as a sensor If the signal to the port match the pre defined condition a stored AT command will be executed User can use AT IOAT command to set the condition and store AT command to be executed 11 1 Description of the Operation I O port Wiring Diagram switch To I O port 0 e To supply negative 3 DC 1 When the I O port is connected to high 3V signal Switch closed logic level high Switch opened logic level low 2 The switch can be placed as a triggering device e g to detect door opening According to the setting of AT IOAT command the stored AT command will be executed either I O signal from high to low or from low to high When set as low to high triggering when period of high signal Start counting time when a low to high si
53. tro Wireless Solution Ltd 42 maestro NY empowering wireless Defined Values lt result gt 2 3 update process successful update process unsuccessful original program will be loaded Note for other result code please contact Maestro Wireless Solutions lt ver gt Version number of existing running Maestro Smart Pack program 14 2 Notes and cautions to be taken on using remote program update 1 This feature is ONLY for updating new Maestro Smart Pack program 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 Make sure you have setup GPRS settings by AT IPGPRS command When entering AT FTPDOTA command the program will make GPRS connection automatically if not connected before It is recommended to stop other Maestro Smart Dacks features such as AutoTCP UDP connection during program downloading and updating Depending on the file size and network condition the download time could be a few minutes up to 3o minutes Be patient to wait for response after entering AT FTPDOTA command Do not use character on filepath because it cannot be transferred correctly over SMS No resume function on FTP downloading The whole file has to be downloaded at one time otherwise the downloaded data will
54. ved 2 configure ping address and parameters below address IP address of the target to be pinged Must be in form of dot decimal notation XXX XXX XXX XXX nb Numbers of ping trials for each ping action E g if the value is 3 will ping the target for 3 times Default value is 3 Valid range is 1 to 10 When used with IPCONNECT check the ping is assumed fail if all ping trails fail delay Time in second between each ping trial Default value is 3 Valid range is 1 to 10 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 22 maestro NY empowering wireless lt timeout gt Timeout value in second for ping request Recommended to be more than 10 Default value is 15 Valid range is 1 to 60 Note Ping target must be in dot decimal notation format URL format is not supported Before making command driven ping action AT IPPING w o argument make sure GPRS is connected IPCONNECT 1 1 and ping target and parameters are set properly Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 23 maestro NY empowering wireless 8 DYNAMIC DNS Note To use this feature we strongly suggest to get special GPRS service from your network operator a Network will assign a true public IP address to M100evo upon GPRS activations and b that GPRS connection allows incoming access from public Internet to Maestro
55. vnvnvenvnnanenvanenvnvanenvnnenenvanesnanenesvenenvsnenesvenennenenenvenesnenenvsvenenennsnenesvenenvsnenenvanennsvenennnnenvanenvsnene 47 17 1 TO SETUP AN AUTOMATIC TOP CONNECTION eee etes ee eee ee eoe vu exe eee ee voe Evene ve eee Ue eun EE eue ee koe E oe eoe ve Eee eee oves inst 47 17 2 TO MAKE A AT COMMAND DRIVEN TChPRCONNBCTION 47 17 3 SETUP PERIODIC Dm 48 17 4 SETUP TCP TERMINAL AND DYNAMIC DNS AUTOMATIC UPDATE 48 17 5 PERFORM REMOTE PROGRAM UPDATE BY SENDING COMMAND OVER SMS 48 Confidential the whole present document is the sole property of Maestro Wireless Solution Ltd 3 maestro NY empowering wireless 1 INTRODUCTION Maestro Smart Pack MSP package is a software solution for Maestro 100evo series modems New functions added to increase application range of various industrial and automated applications Automatic and self recovery TCP UDP socket connection AT command driven TCP UDP socket connection Ping service Dynamic DNS note 1 Remote AT command through SMS and TCP Terminal note 1 I O triggered AT command execution Call screening reject call made by unauthorized phone number Modem status check and monitoring Remote program updating Maestro 100evo and Maestro 100evo EXT only Users can configure and use the above features by AT commands Note 1 Special GPRS service from network recommended See Chapter 8 and 9 for details 2 INSTALLATION 2 1 Identifying your Maestr

Download Pdf Manuals

image

Related Search

Related Contents

Instruction manual - FridgeFilters.com  EK1-ITB 2000:2011  cartimax cheval  Catalogue de la sculpture, la fonderie de loisir et la fonderie d`art  Uniden UBC93XLT User's Manual  Manuel de référence complet  Manual TC-P50S20B.pmd  Chrysler 2006 Sebring Sedan Automobile User Manual  

Copyright © All rights reserved.
Failed to retrieve file