summaryrefslogtreecommitdiffstats
path: root/src/qconnectivity
Commit message (Collapse)AuthorAgeFilesLines
* Enable internet on eAndroid emulatorGatis Paeglis2014-02-141-22/+25
| | | | | Change-Id: If357f7c1ea090165cb0a3738156a66f5961d66a6 Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Disable QConnectivity daemon on emulatorGatis Paeglis2014-02-071-13/+33
| | | | | | | | Once we will know how, we can use this daemon to enable internet on emulator as well. Change-Id: I01eaa9a56cecfc92dfc5bc0cfb3ce6c3b482e610 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Re-connect if netd is not readyGatis Paeglis2014-01-291-21/+30
| | | | | | | | There is a delay from the time when netd service is started and when it is actually ready to listen for commands. Change-Id: I92a21639921682457f8d5ccf1124a0d310a7a41c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Introducing QConnectivityDaemonGatis Paeglis2014-01-232-0/+394
This change enables ethernet support on embedded android and provides DHCP info for other processes. Now we can simply plugin an ethernet cable and start browsing a network, for this we use netd events - netd is a network manager daemon, it opens android's "reserved" unix domain socket on /dev/socket/netd and listens for connections and commands. QConnectivityDaemon listens for DHCP requests on android's "reserved" socket /dev/socket/qconnectivity which can be used by other processes to do dhcp requests on different network interfaces (wifi, bluetooth, etc.). QConnectivityDaemon uses line-oriented protocol and expects requests to be "\n" terminated. Change-Id: I6d52619d27685650a155141bf09191e5a56914df Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>