| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Change-Id: I33db4d7c8531be0b02f9550bb2d2fbb2c0de9af8
Reviewed-by: Michael Winkelmann <Michael.winkelmann@qt.io>
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added documentation for the following QML modules:
QtDeviceUtilities.BluetoothSettings
QtDeviceUtilities.DisplaySettings
QtDeviceUtilities.LocalDeviceSettings
QtDeviceUtilities.LocaleSettings
QtDeviceUtilities.NetworkSettings
QtDeviceUtilities.TimeDateSettings
QtDeviceUtilities.SettingsUI
And changed the name of this documentation module to
'Qt Device Utilities'.
Task-number: QTBUG-55320
Change-Id: Iee0d8467dccddc0ee75d7a395ae91f68b12ab9f2
Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ic539098e2edc5d736da0331e06f5bfc6c51947e1
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: Ie355ff1e296ee48d4d66e0610e4df56640f829d4
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I11c74cd61d3dd40a90c033406590296c05e996c6
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ib6c6c7bc5e5e1db005dd43222163fceb50c8894a
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
|
|
|
|
|
|
|
| |
Separated C++ and Qml interfaces. All the UI's from plugins are moved to the settingsui folder.
Change-Id: Id6a6623346b18321357bc42d24121c4d9cdfd098
Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
|
|
|
|
|
|
|
| |
Added wpasupplicant as alternative backend for the network settings.
Change-Id: Ic05b3e87def2c9a143c30e4045a36db294ce8719
Reviewed-by: Risto Avila <risto.avila@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ied9d920dfa6d12093b40d32d5f3a61c1c23b137d
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces a behavior change. Previously the
'SignalStrength' role was interpreted as dBm. This was working
fine for nl80211 based drivers, for WEXT-based drivers it
contained garbage values. Now the 'SignalStrength' role will
always be interpreted as percentage.
The wpa_supplicant passes back only the 'level' of the scanned
BSS, which with nl80211-based driver is almost always dBm (val < 0).
WEXT-based driver has its own interpretation of 'level' - it
can contain dBm, percentage [0-100] (and some other values for
historical reasons, but these are converted by the wpa_supplicant
to dBm). This is what I have concluded from looking at NetworkManager
and wpa_supplicant sources and git history. Even the official GUI tool
wpa_gui for the wpa_supplicant is out-of-date and can not be used as
a referance.
Change-Id: I70d15e26e0a1700ad0f7d19d23cbade2d3d46054
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wifi access points may be configured not to
broadcast its SSID, connecting to such networks
requires a SSID-specific probe request. Add new
property to WifiConfiguration for describing this
type of networks.
Change-Id: I068ac53936a860e3752e31b8151b87ba4308c510
Task-number: QTEE-816
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
|
|
|
|
|
|
|
| |
Required for code-completion feature in QtCreator.
Change-Id: I06ce31856b61e4bf41a4123eda999687eac1de3f
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Required for code-completion feature in QtCreator.
Change-Id: I79969367afe685b248d08b30d8dadf54754c5c0f
Task-number: QTEE-810
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
c++ getting started guide
qml getting started guide
documenting qml elements
documenting c++ classes
Task-number: QTEE-810
Change-Id: I669d11c65e5359fc9ec863b03b8b56ce2ef1151b
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@theqtcompany.com>
Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make wifi library available from c++
1) included with "#include <B2QtWifi>", available classes are:
QWifiDevice, QWifiManager, QWifiConfiguration
- Re-design of API:
1) connectedSSID -> currentSSID
get current network from this property instead of networks state change events
2) networkStateChanaged(QWifiNetwork *) -> networkStateChanged(NetworkState)
Don't expose QWifiNetwork objects to library users, use data model roles
instead, no need to pollute API with "read-only" class. The flaws of exposing
QWifiNetwork become apparent when looking at C++ API.
3) New BackendState enum for backend state changes events, backendStateChanged(BackendState)
Initializing backend can be lengthy operation and can block GUI thread,
same is true for DHCP requests, now these operations are moved into a separate thread
and backend state change events are delivered asynchronously.
4) Make WifiManager a Singleton, we don't want several instances starting
and stopping system processes and it makes global state handling simpler.
5) Rename Interface -> WifiDevice
6!) Introducing QWifiConfiguration. This abstraction allows for easy
way to add new features, whatever we choose to support from:
http://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf
The idea for it is to be a Qt-style wrapper for "network {}" configurations
from wpa_supplicant.conf.
Also this makes life simpler for developers if they know what network they
will be using, they can omit scanning, listing, selecting parts and do something
like this instead:
WifiConfiguration {
id: config
ssid: "network name"
passphrase: "12345678"
}
if (!WifiManager.connect(config))
print("failed to connect: " + WifiManager.lastError)
- Optimizations:
1) Async. event delivery.
2) eLinux: Don't use "ifup", it is slow because it starts dhcp
request even before any network has been configured. Use
start-stop-daemon and ifconfig directly.
- Bug fixes (many), but most importantly:
1) Get backend state properly when WifiManager is created.
- Public header cleanup
- Other:
1) Added categorized logging.
2) Methods to get/set wifi interface name. Not exposed to qml.
- Missing parts that will be added as a separate patch:
* [doc] Getting started guide for c++ and qml
* [doc] Update for qml docs and new docs for c++. The current docs
are out-of-date.
Task-number: QTEE-649
Task-number: QTEE-810
Change-Id: I7dc8709aed2de622828a119749aef31534a4296d
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
|
|\
| |
| |
| | |
Change-Id: Ib0a08de8aaf17f2803d51bded8d0dcfb14e9c206
|
| |
| |
| |
| |
| |
| |
| | |
URL points to qt.io
Change-Id: If1dcfcef627ee3e2bdde49522ebabcaa66cea29b
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is a timing issue on a device startup if the
default application calls Wifi.Interface.wifiSupported()
before qconnectivity service has finished initialize wifi
firmware/driver. This results in wifiSupported() returing
false on nexus 2013, even if this device supports wifi.
The solution is to move firmware/driver initialization
to Qt Wifi library.
Change-Id: If5b4650181f8b7237bd19f3fc3afbd2c75f759e8
Task-number: QTEE-770
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTEE-474
Change-Id: I95064ac5908a067751d8182f6a0d883f07f7e756
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Preparing this module for being documented and presented for
external users.
- Renamed since this is for eLinux as well as eAndroid
- Provide all settings as proper Q_PROPERTYs for easy QML access
- Hide all the detailed audio stuff that's not useful for users
- Implement a getter function for current backlight, so that we don't
have to reset it to full every time this module is loaded
- qmake now groks this as internal module, so get rid build kludges
- hostname setting on eLinux fixed
- getIPAddress() now returns ALL active addresses, and implentation
is simplified
Task-number: QTEE-704
Change-Id: I9f22d5531b5963ae7e78c840bcfe1edd6197f82a
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
|
|
|
|
|
|
|
|
| |
It was wrongly adding "IFNAME=" to wpa_supplicant calls
on eLinux, "IFNAME=" is required only for eAndroid.
Change-Id: Ic16d321765071df66fbffc1c3d6ce78180eb3b1c
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Reload Wi-Fi firmware on a device startup (initializes wlan0
interface).
- Android version 4.4 (and above) requires IFNAME=wlan0 prefix
to the wpa_supplicant calls, without this all calls to the
wpa_supplicant fail.
- Fix "broken pipe" issue - a message in the logcat when trying
to access a broken network. This seems to be a generic message
whenever something is wrong with a network configuration (broken
routing table, firewall issues, DNS issues etc.). Android uses
Connectivity and NetworkManagement JAVA services to handle network
configuration - we can use qconnectivity daemon for this.
Task-number: QTEE-562
Change-Id: Ib5a93c677439a0e9bf92ede532667542d2bc4bed
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
|
|
| |
This fixes autocompletion issue in QtCreator.
Task-number: QTEE-568
Change-Id: I186a5777e54d8629fd896bd1ee677ac359373a17
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
|
| |
It turns out that wifi was never build on eLinux.
Change-Id: I27b3f01761b9aaa6f70d0ff4220344551a39ad56
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
|
|
|
|
|
|
|
| |
This device currently does not support wifi.
Change-Id: I8048d7109908c4c2de553dda119cb14be73ef6a7
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
| |
Change-Id: Id1d7141cbbee181235093627cf18180354a78a6b
Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current limitations:
- Wifi adapter must be connected before staring the device (and ethernet
cable should not be connected at the same time).
"allow-hotplug wlan0" in /etc/network/interfaces doesn't seem to help for
detecting wifi adapter on-the-fly.
Change-Id: I8be407e9e042fc86136efd3e220680fb2ce64bd6
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* stable: (22 commits)
Add note about headphones on eAndroid
Doc: Relocate unmount instructions
Doc: Add ChangeLog for Qt Enterprise Embedded 2.1.0
Doc: Disable code highlighting for command-line instructions
doc: update version number to 2.1.0
[Wifi] Add new enums and make some API changes
Doc: Add documentation on custom build & deploy steps
Doc: Create QML Type reference page
Doc: Add information about licenses in embedded Linux images
Doc: Improve instructions for deploying existing projects
Doc: Separate Building Your Own Linux Image into its own page
doc: use same directory for yocto and qt
doc: config.<MACHINE> needed only once
doc: guide for imx53 and how to setup QtCreator
Doc: Be more precise on screen content for Nexus7
Add documentation to QtWifi library
Doc: Add note for users to not use root for installation
doc: describe how to use network connection for adb
Rename misleading class name
Remove unnecessary roles from QWifiNetworkList
...
Conflicts:
src/imports/wifi/qwifimanager.cpp
Change-Id: Ie7efa2ec91ac154f1e984600f569d9c7f8383627
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Now QtWifi can provide feedback when incorrect password is
entered.
- networkStateChanged signal provides a reference to the
currently active network connection.
- bug fixes in QWifiManager::connect
Task-number: QTEE-408
Change-Id: Ic7458b864f09aef3cfca40fb081dec45e0bba7db
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
Change-Id: Ifd71c65a155ad296f3491085e91556eb69226b2b
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
| |
Change-Id: I2017665372e190f9d12841820714457967ff3a3a
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I9ae1b5b68f3e3ec2c513ec5a6811ea5396425766
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
| |
Change-Id: Ic818e79d7bfca04bd8a8d8aa12b3ff70ea26a7a3
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
| |
Change-Id: I87efe6b020b3c8b13491a1611b7992e8f697cb46
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I3f8c2183f9bb0a620bad8128bdceda1bcb00ebd4
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/doc/src/b2qt.qdoc
Change-Id: I9d345dcc689e751b997df797ce12b6cd8a14ffb9
|
| |
| |
| |
| |
| |
| |
| | |
Add an Enterprise License header to source files.
Change-Id: I373886dade31ce00d4c10c64ebaf8ba226d5a62d
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
| |
Change-Id: I2e28ef84e5c71c46924fd2b62bc9b199a0c6c7a9
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
| |
Corresponds to 0c397d2287d33b08501c48e029306b8908583e6a of github repo
Change-Id: I60c140513255394b6728ddd0ff85ac79fa5e88b9
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
| |
Change-Id: I43d1b525cf91b508113fcc6d883050b585a622f8
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
| |
Change-Id: I1ef3cd3c915813fec9ef62c4453b8b5e132a95f3
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
| |
Change-Id: I8da972b7cfd2e10ced0f49b30e946bfca645b1bf
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
| |
|