| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
b2qt-update-application is for doing the actual update.
b2qt-update-util is for initiating and finishing the update.
Change-Id: Ide1c1ba307d9346bacf83c507816feecefe87a16
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This application is launched once during boot, from qt_init.sh.
Change-Id: I76b39319d1777cd1e8cb068c734588b84f2c0062
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
| |
Without these build scripts can't find the sensor plugin
Change-Id: Ia94782fcb6292df8de3ea1f5fa88e2b880441f81
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
|
| |
It provides the Android permission and scheduling policy services.
These services are normally provided by Zygote.
Change-Id: I11eeba92b6b12e26b45baa5871a6fd7c2058b6c6
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|
|
|
|
|
|
|
| |
Contains introduction, getting started, setting up development
hardware, supported platforms and troubleshooting sections.
Task-number: QTRD-1956
Change-Id: Ib14d2314f35ec929b4f62293b5efdb5a9c5ebdb4
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
|
|
|