summaryrefslogtreecommitdiffstats
path: root/src/imports/wifi
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Create QML Type reference pageTopi Reinio2014-04-023-4/+8
| | | | | | | | | | Create a landing page for QtEE-specific QML modules and types. Ensure it links correctly to WiFi Module documentation, and add it to TOC. Change-Id: Ib3edf9ff8e50f11e138a57aabc1f84749ac48e16 Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Add documentation to QtWifi libraryGatis Paeglis2014-03-193-0/+318
| | | | | Change-Id: Ifd71c65a155ad296f3491085e91556eb69226b2b Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
* Rename misleading class nameGatis Paeglis2014-03-185-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | The API is: ListView { model: wifiManager.networks } currently if user calls print(wifiManager.networks) it will print: QWifiNetworkList The docs of ListView states that model property expects a subclass of QAbstractListModel. QWifiNetworkList sounds like a subclass of QList which is misleading. This patch renames the class to QWifiNetworkListModel. This does not change the public API (doesn't brake compatibility in any way), just improves the documentation of library. Task-number: QTEE-445 Change-Id: I71f07cb22617f3a7f41a0403d1c63c4357310325 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Remove unnecessary roles from QWifiNetworkListGatis Paeglis2014-03-181-18/+2
| | | | | | | | | | | | | | | | | | Currently there are 2 ways to access the same property from list view's delegate: network.ssid ssid This is not needed, from the API point of view it is more readible when properties are accesed with network.* prefix. As is done in launchersettings demo. "network" role returns QWifiNetwork object which exposes the required properties with Q_PROPERTY. Change-Id: Idd55891d44c4f356a6774575508a38729c60c335 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* [Wifi] Fix initialization codeGatis Paeglis2014-02-191-11/+11
| | | | | | | | Bug was that on freshly deployed Boot2Qt image (Nexus) the current code caused a device to restart when trying to launch "launcher settings". Change-Id: I3cc55488a1993c2c74567fccf39edd189b356bac Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Don't use wifi on EmulatorGatis Paeglis2014-02-131-11/+17
| | | | | Change-Id: I9ae1b5b68f3e3ec2c513ec5a6811ea5396425766 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Update copyright yearaavit2014-02-127-7/+7
| | | | | Change-Id: Ic818e79d7bfca04bd8a8d8aa12b3ff70ea26a7a3 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
* Make sure that wifi event thread doesn't block on exitGatis Paeglis2014-01-302-8/+18
| | | | | | | | | After setting m_exitEventThread to True we need to generate wifi event, otherwise there might be cases that we block in wifi_wait_for_event and wifi event thread never exits. Change-Id: I699ca0c25e23abc7045c1850bf773443bac897e8 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Fix dhcp issues and improve public APIGatis Paeglis2014-01-284-185/+245
| | | | | | | | | | | | | | | | | | | | | - Use qconnectivity daemon for dhcp requests. Since dhcp requests are executed in other process we don't block gui thread for this lengthy operation. - Why not to use "do_dhcp_request" - it is a legacy implementation of a dhcp client and is not used anywhere in the Android source code itself. It appears that do_dhcp_request was not removed from the libhardware_legacy to keep compatibility for others, whose code might still depend on it. - Differnet changes to the internal implementation and the public API. - Add 'Interface' singleton type, installing a singleton type allows developers to provide arbitrary functionality to a client without requiring individual instances of the type to be instantiated by the client. We use this to determine if Android has wifi interface. Change-Id: I836f3a2a587b1ebf9f670ed08b10fe3483504b9e Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Merge remote-tracking branch 'origin/stable' into devaavit2014-01-177-0/+126
|\ | | | | | | | | | | | | Conflicts: src/doc/src/b2qt.qdoc Change-Id: I9d345dcc689e751b997df797ce12b6cd8a14ffb9
| * Add license headersTopi Reinio2013-12-037-0/+126
| | | | | | | | | | | | | | Add an Enterprise License header to source files. Change-Id: I373886dade31ce00d4c10c64ebaf8ba226d5a62d Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* | List the strongest access point when ssid equalGatis Paeglis2014-01-162-22/+26
|/ | | | | | | | List only the strongest access point when sensing several access points within the same network. Change-Id: I58bf3083058f6e1c8a0c353b20d731672e64aefc Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Snapshot of wifi module development, from customer projectaavit2013-08-055-76/+140
| | | | | | | Corresponds to 0c397d2287d33b08501c48e029306b8908583e6a of github repo Change-Id: I60c140513255394b6728ddd0ff85ac79fa5e88b9 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Register the QWifiNetworkList with the QML type systemGunnar Sletta2013-06-121-0/+1
| | | | | Change-Id: I43d1b525cf91b508113fcc6d883050b585a622f8 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* add missing pluginmain.cpp file for wifiGunnar Sletta2013-04-251-0/+22
| | | | | Change-Id: I1ef3cd3c915813fec9ef62c4453b8b5e132a95f3 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Moved wifi to its own importable moduleGunnar Sletta2013-03-218-0/+617