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: [email protected] [mailto:[email protected]] On Behalf Of 
Zhao, Lihan
Sent: Wednesday, September 16, 2009 12:39 PM
To: [email protected]
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

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to