View previous topic :: View next topic |
Author |
Message |
pda
Joined: 19 Jun 2008 Posts: 2
|
Posted: Thu Jun 19, 2008 12:28 pm Post subject: Checksum Error |
|
|
We are looking for messaging system to alert our Admins of problems with the network. I like this system for its ease of use but I am having a similar problem that rellis73 had (http://www.notepage.net/forum/posting.php?mode=newtopic&f=4) but I tried the two steps, shortening the ID and dropping the alpha, that the tech advised and still get the error.
My settings are:
Phone: HP ipaq 6945
Modem: Diamond SupraExpress 56k
Carrier:ATT
Protocol:TAP
Phone Number: 18668837243
Baud:1200
Parity:E
Data Bits:7
Stop:1
6/19/2008 10:14:47 AM ========================================
6/19/2008 10:14:47 AM Start connection to carrier: ATT
6/19/2008 10:14:47 AM Connect using TAP protocol
6/19/2008 10:14:47 AM Setting communication parameters (1200,e,7,1)
6/19/2008 10:14:47 AM Attempting to reset modem
6/19/2008 10:14:49 AM Sent:AT<CR>
6/19/2008 10:14:50 AM Received:<CR><LF>OK<CR><LF>
6/19/2008 10:14:50 AM Modem reset
6/19/2008 10:14:50 AM Attempting to send dialer init string
6/19/2008 10:14:51 AM Sent:AT&FQ0V1X4&D2N0+MS=V22,0<CR>
6/19/2008 10:14:51 AM Received:<CR><LF>OK<CR><LF>
6/19/2008 10:14:52 AM Dialer init string sent
6/19/2008 10:14:52 AM Attempting to send carrier init string
6/19/2008 10:14:52 AM Sent:AT&FQ0V1X4&D2N0+MS=V22,0<CR>
6/19/2008 10:14:53 AM Received:<CR><LF>OK<CR><LF>
6/19/2008 10:14:53 AM Carrier init string sent
6/19/2008 10:14:53 AM Dialing carrier
6/19/2008 10:14:54 AM Sent:ATDT9*18668837243<CR>
6/19/2008 10:15:02 AM Waiting for connection
6/19/2008 10:15:24 AM Received:<CR><LF>CONNECT 1200<CR><LF><127>
6/19/2008 10:15:24 AM Connected to carrier
6/19/2008 10:15:24 AM Waiting for protocol initialization
6/19/2008 10:15:28 AM Sent:<CR>
6/19/2008 10:15:29 AM Received:<CR>ID=<LF>
6/19/2008 10:15:29 AM TAP protocol detected
6/19/2008 10:15:29 AM Sent:<ESC>PG1<CR>
6/19/2008 10:15:30 AM Received:<CR><ACK><CR><LF><CR><ESC>[p<CR><LF>
6/19/2008 10:15:30 AM Received:<CR><ACK><CR><LF><CR><ESC>[p<CR><LF>
6/19/2008 10:15:30 AM Automatic TAP mode accepted
6/19/2008 10:15:30 AM ----------------------------------------
6/19/2008 10:15:30 AM Working on message to: joseph_strong from: tad
6/19/2008 10:15:30 AM Formatting message
6/19/2008 10:15:30 AM Message contained in single packet
6/19/2008 10:15:30 AM Message contained in single block
6/19/2008 10:15:30 AM Sending block
6/19/2008 10:15:30 AM Sent:<STX>6966546<CR>tad:Hello<CR><ETX>500<CR>
6/19/2008 10:15:31 AM Received:<CR>55<CR><LF><CR><NAK><CR>
6/19/2008 10:15:31 AM Checksum error. Retrying block
6/19/2008 10:15:31 AM Sent:<EOT><CR>
6/19/2008 10:15:31 AM Attempting to hang up modem
6/19/2008 10:15:34 AM Sent:AT<CR>
6/19/2008 10:15:35 AM Received:<CR><LF>OK<CR><LF>
6/19/2008 10:15:35 AM Modem hung up
6/19/2008 10:16:10 AM
-----------
Tad
Pike Place Market
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4405
|
Posted: Thu Jun 19, 2008 12:32 pm Post subject: |
|
|
Actually, since you're trying to send messages to the AT&T/Cingular network, the first thing I'd recommend doing is changing the TAP number to 800-909-4602 and resetting the ID/PIN in the recipient to the 10 digit number. Let's see if that clears it up.
|
|
Back to top |
|
pda
Joined: 19 Jun 2008 Posts: 2
|
Posted: Thu Jun 19, 2008 3:10 pm Post subject: |
|
|
Ok that worked great. Now I would like to run a command line to send messages. I am fairly new to writing scripts but have a working knowledge of how it works. What is the format? do I need the brackets? or switches? I have tried these...
net start C:\PageGate\sendpage.exe Joseph_strong tad This is from a script I wrote
C:\PageGate\sendpage.exe Joseph_strong tad This is from a script I wrote
C:\PageGate\sendpage.exe "Joseph_strong" "tad" "This is from a script I wrote"
sendpage.exe Joseph_strong tad This is from a script I wrote
sendpage.exe <Joseph_strong> <tad> <This is from a script I wrote>
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4405
|
Posted: Thu Jun 19, 2008 3:13 pm Post subject: |
|
|
Well, it really depends on what's going to be calling the command as to which command is going to be called. For example, if you're running a command prompt style batch file, you want to use sendpage.exe but if you're going to have another Windows based application call the command, you'll want to use sendpage32.exe
Regardless of which .exe you're calling, the format remains the same. It is:
sendpage.exe recipient sender message
sendpage32.exe recipient sender message
So, to use your example, this would be the correct one:
C:\PageGate\sendpage.exe Joseph_strong tad This is from a script I wrote
Now bear in mind that the GetAscii module is what actually uses and references the command line. So, if you haven't configured the polling directory and enabled the Getascii module, executing the commands won't do you much good.
The polling directory, by the way, can be set to any directory on your hard drive. You can even create a new directory just for the Getascii and use that one if you want.
|
|
Back to top |
|
|