Phonesim Usage =============== 1) Make sure ofonod and dbus-daemon are running (or, if you're using it in a script, see /usr/share/doc/ofono-phonesim/example.sh). 2) Make sure the ofono-scripts package is installed, and if you're not running ofono-phonesim inside of an X session, the xvfb package. 3) Edit /etc/ofono/phonesim.conf, uncommenting out the three phonesim-related lines. Eg, mine looks like this: [phonesim] Address=127.0.0.1 Port=12345 4) Run `ofono-phonesim -gui -p 12345 /usr/share/ofono-phonesim/default.xml`. The -gui argument is only necessary if you plan to use either the Qt interface, or the javascript engine (see /usr/share/doc/ofono-phonesim/scriptable.txt for more on that). 5) Run `/usr/share/ofono/scripts/enable-modem /phonesim`. The gui should pop up at that point, if you enabled it. 6) Run `/usr/share/ofono/scripts/online-modem /phonesim`. It will likely take a few seconds (or more) for the modem to full power up and all interfaces to become available via dbus, so give it a moment. 7) Now you can run `/usr/share/ofono/scripts/list-modems` to see the /phonesim modem, start messing around in the gui to simulate SMS messages, etc.