[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Rakesh Kumar
Yes, you need to compile, but how to create SDK from it?. I am not sure about it. I am having the repo sync output, where I am making changes in the source code and running the emulator. Thanks Rakesh On Thu, Jun 4, 2009 at 3:19 PM, Sayiram K N wrote: > on my modem AT+CGREG=? is displaying (0-2

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Sayiram K N
on my modem AT+CGREG=? is displaying (0-2) but when i tried to set the value to 1 then its giving error. as i installed the SDK only , then after changing the file reference-ril.c, need to compile right? then create theSDK once again? On Thu, Jun 4, 2009 at 3:11 PM, Rakesh Kumar wrote: > > You

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Rakesh Kumar
You are facing problem with AT command "AT+CGREG". Please remove this AT command from the source code in the file reference-ril.c or use a modem which supports AT+CGREG command. Thanks Rakesh On Thu, Jun 4, 2009 at 3:00 PM, Sayiram K N wrote: > Hi here is the log that i got using the logcat > >

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Sayiram K N
Hi here is the log that i got using the logcat I/RIL ( 21): Opening socket /dev/socket/qemud_gsm D/AT ( 21): AT> ATE0Q0V1 D/AT ( 21): AT< ATE0Q0V1 D/AT ( 21): AT< OK D/AT ( 21): AT> ATE0Q0V1 D/AT ( 21): AT< OK D/AT ( 21): AT> ATS0=0 D/AT ( 21): AT< OK D/AT ( 21): AT> AT+CMEE=1 D/AT ( 21):

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Daniel Baeyens
Hi, If the modem is correctly attached to the emulator, since the very beginning (Android initialization) you can see modem AT commands activity on the logs. As Rakesh suggests you, launch "logcat -b radio" command, and you will see what's Android trying to do with the serial port. There could b

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Rakesh Kumar
Can you please send me the logs of "logcat -b radio" from adb shell? On Thu, Jun 4, 2009 at 2:37 PM, Sayiram K N wrote: > the setup is like this > first i switched my Motorola Phone to USB Modem mode and tried on Widnwos > environment using AT commands could able to call. and tried on Linux

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Sayiram K N
the setup is like this first i switched my Motorola Phone to USB Modem mode and tried on Widnwos environment using AT commands could able to call. and tried on Linux environment too and its working fine. But from the Android not able to make any calls. The linux PC is recognising my Phone modem a

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Rakesh Kumar
phone pn means what? I am using a external modem On Thu, Jun 4, 2009 at 2:12 PM, Sayiram K N wrote: > can you pl. let me know how to make calls using emulator's dialer?? i have > connected my phone pn to /dev/ttyACM0 and tried all possibilities. but no > luck. > can you let me know the steps to m

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Sayiram K N
can you pl. let me know how to make calls using emulator's dialer?? i have connected my phone pn to /dev/ttyACM0 and tried all possibilities. but no luck. can you let me know the steps to make calls?? On Thu, Jun 4, 2009 at 1:13 PM, Rakesh Kumar wrote: > You can make the call using the emulato

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Rakesh Kumar
You can make the call using the emulator dialer. And when you make the call to your external modem than you can see the logs of incoming call using adb shell. On Thu, Jun 4, 2009 at 12:37 PM, Sayiram K N wrote: > After the connection are you using the following > adb shell > # echo "ATD123445" >

[android-porting] Re: How to use external modem in emulator

2009-06-04 Thread Sayiram K N
After the connection are you using the following adb shell # echo "ATD123445" > ttyS0 ?? if not what are the commands you are using>> Sram On Thu, Jun 4, 2009 at 10:07 AM, Rakesh Kumar wrote: > I am able to connect emulator with an external modem. My modem is connected > to PC at port /dev/ttyS

[android-porting] Re: How to use external modem in emulator

2009-06-03 Thread Rakesh Kumar
I am able to connect emulator with an external modem. My modem is connected to PC at port /dev/ttyS0. And with the command "emulator -radio /dev/ttyS0", its working. Thanks Rakesh On Wed, Jun 3, 2009 at 5:39 PM, David Turner wrote: > > On Wed, Jun 3, 2009 at 11:24 AM, sram wrote: > >> >> Hi >

[android-porting] Re: How to use external modem in emulator

2009-06-03 Thread David Turner
On Wed, Jun 3, 2009 at 11:24 AM, sram wrote: > > Hi > i am trying to connect USB external modem(my Motorola Phone) on to > Android emulator. i have tried the following command > emulator -radio ttyACM0 -verbose -debug all > and from the ADB shell tried echo "ATD1234" > ttyS1 but there is > noth