I’m working on something similar. I’m making a windows service that will receive and act upon the texts it receives. From the framework I have going I’d think you should be easily able to adapt to query a DB. I’m working in VB right now…
So this was easier than I thought. I didn’t know that when the receive API was enabled it just forwards all messages to the server listed. I was searching for the mechanism that would make the message be sent to the application. I’ll post up a sample in a couple days… It’s going well though.
Thanks,
Ed
After I updated to 1.47 I had to restart the modem and wait about 10 minutes for the SIM to show as active.
Byron,
I think I need to do a bit of reading then.
What I would like to do is text ‘Ping Hostname’ and receive a text back with the ping result. It would be a pretty helpful tool for remote troubleshooting, also would open up the door to much remote management.
Thanks,
Ed
Okay – Here’s a very basic script to send a message to a user in the address book. Might be useful for someone else starting out:
Filename: send.vbs
Code:
Dim connect
Set connect = CreateObject(“MSXML2.XMLHTTP”)
connect.open “GET”, “http://10.10.45.4:81/sendmsg?user=user&passwd=password&cat=1&ton=ed willson&text=Test”, False
connect.send
msgbox (connect.responseText)