The Following User Says Thank You to crun For This Useful Post: | ||
![]() |
2021-06-14
, 22:20
|
Posts: 15 |
Thanked: 17 times |
Joined on Sep 2019
|
#2
|
[W] unknown:60 - file:///usr/share/CellMon/qml/components/DBus.qml:60:5: QML DBusInterface: QDBusError("org.freedesktop.DBus.Error.UnknownMeth od", "Method \"ServingCellInformationChanged\" with signature \"\" on interface \"org.ofono.NetworkMonitorAgent\" doesn't exist\n")
Component.onCompleted: { ooNMA.typedCall('ServingCellInformationChanged',[], function (result) { console.log('ServingCellInformationChanged: ' + result); } ); }
The Following User Says Thank You to crun For This Useful Post: | ||
![]() |
2021-06-15
, 18:40
|
|
Posts: 6,436 |
Thanked: 12,699 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#3
|
The Following User Says Thank You to coderus For This Useful Post: | ||
![]() |
2021-06-21
, 12:01
|
Posts: 15 |
Thanked: 17 times |
Joined on Sep 2019
|
#4
|
for ofono you can use corresponding qml bindings insead of direct dbus calls
The Following User Says Thank You to crun For This Useful Post: | ||
https://nemo-qml-plugin-dbus.readthedocs.io/en/latest/
to monitor the cellular signal levels etc, using these apis:
https://github.com/rilmodem/ofono/bl...etwork-api.txt
https://git.sailfishos.org/mer-core/...onitor-api.txt
I can get signals from ofono.NetworkRegistration OK, but I can't work out how to use "getProperty" and "call" .
In the example below in "function xx" they both return "undefined"
or how to connect to "servingCellInformationChanged" of the ofono.NetworkMonitorAgent, (which doesn't seem to have any signals.)
In this case