Update pioarduino and enlarge mqtt stack size
This commit is contained in:
@@ -15,7 +15,7 @@ Feel free to join us on Discord: https://discord.gg/9nPq85bP4p
|
|||||||
## Supported devices
|
## Supported devices
|
||||||
|
|
||||||
<b>Supported ESP32 devices:</b>
|
<b>Supported ESP32 devices:</b>
|
||||||
- Nuki Hub is compiled against all ESP32 models with Wi-Fi and Bluetooh Low Energy (BLE) which are supported by ESP-IDF 5.1.4 and Arduino Core 3.0.4.
|
- Nuki Hub is compiled against all ESP32 models with Wi-Fi and Bluetooh Low Energy (BLE) which are supported by ESP-IDF 5.1.4 and Arduino Core 3.0.7.
|
||||||
- Tested stable builds are provided for the ESP32, ESP32-S3 and ESP32-C3.
|
- Tested stable builds are provided for the ESP32, ESP32-S3 and ESP32-C3.
|
||||||
- Untested builds are provided for the ESP32-Solo1.
|
- Untested builds are provided for the ESP32-Solo1.
|
||||||
- Support for the ESP32-C6 and ESP32-H2 is experimental. There could be more frequent crashes than on other ESP32 devices and connections with the Nuki device could be slower than on other ESP32 devices.
|
- Support for the ESP32-C6 and ESP32-H2 is experimental. There could be more frequent crashes than on other ESP32 devices and connections with the Nuki device could be slower than on other ESP32 devices.
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ default_envs = esp32
|
|||||||
boards_dir = boards
|
boards_dir = boards
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
|
||||||
platform_packages =
|
platform_packages =
|
||||||
framework = arduino, espidf
|
framework = arduino, espidf
|
||||||
board_build.embed_txtfiles =
|
board_build.embed_txtfiles =
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#define NUKI_HUB_VERSION "9.02"
|
#define NUKI_HUB_VERSION "9.02"
|
||||||
#define NUKI_HUB_BUILD "unknownbuildnr"
|
#define NUKI_HUB_BUILD "unknownbuildnr"
|
||||||
#define NUKI_HUB_DATE "2024-10-20"
|
#define NUKI_HUB_DATE "2024-10-28"
|
||||||
|
|
||||||
#define GITHUB_LATEST_RELEASE_URL (char*)"https://github.com/technyon/nuki_hub/releases/latest"
|
#define GITHUB_LATEST_RELEASE_URL (char*)"https://github.com/technyon/nuki_hub/releases/latest"
|
||||||
#define GITHUB_OTA_MANIFEST_URL (char*)"https://raw.githubusercontent.com/technyon/nuki_hub/binary/ota/manifest.json"
|
#define GITHUB_OTA_MANIFEST_URL (char*)"https://raw.githubusercontent.com/technyon/nuki_hub/binary/ota/manifest.json"
|
||||||
@@ -110,6 +110,7 @@
|
|||||||
#define MQTT_QOS_LEVEL 1
|
#define MQTT_QOS_LEVEL 1
|
||||||
#define MQTT_CLEAN_SESSIONS false
|
#define MQTT_CLEAN_SESSIONS false
|
||||||
#define MQTT_KEEP_ALIVE 60
|
#define MQTT_KEEP_ALIVE 60
|
||||||
|
#define MQTT_STACK_SIZE 12288
|
||||||
#define GPIO_DEBOUNCE_TIME 200
|
#define GPIO_DEBOUNCE_TIME 200
|
||||||
#define CHAR_BUFFER_SIZE 4096
|
#define CHAR_BUFFER_SIZE 4096
|
||||||
#define NUKI_TASK_SIZE 8192
|
#define NUKI_TASK_SIZE 8192
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ bool NukiNetwork::update()
|
|||||||
#else
|
#else
|
||||||
void NukiNetwork::initialize()
|
void NukiNetwork::initialize()
|
||||||
{
|
{
|
||||||
|
_mqtt_cfg.task.stack_size = MQTT_STACK_SIZE;
|
||||||
_hostname = _preferences->getString(preference_hostname, "");
|
_hostname = _preferences->getString(preference_hostname, "");
|
||||||
|
|
||||||
if(_hostname == "")
|
if(_hostname == "")
|
||||||
|
|||||||
@@ -2945,7 +2945,7 @@ bool WebCfgServer::processArgs(PsychicRequest *request, String& message)
|
|||||||
{
|
{
|
||||||
_preferences->putBytes(preference_conf_opener_advanced_acl, (byte*)(&advancedOpenerConfigAclPrefs), sizeof(advancedOpenerConfigAclPrefs));
|
_preferences->putBytes(preference_conf_opener_advanced_acl, (byte*)(&advancedOpenerConfigAclPrefs), sizeof(advancedOpenerConfigAclPrefs));
|
||||||
Log->print(F("Setting changed: "));
|
Log->print(F("Setting changed: "));
|
||||||
Log->println("ACLCONFBADVANCEDOPENER");
|
Log->println("ACLCONFADVANCEDOPENER");
|
||||||
//configChanged = true;
|
//configChanged = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ default_envs = updater_esp32
|
|||||||
boards_dir = ../boards
|
boards_dir = ../boards
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
|
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
|
||||||
platform_packages =
|
platform_packages =
|
||||||
framework = arduino, espidf
|
framework = arduino, espidf
|
||||||
board_build.embed_txtfiles =
|
board_build.embed_txtfiles =
|
||||||
|
|||||||
Reference in New Issue
Block a user