Skip to contentSkip to conversation

how ofono runs with simulator

DISCUSSION Jeroen Wouters 2 participants 2 messages Oct 1, 2009 – Oct 12, 2009

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · Yang

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

Quoted 8 lines

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

#1 lore raw
Quoted 29 lines

-----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

Quoted 9 lines · Yang

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

Quoted 8 lines

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

Quoted 9 lines

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