From c845b7848eebb11150ca0427773303bf8758e533 Mon Sep 17 00:00:00 2001 From: tobi-sys <126721458+tobi-sys@users.noreply.github.com> Date: Fri, 10 Nov 2023 21:07:57 +0100 Subject: [PATCH] Changed the variable length of wifi_psk WiFi PSK can be 256 bits = 32 Bytes and can be represented by a 64 character long hexadecimal string The size of the variable must be 65 bytes to hold the string and the trailing \0 --- meshtastic/config.options | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meshtastic/config.options b/meshtastic/config.options index 3448af50..4490f082 100644 --- a/meshtastic/config.options +++ b/meshtastic/config.options @@ -1,5 +1,5 @@ *NetworkConfig.wifi_ssid max_size:33 -*NetworkConfig.wifi_psk max_size:64 +*NetworkConfig.wifi_psk max_size:65 *NetworkConfig.ntp_server max_size:33 *NetworkConfig.rsyslog_server max_size:33 @@ -11,4 +11,4 @@ *LoRaConfig.coding_rate int_size:8 *LoRaConfig.channel_num int_size:16 -*PowerConfig.device_battery_ina_address int_size:8 \ No newline at end of file +*PowerConfig.device_battery_ina_address int_size:8