Hi,
i would like to have the possibility to send out alerts via COM-Port, so that I can send them via a connected Mobile with integrated modem as SMS.
Although there is a possibility to send alerts as SMS this feature is addicted from a functional network, but what if the networkkomponent drops out ?
A local attached mobile would be able to send the alerts even if the network is down.
Anohter feature wish is to validate the Telnet and SMTP functions in more detail.
It would be helpful to be able to send and receive text via telnet and validate the communication with some kind of macro or script.
SMTP should be able to test the functionality of the SMTP Server.
e.g. did the server respond to HELO or to EHLO, does the server accept mail for delivery aso.
NFS functions should be available to see if mount requests are answert...
Feature extension
The sms feature is simple to use by an external program like this:
To send an SMS text message to a phone with Visual Basic:
' Set up the communications port
MSComm1.CommPort = 1 ' Com Port 1
' Set for 9600 baud, no parity, 8 data, and 1 stop bit.
MSComm1.Settings = "9600,N,8,1"
' Tell the control to read entire buffer when Input is used
MSComm1.InputLen = 0
' Open the port
MSComm1.PortOpen = True
' Send an 'AT' command to the phone
MSComm1.Output = "AT" & Chr$(13) & Chr(10)
' The phone will respond with an 'OK'
' Set up the phone for a text message
MSComm1.Output = "AT+CMGF=1" & Chr$(13) & Chr(10)
' The phone will respond with an 'OK'
' Prep for SMS, give destination type and destination address.
' Enter the destination type and destination address to prep for SMS
' e.g. AT+CMGS="+2145551212",129
MSComm1.Output = "AT+CMGS= " & Chr(34) & _
"+2145551212" & Chr(34) & ",129" & Chr$(13) & Chr(10)
' The phone will return a'>' prompt, and await entry of the SMS message text.
' Now send the text to the phone and terminate with (Ctrl-Z)
MSComm1.Output = "This is a test. WOW! " & chr$(26)
' The phone will respond with a conformation containing
' the 'message reference number' eg. +CMGS:
' Close the port
MSComm1.PortOpen = False
From a terminal, it would look like this:
AT
OK
AT+CMGF=1
OK
AT+CMGS="+15127752607",129
>This is a test. WOW!
+CMGS: 49
To send an SMS text message to a phone with Visual Basic:
' Set up the communications port
MSComm1.CommPort = 1 ' Com Port 1
' Set for 9600 baud, no parity, 8 data, and 1 stop bit.
MSComm1.Settings = "9600,N,8,1"
' Tell the control to read entire buffer when Input is used
MSComm1.InputLen = 0
' Open the port
MSComm1.PortOpen = True
' Send an 'AT' command to the phone
MSComm1.Output = "AT" & Chr$(13) & Chr(10)
' The phone will respond with an 'OK'
' Set up the phone for a text message
MSComm1.Output = "AT+CMGF=1" & Chr$(13) & Chr(10)
' The phone will respond with an 'OK'
' Prep for SMS, give destination type and destination address.
' Enter the destination type and destination address to prep for SMS
' e.g. AT+CMGS="+2145551212",129
MSComm1.Output = "AT+CMGS= " & Chr(34) & _
"+2145551212" & Chr(34) & ",129" & Chr$(13) & Chr(10)
' The phone will return a'>' prompt, and await entry of the SMS message text.
' Now send the text to the phone and terminate with (Ctrl-Z)
MSComm1.Output = "This is a test. WOW! " & chr$(26)
' The phone will respond with a conformation containing
' the 'message reference number' eg. +CMGS:
' Close the port
MSComm1.PortOpen = False
From a terminal, it would look like this:
AT
OK
AT+CMGF=1
OK
AT+CMGS="+15127752607",129
>This is a test. WOW!
+CMGS: 49
>It would be helpful to be able to send and receive text via telnet and validate the communication with some kind of macro or script.
Do you need this test to check some services? or just to check communication? I think Ping, Trace, and TCP tests enough to check communications.
>SMTP should be able to test the functionality of the SMTP Server.
e.g. did the server respond to HELO or to EHLO
SMTP test performs this check.
>, does the server accept mail for delivery aso.
Probably will be implemented combination of SMTP/POP3 test to send and receive mail.
>NFS functions should be available to see if mount requests are answert...
I have added this task into "to do" list.
Thank you
Regards
Alex
Do you need this test to check some services? or just to check communication? I think Ping, Trace, and TCP tests enough to check communications.
>SMTP should be able to test the functionality of the SMTP Server.
e.g. did the server respond to HELO or to EHLO
SMTP test performs this check.
>, does the server accept mail for delivery aso.
Probably will be implemented combination of SMTP/POP3 test to send and receive mail.
>NFS functions should be available to see if mount requests are answert...
I have added this task into "to do" list.
Thank you
Regards
Alex
>>It would be helpful to be able to send and receive text via telnet and validate the communication with some kind of macro or script.
>Do you need this test to check some services? or just to check communication? I think Ping, Trace, and TCP tests enough to check communications.
I thought it would be useful to validate the function of someting that could be accessed via telnet. Maybe i first have to submit a kind of characterstring to the device and then want to compare feedback of the device with anohter characterstring i provide.
The problem i want to analyse is something like that:
If i open a port to device jjj on port 23, does the device respond with 'User:' or does it not respond ? and if it responds with user and i submit 'John+<CR>' does the response contain 'Pass:'
...
BR
>Do you need this test to check some services? or just to check communication? I think Ping, Trace, and TCP tests enough to check communications.
I thought it would be useful to validate the function of someting that could be accessed via telnet. Maybe i first have to submit a kind of characterstring to the device and then want to compare feedback of the device with anohter characterstring i provide.
The problem i want to analyse is something like that:
If i open a port to device jjj on port 23, does the device respond with 'User:' or does it not respond ? and if it responds with user and i submit 'John+<CR>' does the response contain 'Pass:'
...
BR