* Re: how ofono runs with simulator
@ 2009-10-01 11:44 Jeroen Wouters
2009-10-12 5:27 ` Gu, Yang
0 siblings, 1 reply; 5+ messages in thread
From: Jeroen Wouters @ 2009-10-01 11:44 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]
Gu, Yang wrote:
> The following steps work for latest 0.4 version:
>
> 1. Modify modem.conf to config your simulator
> # Sample for using phone simulator
> [phonesim]
> Driver=phonesim
> Address=127.0.0.1
> Port=12345
>
> 2. Start simulator by
> Phonesim -p 12345 -gui data/moblin.xml
>
> 3. Start ofono by
> ofonod -nd
>
> 4. power on the modem
> dbus-send --system --print-reply --dest=org.ofono /phonesim0 org.ofono.Modem.SetProperty string:Powered variant:boolean:true
Where can I find the moblin.xml file and the source code for the version of phonesim you used?
I've looked for the xml file, but I can't find it. I've also tried the steps you describe with Ofono 0.6 and the phonesim version I found here:
https://svn.openmoko.org/trunk/src/host/qemu-neo1973/phonesim/
and with a couple of other XML response files I found on the net, but whatever I do in the phonesim GUI, there is no response from Ofono.
Also, in Ofono, the /phonesim0 modem appears, but only has a org.ofono.SimManager interface, no VoiceCallManager.
Thanks,
Jeroen
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: how ofono runs with simulator
2009-10-01 11:44 how ofono runs with simulator Jeroen Wouters
@ 2009-10-12 5:27 ` Gu, Yang
0 siblings, 0 replies; 5+ messages in thread
From: Gu, Yang @ 2009-10-12 5:27 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]
>-----Original Message-----
>From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of
>Jeroen Wouters
>Sent: Thursday, October 01, 2009 7:45 PM
>To: ofono(a)ofono.org
>Subject: Re: how ofono runs with simulator
>
>Gu, Yang wrote:
>> The following steps work for latest 0.4 version:
>>
>> 1. Modify modem.conf to config your simulator
>> # Sample for using phone simulator
>> [phonesim]
>> Driver=phonesim
>> Address=127.0.0.1
>> Port=12345
>>
>> 2. Start simulator by
>> Phonesim -p 12345 -gui data/moblin.xml
>>
>> 3. Start ofono by
>> ofonod -nd
>>
>> 4. power on the modem
>> dbus-send --system --print-reply --dest=org.ofono /phonesim0
>org.ofono.Modem.SetProperty string:Powered variant:boolean:true
>
>
>Where can I find the moblin.xml file and the source code for the version of phonesim
>you used?
>I've looked for the xml file, but I can't find it. I've also tried the steps you describe with
>Ofono 0.6 and the phonesim version I found here:
>https://svn.openmoko.org/trunk/src/host/qemu-neo1973/phonesim/
>and with a couple of other XML response files I found on the net, but whatever I do in
>the phonesim GUI, there is no response from Ofono.
>Also, in Ofono, the /phonesim0 modem appears, but only has a
>org.ofono.SimManager interface, no VoiceCallManager.
I'm afraid phonesim hasn't been released, and we are just using the internal one. I guess it will be released soon.
Regards,
-Yang
^ permalink raw reply [flat|nested] 5+ messages in thread
* how ofono runs with simulator
@ 2009-09-16 4:38 Zhao, Lihan
2009-09-16 4:56 ` Gu, Yang
0 siblings, 1 reply; 5+ messages in thread
From: Zhao, Lihan @ 2009-09-16 4:38 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
Hi,
I have got the source code through git, and I build it as the HACKING guides.
But now I do not have a modem, and cannot run ofono on the true environment.
I have one simulator, can anyone know how to run ofono with simulator?
Thank you!
Best Regards,
Lihan
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 2921 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: how ofono runs with simulator
2009-09-16 4:38 Zhao, Lihan
@ 2009-09-16 4:56 ` Gu, Yang
2009-09-16 15:03 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Gu, Yang @ 2009-09-16 4:56 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
The following steps work for latest 0.4 version:
1. Modify modem.conf to config your simulator
# Sample for using phone simulator
[phonesim]
Driver=phonesim
Address=127.0.0.1
Port=12345
2. Start simulator by
Phonesim -p 12345 -gui data/moblin.xml
3. Start ofono by
ofonod -nd
4. power on the modem
dbus-send --system --print-reply --dest=org.ofono /phonesim0 org.ofono.Modem.SetProperty string:Powered variant:boolean:true
BTW, if you have a mobile phone, there is another way to use it instead of the simulator.
Regards,
-Yang
From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of Zhao, Lihan
Sent: Wednesday, September 16, 2009 12:39 PM
To: ofono(a)ofono.org
Subject: how ofono runs with simulator
Hi,
I have got the source code through git, and I build it as the HACKING guides.
But now I do not have a modem, and cannot run ofono on the true environment.
I have one simulator, can anyone know how to run ofono with simulator?
Thank you!
Best Regards,
Lihan
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: how ofono runs with simulator
2009-09-16 4:56 ` Gu, Yang
@ 2009-09-16 15:03 ` Marcel Holtmann
0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2009-09-16 15:03 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
Hi Yang,
can I just remind you guys that top posting is not allowed on this
mailing list. Use proper quoting.
> The following steps work for latest 0.4 version:
>
> 1. Modify modem.conf to config your simulator
> # Sample for using phone simulator
> [phonesim]
> Driver=phonesim
> Address=127.0.0.1
> Port=12345
>
> 2. Start simulator by
> Phonesim -p 12345 -gui data/moblin.xml
>
> 3. Start ofono by
> ofonod -nd
>
> 4. power on the modem
> dbus-send --system --print-reply --dest=org.ofono /phonesim0 org.ofono.Modem.SetProperty string:Powered variant:boolean:true
The script test/enable-modem would we way simpler than this line :)
Regards
Marcel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-10-12 5:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01 11:44 how ofono runs with simulator Jeroen Wouters
2009-10-12 5:27 ` Gu, Yang
-- strict thread matches above, loose matches on Subject: below --
2009-09-16 4:38 Zhao, Lihan
2009-09-16 4:56 ` Gu, Yang
2009-09-16 15:03 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.