Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
fumaillo
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jul 2003
Location: Spain
Default Send AT commands

Hello everybody.

I´m trying to send to the modem an AT command to send an USSD code but I´m having some troubles.

I open port number 2 (I think is the modem port...) and send ATD*121#\r
but using the atdbg program I get:

ERROR: Header error -<0> +<f1>
<Tx:19041D>
ERROR: Header error -<f1> +<ee>
ERROR: Header error -<ee> +<e8>
Tx:AT\r
ERROR: Header error -<e8> +<5b>
...
...

I know that I have to send ATD*121#\r to the modem because using atdbg when I dial directly the ussd command *121# code, I get ATD*121#\r.
What I´m not sure is the way to send it to the modem.

Any idea of how to do it or where to get information??

Thanks in advance and sorry for my english.
 
fumaillo
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jul 2003
Location: Spain
I´ve just read that I can´t open port 2 without crashing the communication between "celltsp.dll" and the gsm-module, so I guess that´s not the port to open.

How can I send then AT commands to the internal modem ??

Thanks in advance again.
 
itsme
Old
#3  
Developer / Recognized Developer
Thanks Meter 2
Posts: 652
Join Date: Mar 2003
Location: delft 52'00N 4'22E
check out the source of xdaunlock. that shows how to do this.
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...