<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi!<br>
<br>
I would try a dbus approach. More info can be found from
<a class="moz-txt-link-freetext" href="https://together.jolla.com/question/80828/enable-mobile-data-with-command-line/">https://together.jolla.com/question/80828/enable-mobile-data-with-command-line/</a><br>
<br>
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<br>
<br>
My messy code to get other info from this message can be found from
here<br>
<a class="moz-txt-link-freetext" href="https://github.com/Rikujolla/oontoissa/blob/master/qml/harbour-oontoissa.qml">https://github.com/Rikujolla/oontoissa/blob/master/qml/harbour-oontoissa.qml</a><br>
<br>
I would start the reading of the code from line 139<br>
<br>
Riku<br>
<br>
<br>
<div class="moz-cite-prefix">11.05.2016, 18:48, Matthias Fehring
kirjoitti:<br>
</div>
<blockquote
cite="mid:1522524.XbvNuBiRB2@buschmaschine.hitronhub.home"
type="cite">
<pre wrap="">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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>