Add minimum requirement documentation
This commit is contained in:
parent
c49ac36603
commit
9e5c4823a8
@ -14,6 +14,9 @@ and installed from [source](https://github.com/nymea/libnymea-networkmanager).
|
|||||||
> Note: the `libnymea-gpio-dev` package can be installed from the [nymea repository](https://nymea.io/en/wiki/nymea/master/install/debian) or built
|
> Note: the `libnymea-gpio-dev` package can be installed from the [nymea repository](https://nymea.io/en/wiki/nymea/master/install/debian) or built
|
||||||
and installed from [source](https://github.com/nymea/nymea-gpio).
|
and installed from [source](https://github.com/nymea/nymea-gpio).
|
||||||
|
|
||||||
|
> Note: a `Qt` verion `>=` `5.7.0` is required in order to work and bluez version `>=` `5.48`.
|
||||||
|
|
||||||
|
|
||||||
$ sudo apt update
|
$ sudo apt update
|
||||||
$ sudo apt install qt5-default qtbase5-dev qtbase5-dev-tools libqt5bluetooth5 qtconnectivity5-dev libnymea-networkmanager-dev libnymea-gpio-dev git
|
$ sudo apt install qt5-default qtbase5-dev qtbase5-dev-tools libqt5bluetooth5 qtconnectivity5-dev libnymea-networkmanager-dev libnymea-gpio-dev git
|
||||||
|
|
||||||
|
|||||||
@ -159,6 +159,10 @@ void Core::evaluateNetworkManagerState(NetworkManager::NetworkManagerState state
|
|||||||
if (m_mode != ModeOffline)
|
if (m_mode != ModeOffline)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// If we are still initializing, we don't need to react on the state changed
|
||||||
|
if (m_initRunning)
|
||||||
|
return;
|
||||||
|
|
||||||
// Note: if the wireless device is in the access point mode, the bluetooth server should stop
|
// Note: if the wireless device is in the access point mode, the bluetooth server should stop
|
||||||
if (m_wirelessDevice && m_wirelessDevice->mode() == WirelessNetworkDevice::ModeAccessPoint) {
|
if (m_wirelessDevice && m_wirelessDevice->mode() == WirelessNetworkDevice::ModeAccessPoint) {
|
||||||
stopService();
|
stopService();
|
||||||
@ -333,13 +337,13 @@ void Core::onNetworkManagerAvailableChanged(bool available)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qCDebug(dcApplication()) << "Networkmanager is now available.";
|
||||||
|
|
||||||
if (m_initRunning) {
|
if (m_initRunning) {
|
||||||
qCDebug(dcApplication()) << "Init is running...";
|
qCDebug(dcApplication()) << "Init is still running...";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
qCDebug(dcApplication()) << "Networkmanager is now available.";
|
|
||||||
|
|
||||||
switch (m_mode) {
|
switch (m_mode) {
|
||||||
case ModeAlways:
|
case ModeAlways:
|
||||||
qCDebug(dcApplication()) << "Start the bluetooth service because of \"always\" mode.";
|
qCDebug(dcApplication()) << "Start the bluetooth service because of \"always\" mode.";
|
||||||
|
|||||||
Reference in New Issue
Block a user