how ofono runs with simulator

Gu, Yang yang.gu at intel.com
Tue Sep 15 21:56:13 PDT 2009


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 at ofono.org [mailto:ofono-bounces at ofono.org] On Behalf Of Zhao, Lihan
Sent: Wednesday, September 16, 2009 12:39 PM
To: ofono at 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



More information about the ofono mailing list