Windows API for Merlin Modem?

kedul

Well-Known Member
Joined
Aug 2, 2004
Messages
359
Reaction score
1
Location
Strand, Helderberg, Cape Town
I may want to write a program to "wake up" my modem at home, by sending it an sms, and then it could connect to the internet, or connect to a camera and send me pics .. or whatever. Maybe even have it send me sms's on my cell phone if some event is detected, etc. Are there any complete specs for the modem protocol, or even some "higher level" drivers available?
I also hoped, maybe it can read the "identity" of the gsm tower it connects to, and signal strengths etc, in case I want to build a profile of reception in a certain area (e.g. cape town / simonstown train line ).
(Windows XP)
 
you wont communicate directly with the modem so you dont need to deal with modem drivers, what you need is to learn about RAS connections (Remote Access Server), thats basically how you can control connects and disconnects in windows as well as see how much data has been transferred in a session (up or down) and how long the session has been on etc.

On another issue, im curious, I dont know anything about your modem but can it recieve SMS' directly or something? Because you said you would send an sms to connect and obviously in a normal setup the only way for your pc to recieve an SMS would be to have it already connected to the net or connected to some sort of hardware like a phone or more.
 
the SMSing, signal strength and tower info is possible using AT commands. i know you can establish a gprs connection using the ATD*99# command, unfortunatly a TCPIP stack has to take over after that... RAS might be a better option for that.

also have a look at the RASDIAL command prompt tool. might be easier to get going rather than learning the RAS API.
 
unless of course you arent stupid :)

BTW I dont use the rasdial command because I prefer to code it but how would this guy use rasdial (or whatever) to disconnect?
 
Last edited:
i dont know what he means either kedul, i think hes just trolling.

btw i found out you can use rasdial to disconnect by using rasdial /disconnect, thats pretty cool I never knew it could do that, i wonder if theres a way with standard windows apps to get the total current network bandwidth reading from the command line, you could do interesting things with that.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X