mongoose-os-apps / shelly-homekit

Apple HomeKit firmware for Shelly's
Other
1.78k stars 128 forks source link

Network name length is limited to 31 characters instead of 32 #1519

Open Fingfing opened 1 week ago

Fingfing commented 1 week ago

The network name field only allows for 31 characters (s. error message below). Wifi networks with names which consists of 32 characters (which is the limit in many other systems) can't be used or connected to in Shelly-HomeKit (v. 2.12.2 and earlier).

Screenshot_error_message

Tested in: Shelly-HomeKit v.2.12.2 for Shelly Plug S (Build: 20240912-182037/2.12.2-gfff6707).

markirb commented 1 week ago

This is limitation/error in mongoose os

https://github.com/mongoose-os-libs/wifi/blob/master/src/mgos_wifi.c#L132

Not sure if we want to fix that for now