Home
GPRS-RS232 Communicator user guide
Contents
1. Virtual serial port configuration e Run the VSPE application amp 3 Virtual Serial Ports Emulator Emulation started Fille View Language Emulation Device Help Device Status http f win eterlogic com A e In menu Device choose Create and in the Device type list choose Connector choice and press Next button Specify device type Device Late i Unlike regular serial port connector is a virtual device that can be opened twice When opened it creates data pipe between its clients That allows separate applications use the same serial port to exchange data de New serial port E Existing serial port B Client application Zp t Storno M pov da 37 Specify device characteristics Virtual serial port Zp t Storno N pov da e Choose number for new virtual serial port and press Finish button For example COM2 si Virtual Serial Ports Emulator Emulation started Seles File View Language Emulation Device Help BI Device Status Connector COMZ Initialization 0E http aw eberlogic com d 38 e Further in menu Device choose Create and in the list Device type choose TcpClient choice and press the Next button Specify device type Device type splitter Connector Splitter Pair Mapper TcpServer Serial Redirector UDP Manager Bridge F3 Mew serial port E Existing serial port 2 Client application Storno N pov da e Set the Source serial port cho
2. M2M TALKServer This page lists reports gt Users Modules Sessions Sessions history Reports Address 9000 i Connected 22 Disconnect ed 97 Address 9001 Connected Disconnect ed 94 Address 9002 Connected 19 Logged as alarex Logout Find make Previous Next Highlight all Match case 44 FAQ Q How to assure that two GPRSRS232 communicators send data with each other Do I need to connect two devices without a PC A In the configuration of GPRSRS232 it is possible to set the address of the other GPRSRS232 communicator Data from serial port will then be sent to this communicator This mode is called P2P Q If the GPRSR232 communicator is set to P2P mode is it possible to communicate with it even from another PC A Yes GPRSRS232 communicator is able to assure communication with more members thanks to an intelligent buffer This buffer saves transferred data request and also sender address Customer device answer is then paired with request and sent to relevant address Q I will not use permanent connection because I want to access the remote device only rarely for the purpose of maintenance Is it possible to switch the GPRSRS232 communicator remotely A Using SMS commands it is possible to log the device off or on to M2MTalk server You can be logged on whenever you want and reduce data transfer expenses Q With which
3. Start 04 12 09 12 25 28 Connection established authentication in progress 04 12 09 12 26 30 gt Login to MZMTalk server succeeded Data to devices Data from devices 0 E e In menu Settings choose M2MTalk server Set the values according to login information you received with the delivery and press Save button M2MTalk server configuration x MeMTalk server address MOT ak server port 9996 Me program s address M2M user M2M password 31 e In Settings menu choose Port mapping and press Add button Local server configuration Bound local port Target device address Port mapping performs pairing of local TCP IP port and specific communicator with M2MTalk address Data received on TCP IP port are sent using M2MTalk protocol to communicator The answer from the communicator is again sent to local TCP IP port M2MTalkGateway can serve any number of pairs of TCP IP and communicator To TCP IP port it is possible to connect for example a virtual serial port application or customer application directly e Choose the Local TCP IP port value It is a local port number on which the M2MTalkGateway will await data from the virtual serial port application or other application Recommended port numbers are 10000 49151 Values out of the range should be verified because of collisions with your Operation system services e Value of M2M address of the device set according to received login information It is the GPRS RS232 commun
4. Click Install to begin the installation Click Back to review or change any of your installation settings Click Cancel to exit the wizard Install Cancel i Virtual Serial Ports Emulator Setup Custom Setup Select the way you want Features to be installed Click the icons in the tree below to change the way Features will be installed virtual Serial Ports Emulator The complete package Program E SPE API This feature requires OKB on your hard drive It has 3 of 3 subfeatures selected The subfeatures require SO60KB on your hard drive Location C Program FilesiEterlogic cormYirtual Serial Ports Emulatori 30 ig Virtual Serial Ports Emulator Setup End User License Agreement Please read the Following license agreement carefully You should caretully read the following terms and conditions before using this software If you do not agree with the terms of this license you must remove Free Virtual Serial Port Emulator from your computer Je bit FREEWARE LICENSE AGREEMENT BY DOWNLOADING INSTALLING OR USING THE FREE VIRTUAL SERIAL PORTS EMULATOR THE PRODUCT THE INDIVIDUAL OR ENTITY LICENSING THE PRODUCT LICENSEE IS CONSENTING TO BE BOUND BY AND IS BECOMING A PARTY TO THIS de as ee rz HU gc O ES ee ki Tor i ir hod ig Virtual Serial Ports Emulator Setup Completed the Virtual Serial Ports Emulator Setup Wizard Click the Finish button to exit the Setup Wizard 36
5. no 0 Back ENTER Refresh 1 43 13 p ipojen Autodetekce 115200 8 N 1 Using the ENTER key you can refresh the screen with the information Using 0 you return to Diagnostics menu 22 GSM CELL Detailed actual GSM cell information and neighboring cell information g GPRS RS232 Hyperterminal Soubor Upravy Zobrazit Zavolat P enos N pov da Active cell chann rs dBm MCC Q ChMod 90 43 LAC cell NCC BCC PUR RXLeu C1 I chann TS timAdu PUR dBm 67 230 04A7 0646 0 33 106 38 I No connection Neighbouring cell chann rs dBm MCC MNC BCC C1 114 34 76 230 02 T 29 542 30 80 230 02 10 85 29 81 230 02 24 112 28 82 230 02 23 566 14 96 230 02 Se 519 04 106 230 02 0 Back ENTER Refresh 1 43 42 p ipojen Autodetekce 115200 8 N 1 chann ARFCN Absolute Frequency Channel Number of the BCCH carrier rs RSSI value 0 63 RSSI Received signal strength indication dBm Receiving level of the BCCH carrier in dBm MCC Mobile coutry code MNC Mobile network code LAC Location area code cell Cell identifier NCC PLMN colour code BCC Base station colour code PWR Maximal power level used on RACH channel in dBm RXlev Minimal receiving level in dBm to allow registration C1 Coefficient for base station selection chann ARFCN Absolute Frequency Channel Number of the TCH carrier Note lt chann gt h indicates freguency hopping TS Tim
6. Leave the values of remaining choices set by the factory if you don t need to change them because of the principle of your application Configuration menu for setting the RS232 contains following choices reni E UE up DE e 10 11 Speed communication speed 300 115200 Bd Bits 7 or 8 bits Parity EVEN ODD NONE Flow control NONE HW flow control none or hardware CTS RTS Signals CTS a RTS fully functional on COMI Stop bits number of stop bits Timeout ms in case there is no data coming to COM1from the device during the preset period of time then buffered data will be sent to GPRS Buffer size size of the buffer in bytes Max 100 000 Block size data sent to serial port can be divided to smaller blocks with a time delay between each other This is suitable for devices that are not capable to quickly process data comming on serial port Block delay ms delay between blocks RX TX synchronization allows RX TX synchronization After receiving data from GPRS and sending it to serial port system waits for a preset time period for an answer that is sent to GPRS to the sender If the answer does not come then after a preset time period next data is read from the buffer and sent to serial port If this choice is deactivated the communicator can send and receive data at the same time TX timeout ms a time period for which the system is waiting for incoming data from serial port bef
7. N pov da internet Timeout 120 User Password M2MSeru misha alarex net Port 9996 User user Password password Address 9998 Alive min 1 P2P adresa 9999 Finish 1 35 28 p ipojen Autodetekce 115200 8 N 1 Values for choices 1 to 5 are set by your mobile operator GPRS connection provider Values for choices 6 to C set according to the login information you received together with the module 1 APN GPRS connection point actually by Czech operators it is INTERNET 2 Timeout GPRS timeout 30 120 3 User not obligatory may be required by operator 15 13 Password not obligatory may be required by operator DNS not obligatory may be required by operator M2MServ M2MTalk server IP or domain address Port M2MTalk server port User M2MTalk server user Password M2MTalk server user password Address M2MTalk server unit address Alive time period when communicator presents itself to the server if no communication is running recommended value is 3 minutes P2P Address is filled in in the peer2peer mode address of the second unit or PC where the data received on Serial port are sent Not obligatory Suitable for cases when the device sends data to serial port without previous reception of data Finish return to previous menu After setting all parameters return to previous menu using lt 0 gt and enter menu Email by press
8. e EE 48 Remote UNIT control USING SMS sail 48 Introduction GPRS RS232 Communicator further only communicator is a device for serial communication RS232 RS485 in GSM networks It is possible to create virtual connection between two or more communicators or to provide the data to a user application on PC Advantages when using the communicator Possibility to connect the device at any location covered by GSM signal Data transfer without any need of public dynamic or public static IP addresses no problem with lack of IP addresses Routers and firewalls are no obstacle for the communication High safety of the communicator network there can t be DOS attacks made on separate communicators access secured by password Monitoring connection quality automatic connection reestablishment Quick setting in operation easy configuration and diagnostics via text interface on the second Serial port Actual single communicator state overview on communication server Data transfer transparency No need of any customer device or software equipment modifications Multi point communication with one GPRSRS232 communicator it is possible to communicate from more PCs or other GPRSRS232 communicators Delivery content First check your delivery content For taking the communicator into operation you need following components 1pc of installation CD with M2MTalkServer Lite and M2MTalkGateway programs 1pc of card with login inf
9. operator does the GPRSRS232 communicator work Are there any special operator services necessary A It is possible to use GPRSRS232 communicator with any operator who allows GPRS data transfer No special operator services except GPRS data transfer are needed Q Does every GPRSRS232 communicator need to have own static public IP address A Does not have to GPRSRSRS232 communicators and PCs log on to M2MTalk server as TCP IP clients Q I want to operate GPRSRS232 communicator network but there are different mobile operators in tha area of mount Can I use different GSM operators or do I have to choose only one A Each GPRSRS232 communicator can have a SIM card of an operator that is most suitable for use in specific area according to local conditions signal quality network reliability operation expenses Q Do I need separate hardware for M2MTalk server server Which operation system is supported A M2MTalk server can be operated together with other applications For operation it requires two TCP IP ports opened for example 8090 for web interface and 9999 for communication with GPRSRS232 communicators It is written in JAVA language and can be started on following operation systems Windows XP Windows Server 2003 and higher Windows Vista OS Linux Mandriva CentOS Ubuntu Debian and others OS Unix Solaris NetBSD FreeBSD 45 O I use GPRSRS232 communicator and on the PC side I have installed M2MTalk Gateway and virt
10. using GSM GPRS e M2MTalk Server routes data packets Depending on the way of appliance and application logic of customer s solution it can be routing between communicators or routing between any communicator and customer application e User application is connected with M2MTalk Server using M2M Gateway interface e M2M Gateway is a software application installed on PC that converts data from M2M protocol to TCP IP protocol GSM network GPRSRS232 communicator GPRSRS232 communicator nner application M2MTalk Server INTERNET PC with user s app Pic 7 User application communication with one or more GPRS RS232 communicators Solution technical description This chapter contains principals and technical description of HW and SW component function GPRS RS232 communicator GPRS RS232 communicator transfers communication between GSM network and RS232 serial interface Communication received from GSM network is stored in a buffer and later sent to serial interface Buffer mechanism strictly keeps data packet divided as it was received from GSM network It also pairs requests GSM data and answers serial port data so that it is ensured that more subscribers can communicate with the customer device at one time Data coming from serial interface RS232 are is stored in second buffer and are gradually sent to appropriate receivers Serial communication is fully transparent Customer devices or customer software does
11. GPRS RS232 Communicator user guide Content Inroducion anioni 3 Advantages when using the Commumicator 4444444000000 00000000 P nnn nennen KRK 3 Delivery CONTIG eebe eech eege 3 Preparing the communicator for operation inserting SIM car 4 Communicator data interrace descripllOTi iei Ro ilaele aaa 6 CON e COOP PE PE E O OO HS 6 Egeter 6 ESTO UN I m UU m 7 Communicator appliance possibilities 022000200000n0000n0nnanunnnnunnanunannunnnnn nun nun una nnn nn 8 Communicator GMS tunnel mode function description 8 Communicator Multipoint function mode description mmn 9 Solution technical descripta aa aa aaa 10 GPRS RSZ3Z sonda M 10 IIIT AIK SC IN T L eeeameascee 10 M2MTAlR GalG WAY sti laicale arri 10 Installation and Configuration curia nn 13 Preparing PC to communicate with GPRS RS232 module Bene nnn nen nn essen enen nenn 13 GPRS RS232 module xconialrelODb ee E 14 Other GPRSRS232 communicator settings iii 22 DIaAGMOSUCS m C a cies 22 MEO 23 CU KA iB MO T Ee 24 RS232 COS telorum RR IA Ro oo Sob aes fas ta 25 M2MTalk Gateway mstallaton 00000000 mme nennen nnns 28 M2MTalkGateway CONTQUIAION DEE ER Vital SCP al DON Eege 35 Vrtal Serial DOL CORINOUTANON e TI Eegen 38 Monitoring with M2MTalk SErver iii 43 FAQ K ee 46 SMS ee la
12. JE DU MA ULA VO I CETSU SUdIO ITEMS Pic 3 Antenna connector view Pic 4 Power supply connector view Communicator data interface description Communicator disposes two serial interfaces RS232 COM1 and COM2 COM1 Interface COM1 is dedicated for customer device connection Interface parameters can be set e Speed Bd 300 1200 2400 4800 9600 115200 e 7 or 8 data bits e parity EVEN ODD non e Data flow control hardware signals RTC a CTS or without control further it is possible to set buffer size time delay When using HW data flow control signals CTS RTS DTR are used and serial cable with all wires connected is required COM2 This serial interface is used for communicator configuration For configuration interface control you can use any terminal emulation program like Hyperterminal Windows Minicom Linux Configuration interface is text access is secured with login name and password Pic 5 Data interfaces view LED indication The communicator is equipped with one polychromatic indication LED Colors signal following states not lighting or lighting orange communicator software is not active typically 10 15 seconds after supply connection e red communicator works but is not connected to k M2MTalk server and no data are transferred e green communicator is connected to M2MTalk server and is ready for data transfer Data transfer itself is not LED indicated Commu
13. MTalkGateway then click Next Additional icons V Setup M2MTalkGateway Ready to Install Setup is now ready to begin installing MMT alkGateway on your computer Click Install to continue with the installation or click Back if you want to review or change any settings Destination location CFrogram Files MzMTalkGateway Start Menu folder MeMTalkGateway Additional tasks Additional icons Create a desktop icon Install Cancel 29 OS Setup M2MTalkGateway Installing Please wait while Setup installs MZMT alkGateway on your computer Extracting files CAPragram Files MeMT alkGatewa Ajrebybininojoil 60_12 dll i Cancel V Setup M2MTalkGateway Completing the M2MTalkGateway Setup Wizard setup has finished installing M MTalkGateway on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup A After installation the application launches automatically It is necessary to configure the application 30 M2MTalkGateway configuration M2MTalk Gateway is a necessary part of the installation providing data conversion between the internal format M2MTalk used by the M2MTalk server and TCP IP communication used on the PC side application e Start the M2MTalk Gateway application S M2MTalk Gateway Interface 3 81 Configuration Help onnection to M2MTalk server autoscrolli Irun off log DEC HEX CHAR 04 12 09 12 25 28
14. ages Messages Modules B 3001 accel 04 12 2009 00 26 04 12 2009 13 02 391 191 86 221 1025 2664 1529 757 190 Sessions i A 9998 new communicator 04 12 2009 12 41 04 12 200913 01 85 161 72 113 1025 96 65 22 7 Sessions history 9999 new m2mgw 04 12 2009 13 02 0412 2009 13 02 88 101 211 175 24339 26 25 2 2 Reports Records Per Page 20 Y um S ARCHITEET 2007 2008 Alarex Group Version 2 0 2 Menu Sessions history displays session status for single modules including history M2MTalk2 Server Mozilla Firefox Soubor pravy Zobrazit Historie Z lo ky N stroje N pov da Le CX O UE http misha alarex net 807 1 m 2mtalk2 wicket bookmarkablePage net alarex m 2mtalk2 server webapp fron V IG s La Nejnav t vovan j Jak za t P ehled zpr v B M2MTalk2 Server BStartovn str nka Mozilla Firefo m Logged as admin Logout gt This page lists historical client sessions Friday 04 December 2009 m Users Showing 1 to 20 of 99 lt lt 212345 gt gt gt Modules Recal Sent necei water Description Client IP Address Creation Time Last 1 0 Time cod Data kamen sem Status Address Data B B Messages Messages Sessions Sessions history new m ma 98 101 211 175 24339 04 12 2009 13 02 04 12 2009 13 03 PENDING Reports oecon master m2mtgw 98 101 211 175 24250 04 12 2009 12 42 04 12 2009 12 43 CLOSED new communica
15. ateway This application is designed for communication conversion to M2MTalk protocol With its help we can communicate with any number of GPRSRS232 communicators After its start there are local TCP IP ports created in the computer that are paired with single GPRSRS232 communicators we want to communicate with M2MTalk Gateway connects automatically to M2MTalk Server and connection is ready If there will be any data sent to appropriate local TCP IP port it will have an M2MTalk protocol header and will be sent to appropriate GPRS RS232 communicator The answer will have the M2MTalk protocol header removed will be sent to appropriate local TCP IP port On the picture there is an example of M2MTalk Gateway use with virtual serial port In this combination the communication chain is complete and there are no additional modifications of customer device or control software necessary M2MTalkServer address misha alarex net M2MTalkServer port 7 M2MTalk address 1001 M2MTalk user eloOl M2MTalk passw elo misha alarex net GPRSRS232 communicator M2MTalk Server INTERNET M2MTalkServer address misha alarex net M2MTalkServer port 7 M2MTalk address 1000 M2MTalk user elo00 M2MTalk passw elo 127 0 0 1 10001 customer virtual serial port M2MTalk gateway application Pic 8 Communication schema 10 Installation and configuration This chapter describes single installation steps necessary for setting a
16. atus GPRS RS232 communicators and MTM Gateway applications e displaying status history and statistics of single sessions M2MTalk2 Server Mozilla Firefox Soubor pravy Zobrazit Historie Z lo ky N stroje N pov da C Gy Bl http misha alarex net 807 1 m2mtalk2 wicket interface 0 Z 5 B Nejnav t vovan j Y Jak za t Aj P ehled zpr v Bi M2MTalk2 Server BStartovn str nka Mozilla Firefo TALKS erver Please login Bee be SS 7 Enter your user name and password User name admin Password Wm cs S ARCHITECT 2007 2008 Alarex Group Version 2 0 2 Hotovo In main menu click on Modules for displaying list of predefined devices Menu Sessions displays actual module sessions including time of module last operation communication 41 M2MTalk2 Server Mozilla Firefox Soubor pravy Zobrazit Historie Z lo ky N stroje N pov da CX fm http misha alarex net 807 1 m2mtak2 wicket bookmarkablePage net alarex m 2mtalk 2 ser LY IIGI ac agle 2 Nejnav t vovan j Y Jak za t AJ P ehled zpr v B M2MTalk2 Server E3 BStartovn str nka Mozila Firefo Se I og e d as a d min Logout gt This page lists all active client sessions Friday 04 December 2009 edis Modul Received Received Sent odule E 3 ceive ceive e Addresa Description Creation Time Last 1 0 Time Client IP Address Data B Data Mess
17. e slot number timAdv Timing advance in bits Using ENTER key refreshes the information 0 returns to Diagnostics menu 23 RS232 console Serves for confirming the connection functionality of the communicator and customer device on COMI The user can create an ASCII or HEX string and send it to COM1 Possible answer will be displayed on the screen g GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da 1 ASCII test 2 HEX test 0 Back 1 46 35 p ipojen Autodetekce 115200 B N 1 SCRL g GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da DATA to be sent Received data 1 Insert data 2 Send to COMI 0 Finish 1 47 38 p ipojen Autodetekce 115200 8 M 1 SCRL ABC 123 Zachyt v n Odezva tisku 24 Using 1 Enter data you prepare the string that will be sent to COM1 By ASCII string there are characters CR LF automatically filled in to the end Choosing 2 Send to COM1 the data prepared is sent Possible answer will be displayed on the screen g GPRS RS232 Hyperterminal Soubor pravy zobrazit Zavolat P enos N pov da OS 3 DA DATA to be sent Received data ati TDK blu2i RS232 OK 1 Insert data 2 Send to COMI 0 Finish 1 58 32 p ipojen Autodetekce 115200 8 M 1 SCRL 25 26 M2MTalk Gateway installation Another step is to install M2MTalk Gateway interface that provides conversion betw
18. een the internal M2MTalk protocol and TCP IP communication M2MTalk Gateway application is written in JAVA language Runtime enviroment JAVA JRE 1 6 x is distributed with the application All is installed to one folder and there are no registry entries made and no files are copied to Windows folder structure Start the application M2MTalkGateway exe and follow the instructions in the installation guide IS Setup M2MTalkGateway CO Welcome to the M2MTalkGateway Setup Wizard This will install M2MTalkGateway 3 x on your computer Itis recommended that you close all other applications before continuing Click Next to continue or Cancel to exit Setup 27 V Setup M2MTalkGateway Select Destination Location Where should M MTalkGateway be installed J Setup will install Meh alkGateway into the following folder To continue click Next Ifyou would like to select a different folder click Browse Browse Atleast 171 2 MB of free disk space is required V Setup M2MTalkGateway select Start Menu Folder Where should Setup place the program s shortcuts fan Setup will create the program s shortcuts in the following Start Menu folder To continue click Next Ifyou would like to select a different folder click Browse Browse 28 V Setup M2MTalkGateway select Additional Tasks Which additional tasks should be performed selectthe additional tasks you would like Setup to perform while installing MZ
19. ey Firmware upgrade downloading new communicator version from producer server Configuration upload download of the communicator configuration file e Status communicator status detection if connected uptime signal quality etc Module can be controlled using SMS commands SMS commands are not key sensitive GSMSTATUS unit answers with a message with information about signal M2M Talk Server connection SW version etc MODULE LOGOUT unit disconnects from M2MTalk Server no data is transferred This mode remains even after module restart MODULE LOGIN unit connects to M2MTalk Server In case of restart the connection refreshes automatically MODULE RESTART unit restart UPGRADE unit downloads new SW version from Alarex server SENDCFG muj email cz unit sends configuration file on the email address mentioned in the SMS The SMTP server access must be configured properly LOAD CONFIG www mujserver cz konfigurace ini Unit downloads configuration saved on http server 47
20. gure the GPRS RS232 communicator parameters In the other case the communicator continues in initialization of other preset services and will try to connect to M2MTalk server Press ENTER Configuration can also be made in on line mode but if the connection information has been set wrong communicator will restart and configuration will be difficult g GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da NIZ L0 c XXXIX Login name alarex_ 1 31 43 p ipojen Autodetekce 115200 8 N 1 Enter login name alarex and press ENTER 13 GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da Dae 3 DA Login password alarex 1 32 48 p ipojen Autodetekce 115200 8 N 1 SCRL ABC 123 Zachyt v n Enter login password alarex and press ENTER e GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da 1 Configuration 2 Diagnostics 1 33 28 p ipojen Autodetekce 115200 8 N 1 SCRL ABC 123 Zachyt v n Odezva tisku Press lt 1 gt for entering menu Configuration 14 GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da Dc 3 DA GPRS Email RS232 Admin Finish 1 34 30 p ipojen Autodetekce 115200 8 N 1 Press lt 1 gt for entering the GPRS parameter setting screen GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos
21. icator address to which you want to send data received from virtual serial port Edit local port for Talk address of the target Save Cancel e Press Save button 32 Local server configuration Bound local port Target device address 10000 9995 Now restart the application When all was set properly you will see following US M2MTalk Gateway Interface 3 81 Configuration Help DEC CHEN CHAR 04 12 09 12 26 28 gt Start 04 12 09 12 25 78 Connection established authentication in progress 04 12 09 12 26 30 gt Login to MZMTalk server succeeded Data to devices Data from devices 0 B The green light notices that M2MTalkGateway is connected to M2MTalk server 33 Virtual serial port installation Next step is the installation of virtual serial port on PC Over this serial port the customer application communicates over TCP IP with M2M Gateway application which transfers the data further to M2MTalk server Download one of the free shared serial port emulators from the web for example VSPE http www eterlogic com downloads Setup VSPE zi i Virtual Serial Ports Emulator Setup Welcome to the Virtual Serial Ports Emulator Setup Wizard The Setup Wizard will install Virtual Serial Ports Emulator on our computer Click Next to continue or Cancel to exit the Setup Wizard Cancel 34 i Virtual Serial Ports Emulator Setup ala EN Ready to install Virtual Serial Ports Emulator
22. ice on value of the virtual port you have chosen for example COM2 Set Remote TCP port on value of TCP IP port you have selected in M2MTalkGateway and press Finish button 39 Specify device characteristics Remote TCF host Source serial port 127 0 0 1 comz Remote TCP port Settings 10001 Iv DTR RTS depend on connection status Read data timeout in seconds 0 if disabled Script located in Scripts Folder pet Storno N pov da e Save your settings Start the M2MTalk Gateway If everything is allright and VSPE communicates with M2MTalkGateway you will see following lt lt Virtual Serial Ports Emulator Emulation started Fle View Language Emulation Device Help E E gt e wo y V 4 Device Status COMI Connector TCP COM2 gt 127 0 0 1 1001 Tcpclient COMZ Initialization E TEP EOM2 122010 11001 Inrtralyrzatiomn E http Pann eterlagic com E 40 Monitoring with M2MTalk server For monitoring status of all communicators and PCs you can use the services of M2MTalkServer If you use M2MTalkServer installed on your own HW fill into the web browser the address of your server and web interface port number If you use public M2MTalkServer operated by Alarex Group s r o Company fill into the web browser the address noted on the login information card M2MTalk Server web interface allows to administration of preset user accounts monitoring of device actual st
23. ing lt 2 gt GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da 1 36 16 p ipojen null User null Password null Sender gprsrs232commGalarex cz Finish Autodetekce 115200 8 N 1 The Email sets the information for later sending of email messages from communicator for example configuration data or operation log In case you want to use this service set following parameters 1 nb 9 ps SMTP address of the outgoing SMTP email server that is provided by your mobile operator User is set only in case that SMTP server requires authentication Password is set only in case that SMTP server requires authentication Sender module outgoing email address does not have to physically exist Finish return to previous menu 16 After setting all the parameters return to previous menu by pressing lt 0 gt and by pressing lt 3 gt enter the RS232 menu GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat nos N pov da D 38400 Bits 7 8 8 Parity EUEN ODD NONE none Flow control NONE HW none Stop bit 1 2 RX packet timeout ms 200 Buffer size 40960 Block size 0 Block timeout ms 0 TX RX Synchronisation Yes TX timeout ms 300 Finish 1 38 56 pfipojen Autodetekce 115200 8 N 1 Set the parameters of values 1 to 5 for RS232 menu according to device with which the communicator will communicate over COM1
24. nd configuration of SW components Preparing PC to communicate with GPRS RS232 module e Connect PC with the communicator using serial cable On the module side connect the cable to port marked as COM2 e Start the PC and open any data terminal emulation program e g Hyperterminal Popis pripojeni Sm Mov p ipojen Zadejte n zev a vyberte ikonu p ipojeni N zev GPRS RS232 konfigurace Ikona Zadejte podrobnosti o volanem cisle Zem esk republika 420 ue i Telefonn islo P Ge Conexant HDA D110 MDC Y 82 Modem COMMS LOM TEF ZIP Winsock 11 e Choose serial port number of your PC to which the cable from the communicator is connected and click OK Then set the serial port properties according to values on the picture bellow and click OK COM1 vlastnosti Nastaveni portu Bity za sekundu 115200 hal Parita dn wv Rizeni toku ETE Obnovit v choz The terminal is now ready to communicate with GPRS RS232 module GPRS RS232 module configuration Connect the module power supply cable After the initial sequence the terminal window will display Off line mode request 12 g GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da Enter Offline mode press ENTER 1 31 01 p ipojen Autodetekce 115200 8 N 1 Now you have 10 seconds to enter off line mode by pressing ENTER In this mode you can confi
25. nicator appliance possibilities Next chapter describes two possible modes of communicator application First mode GSM tunnel allows connection of two RS232 devices using two communicators Second mode Multi point allows to create a network of more mutually interconnected communicators with one or more PC applications More detailed description including specific setting is described in following chapters Data transfer in both modes is fully transparent and does not require any device or software equipment modifications Communicator GMS tunnel mode function description e Communicator no 1 converts data coming from serial line to M2MTalk protocol and sends it over GSM network to M2MTalk Server e M2MTalk Server provides data packets routing In this case direct resending to communicator no 2 e Communicator no 2 converts data coming from GSM network from M2MTalk protocol to serial line e Data transfer in opposite direction goes the same way GSM network GSM network 0 V 4 m GPRS RS232 GPRS RS232 communicator communicator 1 2 Request from comm 1 for comm 2 m Response from comm 2 for comm 1 M2MTalk Server INTERNET Pic 6 Communication between two GPRS RS232 communicators Communicator Multi point function mode description e Customer device is connected to the communicator via serial interface using standard serial cable transferring all signals e Communicators are connected to M2MTalk Server
26. not need to implement M2MTalk transfer protocol there are no modifications needed on customer side M2MTalk server GSM communication between GPRSRS232 communicators is executed via M2MTalk server with M2MTalk protocol You can easily imagine M2MTalk server like ICQ designed for different machines communication Everyone who wants to communicate with any server user GPRS RS232 PC logs in to the server under a unique ID address Login is secured by user name and password After successful login user can start to communicate with other devices logged in to server using data messages It can be transferred up to 40KB in one message Message queue system assures that data from sender is taken to process as fast as possible and wait on the server for the receiver to process it To speed up GSM GPRS communication single members do not acknowledge received messages on M2MTalk protocol level Only in case that M2MTalk server does not see particular logged on member on line it answers the sender with an error message M2MTalk server is written in JAVA language and is fully functional on most used operation systems e Microsoft Windows XP Server 2003 Server 2008 Vista is installed as an operation system service e Linux Debian RedHat CentOs Suse Mandriva Ubuntu and other e BSD Unix FreeBSD OpenBSD NetBSD e Solaris e MacOs not tested M2MTalk server requires JAVA JRE 1 6 x for its operation M2MTalk G
27. ore sending next data to serial port 17 12 Finish return to previous menu 18 Using choice number 5 you enter the Admin menu In this menu you can set user name and user password for configuration menu access g GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da DS s 8 DE Y 1 Name alarex 2 Password alarex 9 Finish 1 40 48 pfipojen Autodetekce 115200 8 N 1 SCRL ABC 123 Zachyt v n 19 Finally exit the Configuration menu using 0 A message appears that informs about the need to restart the communicator and the configuration data are saved e GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da 1 41 49 p ipojen Autodetekce 115200 8 N 1 Now the communicator is ready to be used Restart the communicator 20 Other GPRSRS232 communicator settings Diagnostics Contains functions for GSM network and COM1 serial communication diagnostics g GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da 1 GSM INFO 2 GSM CELL 3 RS232 CONSOLE 9 Finish 1 42 32 p ipojen Autodetekce 115200 8 N 1 21 GSM INFO Displays basic GSM information such as chosen operator signal quality roaming attribute g GPRS RS232 Hyperterminal Soubor pravy Zobrazit Zavolat P enos N pov da Dg 3 DA Operator EUROTEL CZ2 RSSI 81dbm Signal 99 Registered on network yes Roaming
28. ormation for the M2MTalkServer from Alarex Group s r o company 1pc of GPRS RS232 module 1pc of external antenna 1pc of DC 8 58V 15 W power supply with RJ12 connector 1pc RS232 serial cable Alarex Group M2M server account login information You also need following PC with RS232 serial port supported OS Windows XP and higher Linux Mac OS or The delivery content is individual according to customers requirements Package minimum configuration contains module and login information to user accounts Other components are optional 2 USB gt RS232 converter SW terminal emulator e g Hyperterminal Minicom Terraterm SIM card with activated GPRS data transfer and switched off PIN protection PC Internet connection Cross screwdriver Preparing the communicator for operation inserting SIM card Take the box from the package Open the side door of the communication unit to gain access to cross screws Screw out all four screws and carefully detach the lid Attention Manipulate carefully with the lid because it is connected to the board with data cables Insert SIM card to the holder on the motherboard and screw the box up Put on screw the antenna to the antenna connector Switch the power supply into the supply connector communicator Pic 1 Inserting SIM card into communicator view no 1 group Pic 2 Inserting SIM card into communicator view no 2 dnol AI BO
29. tor 85 161 72 113 1025 04 12 2008 12 41 04 12 2008 13 03 PENDING new m2mgw i88 101 211 175 23805 04 12 2008 12 32 04 12 2009 12 52 TIMEOUT new m2mgw 188 101 211 175 23800 04 12 2009 12 31 04 12 2009 12 32 CLOSED new m2mgw 188 101 211 175 23796 04 12 2009 12 30 04 12 2009 12 31 CLOSED new m2mgw 188 101 211 175 23562 04 12 2009 12 20 04 12 2009 12 29 CLOSED 188 101 211 175 23434 04 12 2009 12 16 04 12 2009 12 17 CLOSED new m2mgw 188 101 211 175 23418 04 12 2009 12 14 04 12 2009 12 14 CLOSED new communicator 185 161 49 34 1025 04 12 2009 11 54 04 12 2009 12 13 TIMEOUT new communicator 85 161 74 41 1025 04 12 2009 11 29 04 12 2009 11 53 TIMEOUT new communicator 85 161 71 173 1025 04 12 2008 11 02 04 12 2008 11 13 TIMEOLIT new communicator 85 161 242 128 1025 04 12 2008 11 01 04 12 2008 11 02 CLOSED new communicator 85 161 0 185 1025 04 12 2008 10 00 04 12 2008 10 52 TIMEOUT GPRSRS232 m M2MTalk2 Serve CA M2MTalk Gatew 42 With a view to history we can recognize several connection states e Connected connection was not finished yet e Closed connection was actually finished e Elapsed connection terminated because of failure Time limit from last communication ran out e Error Undefined error during communication Detailed error description can be found in server operation log 43 Menu Reports Contains simple overview about ratio between the time when module was connected and connection failures
30. ual serial port so that my program can communicate Can I reject these two applications and communicate direct with M2MTalk server A Yes you can implement communication M2MTalk protocol to your program M2MTalk protocol specification is available on our web sites Q I would like to use GPRSRS232 communicator but I can t install M2MTalk server at the moment A You can use our M2MTalk server We assign you necessary number of addresses for communicators and PCs for free Q I have tried more communicators modems but I often found a problem that data packets were divided into more parts during the communication and our end devices are not prepared for such a situation Could this also happen by the GPRSRS232 communicator A In the GPRS RS232 there are several mechanisms to prevent this problem e Adjustable timeout value since the last received character from serial port COMI Serves to detect finished transferred data packet from customer side e M2M Talk protocol divides single data packets to separate M2MTalk messages so that on the other side it is possible to preserve delays between single packets e GPRS RS232 communicator holds sending of next data packet to COM1 until the answer to previous data packet from customer device is received 46 SMS commands Remote unit control using SMS The communicator can be controlled remotely using SMS e Communicator activation or deactivation no data transferred saving mon
Download Pdf Manuals
Related Search
Related Contents
1978 - American Radio History Notice de montage - Série Living LEKR419521L-LS9 TEmPS PéRISCoLAIRE - Mairie d`Aix-en Betriebs - Grundfos Nissin Di866 User's Manual Copyright © All rights reserved.
Failed to retrieve file