I am trying to use the Legato API for WiFi on the mangOH Red WP8548 with the WiFi IoT card, and noticed that
le_wifiClient_GetSsid() returns only the first 25 characters of the SSID, instead of
LE_WIFIDEFS_MAX_SSID_LENGTH which is 32 by industry standard. As a result,
le_wifiClient_Connect() fails to connect to APs with SSIDs longer than 25 characters (error code -6).
Here’s a sample output from the built in Legato wifi client app. You can see the SSID being cut off after the 25th character. I have set the SSID of an AP to 25 characters and successfully connected, but anything 26 and above has failed.
root@swi-mdm9x15:~# wifi client scan starting scan. Found: SSID: "Training" Strength:-67 Ref:0x10000001 Found: SSID: "timmacWiFi" Strength:-68 Ref:0x10000011 Found: SSID: "Cisco02041" Strength:-80 Ref:0x10000007 Found: SSID: "\x00" Strength:-67 Ref:0x10000013 >> Found: SSID: "TheSsidIsThirtyTwoCharact" Strength:-57 Ref:0x1000000f << Found: SSID: "SBG6580E9" Strength:-70 Ref:0x1000000d
I have tried Legato AF versions 17.06 through 17.09 all get the same result. Has anyone else encountered this problem and can it be fixed?