Hi!

I would try a dbus approach. More info can be found from https://together.jolla.com/question/80828/enable-mobile-data-with-command-line/

You can check the info what is avalable with the command dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Manager.GetServices

My messy code to get other info from this message can be found from here
https://github.com/Rikujolla/oontoissa/blob/master/qml/harbour-oontoissa.qml

I would start the reading of the code from line 139

Riku


11.05.2016, 18:48, Matthias Fehring kirjoitti:
Hello list,

I am searching for a way to get the currently used IP address of the device.
Is there a Qt-way or some Sailfish/Mer specific API?

Best greetings
Matthias Fehring



_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to