AT Commands for CellPhones

Hi folks,

I am currently programming a dashboard widget for an usb umts modem! I am connecting
with applescript to the network simply entering the phone number “*99#” - this works
pretty good!

I am now wondering how to enter AT Commands like "at+cdgcont=“1”,“IP”,“gprsinternet” ? This are
the manual settings I can use to connect to the APN “gprsinternet” - Normally this settings
will be done by a programm which is very bugy - therefore I want to send the commands
everytime I am connecting manualy…

Has anybody how to enter the information?

my code that far:


   tell application "Internet Connect"
       activate
       set configName to "Huawei Modem"
       connect ppP configuration 1 to telephone number "*99***1'
       quit
   end tell

Thanks for your help…

Best Regards,

Stefan

Do you need to use Internet connect.

You may be able to adapt some of the script here at macosxhints to yours. ( the Screen part )

Also make sure you change the modem type to your type

Hi Mark,

thanks for your hint - I will try to focus out wheter I can use it or not…

Best Regards,

Stefan

Hi Mark,

I have tried to get the things done, but I failed! Iam not quit sure how the correct
syntax for the apn settings has to be inserted - the only thing I know is, what
to be entered:

connect ppp configuration 1 to telephone number “99**1#”
then a command: "at+cgdcont=1,“IP”,“gprsinternet”

Thanks for your assistance…

Best Regards,

Stefan