View previous topic :: View next topic |
Author |
Message |
clandr
Joined: 12 Apr 2010 Posts: 4 Location: Simi Valley, CA
|
Posted: Mon Apr 12, 2010 8:38 am Post subject: RAWTCP Carrier |
|
|
Can you provide an example of the correct configuration of a RAWTCP carrier? I am unable to connect to the host and get the following error message.
4/12/2010 6:34:42 AM ========================================
4/12/2010 6:34:42 AM Start connection to carrier: RawTCP
4/12/2010 6:34:42 AM Connect using RawTCP protocol
4/12/2010 6:34:57 AM Unable to connect to carrier
4/12/2010 6:34:57 AM Disconnected from server
4/12/2010 6:34:58 AM ========================================
|
|
Back to top |
|
OzCom
Joined: 22 Oct 2003 Posts: 1122 Location: US
|
Posted: Mon Apr 12, 2010 9:07 am Post subject: |
|
|
To use rawTCP - you must have a host set up to receive the data at a specific IP and port. What carrier are you attempting to reach?_________________ Aaron D. Osgood
Streamline Communications, LLC
* Authorized Notepage, Inc. Development Partner and Re-seller
TEL: 207-518-8455
AOsgood@streamline-solutions.net
Creators of AutoPage Spillman CAD interface for PageGate |
|
Back to top |
|
clandr
Joined: 12 Apr 2010 Posts: 4 Location: Simi Valley, CA
|
Posted: Mon Apr 26, 2010 11:17 am Post subject: |
|
|
We now have the PAGEGATE side successfully connecting to our
server. We have a service on the server monitoring the specified port
and it does not recieve a message.
Is there any documentation describing
how the RAWTCP connection is made and the data format of the data
set across this connection??
|
|
Back to top |
|
clandr
Joined: 12 Apr 2010 Posts: 4 Location: Simi Valley, CA
|
Posted: Mon Apr 26, 2010 11:22 am Post subject: |
|
|
To answer your question, we are sending the message to a security
system that monitors a specified port to recieve TCP messages, parse
them and create alarms to the security system. The TAP interface in
PAGEGATE orginates an alarm from a pager with a series of configured
biometric conditions. When those conditions are violated, as in the owner of the pagers body temperature has changed dramatically, it send a message. We can install a simple test program on the server where PAGEGATE is installed and send a TCP message to the security system interface successfully on the specified port so we are confident the network is capable of passing data between the 2 systems. We believe the issue is now a function of how the connection is established or the content of the RAWTCP packet.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Mon Apr 26, 2010 11:22 am Post subject: |
|
|
It's a fairly straightforward process. We do what is, effectively, a basic IP connection to whatever host and port is specified. Once we receive any sort of response from the host to indicate that we're connected, we transmit the packet of information and disconnect. Really, all you're doing is sending a packet of TCP information to whatever host/port you've specified in the program. |
|
Back to top |
|
clandr
Joined: 12 Apr 2010 Posts: 4 Location: Simi Valley, CA
|
Posted: Wed Apr 28, 2010 11:31 am Post subject: |
|
|
Having put a network monitor across the connection we have narrowed the problem down and discovered the recieving security system requires a terminator in the RAWTCP message to push the message into it's processing stream. Is there any way to append a termination character to the body of the message recieved from the TAP interface?
Thanks
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Wed Apr 28, 2010 1:26 pm Post subject: |
|
|
I believe that we've already spoken on the phone about this but I wanted to make a post so anyone that has the issue in the future knows the solution.
PageGate version 5 supports messaging templates. You can have a template based on carrier or recipient. In this case, you want a carrier based template.
So, open NotePad and enter this:
%Message%
Note that you want the carriage return after the %Message% variable. That tells the program to add a carriage return as the last character of every message sent through this carrier.
Save the file in the PageGate Program directory as <carriername>.mtp
So, if your carrier is named RawTCP, the file name is going to be RawTCP.mtp |
|
Back to top |
|
|