README: Fix markdown code blocks

This commit is contained in:
Jonah Brüchert 2019-01-11 11:58:48 +01:00 committed by Bhushan Shah
parent 1826be8c5a
commit 87e6f9fcdb

View file

@ -24,20 +24,18 @@ http://comments.gmane.org/gmane.comp.handhelds.ofono/12178
* edit /etc/ofono/phonesim.conf, uncomment everything so that it looks like * edit /etc/ofono/phonesim.conf, uncomment everything so that it looks like
[phonesim] ```
[phonesim]
Driver=phonesim Driver=phonesim
Address=127.0.0.1
Address=127.0.0.1 Port=12345
```
Port=12345
* start ofonod as root * start ofonod as root
* start phonesim * start phonesim:
phonesim -p 12345 -gui /usr/share/phonesim/default.xml `phonesim -p 12345 -gui /usr/share/phonesim/default.xml`
* from the oFono *source* directory, call /test/enable-modem to bring the modem up, the control UI should come up * from the oFono *source* directory, call `./test/enable-modem` to bring the modem up, the control UI should come up
* call test/online-modem to activate the test phonesim modem * call `./test/online-modem` to activate the test phonesim modem
* start plasma with plasmashell -w -p org.kde.plasma.phone to start the phone homescreen in a window * start plasma with plasmashell -w -p org.kde.plasma.phone to start the phone homescreen in a window
Note that the oFono/phonesim part is necessary only if it's needed to test some part specific to telephony Note that the oFono/phonesim part is necessary only if it's needed to test some part specific to telephony