Home

GSM GPRS Modem 900 / 1800 Value Added Feature USER MANUAL

image

Contents

1. een UU 19 8 13 AMOU DP command ee eco 19 REMOTE AT COMMAND BY SMS e 21 6 1 DESCRIPTION OF THE OPERTATION ede costo 21 6 2 AT COMMAND FOR CONFIGURING AT 2 2 4 02 0 00000000000000000000000 22 O21 JAEISMSAT command itecto red te seto tenete 22 6 3 LIMITATION AND CAUTION TO BE TAKEN WHEN USING REMOTE AT COMMAND ssessssesececsesensececececeesensseeececeeenentsaeeeeecs 22 TRIGGERED AT COMMAND cccccccscsescscscscscscscssessssssssecscscecssevsssususeseseseseseveueususesesesesesesaesavsuavavessusesesesasesesavavaveususesesesesaveveveusususeseseeaseceses 24 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 1 V Fargo Telecom Asia ltd DESCRIPTION OF THE OPERTATION sscccecececsesesececececeesssececececseseseceececcsesseaeeececeeseaasecececseseuaaeseeeceeseausaeeeesesesensaaeeeeees 24 7 2 COMMAND FOR CONFIGURING I O TRIGGERED AT COMMAND scccsssssssecsssseceeseeecesssececsseeecseseeeceessececsesseceesaseeenesaees 25 T2 esee Uode AIVE TEE e Ele eure 25 7 3 NOTES AND CAUTIONS BE TAKEN WHEN USING I O TR
2. 7 3 3 TCP UDP PARAMETERS SETUP 3 n tete abe selec IE RINT RI DECR HE 8 3 34 AT HPTCP command nece eie e vere bee eot 8 3 32 ANTEIPUDP comm amp rnd i ette eret tee tee ve esent t n cte etie uito 10 933 9 ATLHIPBUBE cotnmatnds rede ineo a Pr Dee 11 AUTOMATIC AND SELF RECOVERY TCP UDP CONNECTION cccccscscscscscscssssscssssscscecscesevsvsusesesesececeseveveveususssesesesesesesaveveveusesesesesesesenevevens 13 4 1 FLOW DIAGRAM OF AUTO TCP UDP CONNECTION 00000000000000 14 4 2 AT COMMANDS FOR AUTO TCP UDP CONNECTION 15 A2 J SXAXEEAUTOTCP comriAald ceo taie eese a a 15 422 command ais oec eee i hoc e ce ce ida ae ues 16 AT COMMAND DRIVEN TCP UDP CONNECTION c cccscscscscscssssscscscssssscscscscssessusessseseseseseceseveususeseseseseseseveusuavevausesesesesesesavevevausesesesesecasasevevens 18 5 1 AT COMMANDS FOR AUTO TCP UDP CONNECTION ccccsssscecsssceceessceceessececsscceceeaeeeceessececseeecsesaeeeceesseeecsssseceeseeeeeesaees 18 5 1 1 AT DLEMODE 18 5212 lt
3. 4 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 5 Some VAF AT commands can be sent over SMS See Chapter Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 23 amp Fargo Telecom fisia ltd 7 1 0 TRIGGERED AT COMMAND This feature making use of the Fargo Maestro 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 command to set the condition and store AT command to be executed 7 1 Description of the Operation 1 O port Wiring Diagram switch Qe To supply negative 3v DC To I O port lk 1 When the port is connected to high signal Switch closed logic level high Switch opened logic level low 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 Start counting time when a when period of high signal low to high signal reach the Threshold value port voltage E gt time T Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd
4. Fargo Telecom fargo Maestro 100 Imo Fargo Maestro 100 Fargo Maestro 20 GSM GPRS Modem 900 1800 Value Added Feature USER MANUAL Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd Fargo Telecom ltd Revision history Rev Date Details Originated by 0 9 22July 2005 First release Wallace Lee 0 91 22Feb 2006 Remove AT command history feature Wallace Lee Remote AT command when enabled all incoming SMS will be erased 0 92 21Apr 2006 AutoTCP UDP Add DCD DSR signaling Wallace Lee modify command data mode switching 0 44 30CT2006 Support Fargo Maestro 100 Lite Wallace Lee New Feature AT command driven TCP UDP connection Call screening VAF AT commands can be sent over SMS Fargo Maestro is a registered trademark of Fargo Telecom Asia Ltd This manual is written without any warranty Fargo Telecom Asia 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 Fargo Telecom Asia 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 t
5. Mode of TCP operation Default value is 5 S Server Listening mode This configures Fargo Maestro to open a listening TCP connection on the specified port 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 Fargo Maestro 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 lt address gt The address of the TCP server or host Default value is empty Legal values could be 32 bit in dotted decimal notation i e 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 TCP connection request for the caller with address specified the lt address gt field Yet if the it is set to 255 255 255 255 the modem will accept request from address Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 9 amp Fargo Telecom fisia ltd lt TCPTxDelay gt This parameter determines the time delay introduced before sending a TCP frame that has not been entirely filled with user data The timer is entered in milliseconds and it should be noted that a value of 0 initiates the sending of a TCP frame as soon as po
6. 8 1 2 AT CSNW command This command is to enter authorized phone number Command Syntax AT CSNWz id num Response syntax OK Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 27 amp Fargo Telecom fisia ltd Command Possible responses AT CSNW 1 12345678 OK Note enter authorized number to location 1 AT CSNWZ711 12345678 CME ERROR 3 Note location out of range AT CSNW2 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 num field will erase the record of that location 8 1 3 AT CSNR command This command is to read authorized phone number entered Command Syntax AT CSNR lt id1 gt 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 123
7. 10 Q amp A Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd amp Fargo Telecom fisia ltd Due to the nature of UDP socket connection ATtAUTOUDP 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 Fargo Telecom Asia Ltd 17 amp Fargo Telecom fisia Ud o AT COMMAND DRIVEN TCP UDP CONNECTION Note This chapter does not applicable to Fargo Maestro 20 This feature let user to make a TCP UDP connection upon the or AT OUDP command This socket connection feature do support DLE ETX character coding See The AT OTCP and AT OUDP operation is similar to ATHOTCP and ATHOUDP function provided original IP Connectivity See IP connectivity document Make sure you have made the GPRS connection by AT IPCONNECT command before making socket connection see Chapter 11 setup examples 5 1 AT commands for Auto TCP UDP connection 5 1 1 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 E
8. 2 Note 2 For Fargo Maestro 100 with TCP IP and Fargo Maestro 100 Lite only 2 INSTALLATION 2 1 Identifying your Fargo Maestro Not all Fargo Maestro can have the Value added feature installed so you need to check your Fargo Maestro modem before installation 2 1 1 Identifying Fargo Maestro by AT command Start HyperTerminal choose correct baud rate to communicate with the modem Fargo Maestro 20 100Lite 9600bps 8N1 Fargo Maestro 100 115200bps 8N1 Then enter the following and see the response according to the following table Model Command Expected response Fargo Maestro 20 AT WOPEN 2 WOPEN 2 AT v02 10 Fargo Maestro 100 AT WOPEN 2 WOPEN 2 AT v02 10 AT v02 10 Fargo Maestro 100 Lite AT WOPEN 2 WOPEN 2 AT v03 01 If you get the same response then this modem is ready for installation 2 2 Installing the Value added feature 2 2 1 Erasing the IP connectivity feature AT feature Fargo Maestro 100 only For Fargo Maestro 100 you need to erase the IP connectivity feature before downloading the Value added feature Again on HyperTerminal enter the following commands step by steps Command entered Expected response AT WOPEN 0 modem will reset AT WOPEN 3 OK AT WOPEN 4 modem will reset Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 3 Fargo Telecom fisia ltd 2 2 2 Downloading the file a Check the Hy
9. 24 amp Fargo Telecom fisia Ud When set as high to low triggering I O port voltage Start counting time when when period of low signal high to low signal reach Threshold value the See command on setting Threshold value 7 2 AT command for configuring I O triggered AT command 7 2 1 command Command Syntax AT lIOAT 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 1 OK Enable remote I O triggered AT command execution AT IOAT 1OAT 1 1 10 55 5 OK Note display current status AT lOAT 2 1 10 AT IPR 1 15200 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 0 2 0 1 1 50 128 OK Note possible argument Defined Values lt action gt 0 disable triggered AT command execution 1 enable triggered AT command execution 2 configure triggered AT command parameters lt dir gt 0 configure as low to high triggering 1 configure as high to low triggering Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 25 amp Fargo Telecom fisia Ud lt Threshold gt Ti
10. UDP CONNECTION 0 0000 0000000100000000000000 sst en ene ee ness 31 10 4 RMOTEAT COMMAND BY SMS ei e pev ere Ee eta 32 10 5 Iro TRIGGERED GOMMAN D 32 1 EXAMPLES OF VAF SETUP AND OPERATION cccscscscssscscscscssssesessssscssscesevsusessseseseseseseseveveusesesesesesesesevavscsveveususesasesasecesavevevausesasesesesavavevauses 33 11 1 TO MAKE AT COMMAND DRIVEN TCP CONNECTION ccssccccccecsessssececccecsenssececececseseaesecececsesessaesececseseaeseeeeeesenesaaeeeeees 33 11 2 TO SSETUPA AUTOMATIG CONNECTION a e a reete eae ever Vea uv ee eere eeu 33 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 2 amp Fargo Telecom fisia Ud 1 INTRODUCTION Fargo Maestro Value Added Feature VAF package is a software solution for Fargo Maestro modem note 1 New functions added to increase application range of various industrial and automated applications Automatic and self recovery TCP UDP socket connection note 2 AT command driven TCP UDP socket connection note 2 Remote AT command AT command through SMS I O triggered AT command execution Call screening reject call made by unauthorized phone number Users can configure and use the above features by AT commands Note 1 Not all Fargo Maestro can have this feature installed Please refer to Chapter
11. driven TCP UDP connection is made If the quantity of buffered data reach 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 Nos 18 bytes of data sent BCDEFGH 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 lt buff gt Response Syntax IPBUFF buff Command Possible responses Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 11 amp Fargo Telecom fisia ltd AT IPBUFF IPBUFF 0 100 OK Note display possible values AT IPBUFF IP BUFF 0 OK Note display current status AT IPBUFF 5 OK Note Set IPBUFF value to 5 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 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd amp Fargo Telecom fisia ltd 4 AUTOMATIC AND SELF RECOVERY TCP UDP CONNECTION Note This chapter does not applicable to Fargo Maestro 20 The Auto TCP UDP connection featur
12. from the allowed remote UDP peer see lt address gt C Client caller mode This configures Fargo Maestro to request opening a UDP connection to the server with the specified address and lt port gt Note This parameter is used by Auto UDP connection see Chapter 4 only Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 10 Fargo Telecom fisia ltd lt address gt The address of the UDP server or host Default value is empty Legal values could be 32 bit in dotted decimal notation i e 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 lt UDPTxDelay gt This parameter determines the time delay introduced before sending a UDP frame that has not been entirely filled with user data The timer is entered in milliseconds and it should be noted that a value of 0 initiates the sending of a UDP frame as soon as possible after the reception of a single character value from the host The default value is 100 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
13. installation problem You can issue command AT WOPEN O 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 disable the VAF A Yes you can enter AT2WOPENC O to disable Q 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 Fargo Telecom Q lhad download incorrect dwl file and the modem is not responding after issuing AT WOPEN 1 What should do A You may need to re flash the main firmware Please contact Fargo Telecom or your distributor 10 2 AutoTCP UDP Q Canlspecify 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 IfI enabled AutoTCP or AutoUDP how can stop it A you need to enter the command AT tAUTOTCP 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 10 3 AT command driven TCP UDP connection Q Why I see three coming after entering AT IPCONNECT 1 1 command A The VAF program is issuing internal AT command for GPRS setup so extra OK responses will be seen Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 31 Ly Fargo Tel
14. 456 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 Fargo Telecom Asia Ltd amp Fargo Telecom Asia ltd 8 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 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd amp Fargo Telecom fisia ltd 9 KNOWN ISSUES The Fargo Maestro Value Added Feature will affect certain other AT commands operation Please note 9 1 AT WIND co
15. CME ERROR 3 Note fail either IPCONNECT is not ready or socket service is used already AT OUDP NO CARRIER Note possibly remote server no response 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 IPCONNECT 1 0 So please enter AT IPCONNECT 1 1 to reconnect GPRS before entering AT OUDP 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 Fargo Telecom Asia Ltd amp Fargo Telecom fisia Ud 6 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 6 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 1 When enabled 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 param
16. DP 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 mode 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 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 Ifthe 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 setting will be saved and after power off the AUTOUDP will be restarted with the 20 seconds delay after power up stop auto UDP connection you need to enter the command AT tAUTOUDP 0 by 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 Auto TCP connection is exclusive to other TCP UDP feature See Chapter
17. IGGERED AT 02 2 44 26 5 27 8 1 AT COMMAND FOR CONFIGURING CALL SCREENING 2 40 200020000000000000000000000000020000000 27 81 JALFOSRN command erties 27 Sele TATEGSNIWWCommalld e occ o eee tte tte es atte ted ay Th ae acl Saat fate M one 27 82122 Mouctdudiaeteste athe 28 951524 ATSCSND comtmang ae 29 56 30 91 AT WND COMMAND 30 9 2 SAVING OF PARAMETERS NON VOLATILE MEMORY 40 000002000 0000000000000000000000000 0 30 9 3 MUTUALLY EXCLUSIVE LEP UDP FUNCTIONS E A ER 30 9 4 SENDING VAF AT COMMANDS OVER SMS n a R E A RN 30 0 QUESTIONS AND ANSWERS bui c EL I A aaa 31 10 1 DER 31 1925 2 31 10 3 AT COMMAND DRIVEN TCP
18. RS IPGPRS 1 INTERNET an 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 VAF 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 Fargo Telecom Asia Ltd 6 amp Fargo Telecom fisia Ud 3 2 Activating GPRS Connection For using AT command driven TCP UDP connection described in Chapter 5 you need to first activate the VAF GPRS connection There are two AT commands AT CGATT AT IPCONNECT 3 2 1 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 CGAT T lt state gt Response Syntax CGATT state 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 att
19. TX 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 is character hex 03 DLE character is hex 10 Dec 16 Default value is O Command Syntax AT DLEMODE mode Response syntax DLEMODE mode Command Possible responses 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 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 18 amp Fargo Telecom fisia ltd Defined Values lt mode gt 1 enable DLEMODE 0 disable DLEMODE Note DLEMODE is not available for Automatic TCP UDP connection 5 1 2 command This command sent by the attached host to open a TCP connection to the TCP server specified by the AT IPCTP 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
20. ach GPRS 0 detach GPRS 3 2 2 command This VAF 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 lt Bearer gt lt Connect gt Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd amp Fargo Telecom fisia Ud 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 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 VAF 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 Pa
21. 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 Fargo Telecom Asia Ltd 26 amp Fargo Telecom fisia ltd 8 CALL SCREENING This feature enable the Fargo Maestro 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 8 1 AT command for configuring call screening 8 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 Caller 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
22. e is defined for accessing serial devices over the Internet Fargo Maestro 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 Fargo Maestro Direct serial connection RS 232 cable serial device TCP Socket connection via the Internet GPRS network RS 232 cable Broad band Fixed IP a A 123 456 789 0 V i Program monitoring Auto TCP connection set to connect Port 23 123 456 789 0 port 23 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 13 onl restart ES Is AutoT enab CP UDP ed Yes v Wait for 20 secs Stop du Nea amp Fargo Telecom fisia Ud 4 1 Flow diagram of Auto TCP UDP connection function GPRS GPRS attach OK Re activate GPRS CP UDP connection request from allowed peer Open TCP UDP socket connect to serial port TCP UDP disconnected or closed GPRS attach fail Yes GPRS activation Confidential the whole present document is
23. ecom Asia ltd After the TCP UDP connection is stopped wan to enter AT OUDP to reconnect 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 10 4 Remote AT command by SMS Q send AT command by SMS to control other features described in this document A Yes Please refer to Chapter 9 4 10 5 I O triggered AT command Q Can I put any AT command to control other features described in this document A No VAF AT commands described in this document cannot be executed by this feature Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 32 amp Fargo Telecom fisia Ud 11 Examples of VAF setup and operation 11 1 To setup a 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 IPCTP 23 C 61 167 60 1 100 OK target TCP is 61 167 60 1 port 23 client mode TxDelay is 100ms AT AUTOTCP 1 OK open TCP socket connection TCP connection will start after 20 secs To setup Auto 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
24. eter set by AT SMSAT command default key is 000000 c The 7 and 8 characters of the SMS content is AT in capital letters 2 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 3 When using SMSAT feature only CNMI x 1 x x x setting could be used i e incoming message will be stored SIM card 4 The maximum length of the AT command is limited by length of SMS i e 160 6 154 characters 5 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 6 If response s of the AT command is are more than 160 characters only the first 160 characters will be returned 7 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 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 21 amp Fargo Telecom fisia Ud 6 2 AT command for configuring AT command 6 2 1 AT SMSAT command Command Syntax AT SMSAT lt mode gt lt key gt Response syntax SMSAT lt mode gt lt ke
25. he sole property of Fargo Telecom Asia Ltd amp Fargo Telecom fisia Ud 1 2 7 Table of contents INTRODUCTION S45 dert ette Ap ert ntu eie E AE AEE 3 INSTALLATION PRCCREL 3 2 1 IDENTIFYING YOUR FARGO MAESTRO cesses 3 2 1 1 Identifying Fargo eee ade eda re e 3 2 2 INSTALLING EHE VALUE ADDED FEATURE ee TR dee eR ede tuere codes Vo cte ede E 3 2 2 1 Erasing the IP connectivity feature AT feature Fargo Maestro 100 3 22 3 WDowtiloading the 4 GPRS AND TCP UDP PARAMETERS SETUP iniiis indi aara aie eaaa ia aA oara aaas iaioa 6 3 1 GPRS NETWORK 1 2 0 2 2 002 01000000000000000000000000000000000000000 teda sedes sette trans a eset nets asse enne 6 Salty TATERLP GPRS COMMMAN Goth abies esc E Men Td 6 3 2 ACTIVATING GPRS CONNECTION 5 7 cCAT CGCOATT Command aoo 7 3 2 2 AT IPCONNECT command
26. ically 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 SMS AT command Auto TCP connection is exclusive to other TCP UDP feature See Chapter 10 Q amp A Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 15 amp Fargo Telecom fisia Ud 4 2 2 ATFAUTOUDP command This command controls the Maestro 100 100 Lite to start UDPacket connection automatically Before using ATFAUTOUDP and GPRS settings MUST be setup properly using AT IPUDP and AT IPGPRS command respectively Command Syntax AT AUTOUDP lt mode gt Response syntax AUTOUDP lt mode gt Command Possible responses AT AUTOUDP 0 OK Note disable AutoU
27. is INTERNET AT IPCTP 23 C 255 255 255 255 100 OK to accept TCP connection from any IP address port 23 client mode TxDelay is 100ms AT AUTOTCP 1 OK open TCP socket connection Modem will start to monitor TCP port 23 after 20 secs 11 2 To make AT command driven TCP connection IP Connectivity AT feature user can follow the following steps to make OCTP connection To connect to TCP server with IP 61 167 60 1 port 23 Commands to be entered Modem response Corresponding AT command AT IPGPRS 1 INTERNET OK AT APNSERV APN is INTERNET AT IPCTP 23 C 61 167 60 1 100 OK AT TCPSERV target TCP is 61 167 60 1 port 23 TxDelay is AT TCPPORT 100ms AT TCPTXDELAY AT DLEMODE 1 OK AT DLEMODE AT CGATT 1 OK AT CGATT 1 AT IPCONNECT 1 1 OK AT CONNECTIONSTART OK GPRS connection OK AT OCTP CONNECT 115200 ATHOCTP open TCP socket connection Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 33
28. me 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 5 3 for more details 7 3 Notes and cautions to be taken when using 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 Fargo Telecom if you need wire for the 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 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 port by other AT commands anymore 7 Due to product limitation the modem cannot
29. mmand AT WIND command will be disabled Fargo Maestro 100 only 9 2 Saving of parameters to non volatile memory You cannot save the settings of the following AT commands by concatenating the amp W command Fargo Maestro 100 only AT CREG AT CGREG AT CGEREP To save the above settings please enter AT amp W separately 9 3 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 9 4 Sending VAF AT commands over SMS You can use the remote AT command by SMS feature to send VAF 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 Fargo Telecom Asia Ltd 30 amp Fargo Telecom fisia Ud 10 QUESTIONS AND ANSWERS 10 1 Installation Q If my Fargo Maestro cannot match with the requirement stated in section 2 1 can upgrade it A Older Fargo Maestro cannot be upgraded Q Can Ihave the TCP IP IP connectivity feature together with this VAF for Fargo Maestro 100 A You can only choose one of them Q changed my Fargo Maestro with the VAF installed can it be changed back to have TCP IP feature A It depends Contact Distributor or Fargo Telecom Q Ihave downloaded the dwl file and entered AT WOPENc 1 but still cannot use VAF features why A It could be
30. perTerminal is configured with setting 8 data bits no parity 1 stop bit and hardware flow control CTS RTS b For Fargo Maestro 20 and Fargo Maestro 100 Lite it is 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 For Fargo Maestro 100 the default speed is 115200bps c On the screen type the command AT WDWL and then press Enter The modem should answer WDWL 0 and then a series 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 ending Packet Enorchecking ERC Retries p Total retries p Last error Sa File OK of 1K Elapsed Remaining Throughput test HyperTerminal _ Of x Eile Edi View Call Transfer Help 3 0 J x Connected 0 05 42 Auto detect 115200 amp 4 2 Fargo Maestro 20 FM20 094 OAT210 16 dwl Fargo Maestro 100 100 094 OAT210 32 dwl Fargo Maestro 100 FM100 094 32 dwl Then on Protocol choose then press Then the downloading process will start f After finishing downloading enter command AT CFUN 1 to restart modem g After restarting en
31. rameters 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 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 8 amp Fargo Telecom fisia Ud 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 S 100 OK Note show current settings IPTCP 23 OK Note set the TCP port to 23 AT IPTCP 23 C 202 144 111 222 100 OK Note to set the modem to connect TCP socket Client caller mode to target address 202 144 111 222 and port 23 AT IPTCP 23 S 255 255 255 255 100 OK to set the modem to wait for TCP socket connection request Server listening mode any calling IP address allowed port 23 IPTCP IPTCP 0 65535 C S 120 0 32760 OK Note possible argument Defined Values lt 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
32. ssible after the reception of a single character value from the host The default value is 100 3 3 2 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 IPUDP 0 S 100 OK Note show current settings AT IPUDP 23 OK Note set the UDP port to 23 AT IPUDP 23 C 202 144 111 222 100 OK Note to set the modem to connect UDP socket Client caller mode to target address 202 144 111 222 and port 23 AT IPUDP 23 S 255 255 255 255 100 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 32760 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 Fargo Maestro to open a listening UDP connection on the specified lt port gt The UDP connection will be active upon getting socket connection request
33. ter command AT WOPEN 1 to start the VAF program modem will restart Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 4 amp Fargo Telecom fisia Ud h Enter VAF version command AT VAFV to verify Command Expected response AT VAFV 100 094 210 32 Sep 28 200618 01 42 OK Now the Fargo Maestro Value added Feature installation has been done You can follow other chapters to use the features Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd amp Fargo Telecom fisia ltd 3 GPRS AND TCP UDP PARAMETERS SETUP Note This chapter does not applicable to Fargo Maestro 20 The Automatic and AT command driven TCP UDP connection described in Chapter 4 and 5 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 tIPGPRS 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 IPGP
34. the sole property of Fargo Telecom Asia Ltd Client mode GPRS activation OK OK to open pre defined TCP UDP socket v Open TCP UDP socket connect to serial port lt TCP UDP disconnected or closed GPRS attach fail No ctivation Yes Dealy 2 seconds il No 14 amp Fargo Telecom fisia Ud 4 2 AT commands for Auto TCP UDP connection 4 2 1 command This command controls the Maestro 100 100 Lite to start TCP socket connection automatically Before using ATFAUTOTCP 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 TCP settings by AT IPTCP command see Chapter 3 ONLY 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 automat
35. 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 server no response Note 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 5 1 3 AT OUDP command This command sent by the attached host to open 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 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 19 amp Fargo Telecom fisia ltd Command Syntax AT OTCP Response syntax CONNECT 115200 Command Possible responses AT OUDP CONNECT 115200 Note UDP connection made successfully AT OUDP
36. y 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 disable remote AT command by SMS 1 enable remote AT command by SMS 2 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 6 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 another 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 Confidential the whole present document is the sole property of Fargo Telecom Asia Ltd 22 amp Fargo Telecom fisia Ud

Download Pdf Manuals

image

Related Search

Related Contents

5 - SEW Eurodrive  Samsung VLUU WB5500 Manuel de l'utilisateur  37 Universités à distance  2000 - Mathématiques académie de Tours  2 Säulen Hebebühne  Kaiser Fototechnik 5450 camera kit  Beafon SL650 2.4" 78g White  Axion Image Viewer User's Guide    dotpad pocket 6`` ultradelgada / camara / curso de inglés  

Copyright © All rights reserved.
Failed to retrieve file