SPWF04S MiniAP mode issues
I've recently updated some SPWF04SA modules to firmware version 1.1.0 and I have a couple of problems with Mini AP mode:
- The SSID I set with AT+S.SSIDTXT=<SSID> seems to be being truncated to 6 characters in the beacon frame, even though the WIND:26 notification gives the full SSID. I don't remember seeing this problem with firmware version 1.0.0. I've even tried setting wifi_ssid_len explicitly to the correct size, but it makes no difference.
- If I configure for WPA2 security (wifi_priv_mode=2), it still appears as an unsecured AP, and I can connect to it without a password. The full message sequence is as follows:
+WIND:1:Poweron:171117-0328fe3-SPWF04S
+WIND:13:Copyright (c) 2012-2017 STMicroelectronics, Inc. All rights Reserved:SPWF04SA
+WIND:0:Console active
+WIND:3:Watchdog Running:20
AT+S.WIFI=0
AT-S.ERROR:18:Radio not running
AT+S.SCFG=wifi_tx_power,0
AT-S.OK
AT+S.SCFG=ip_use_httpd,0
AT-S.OK
AT+S.SCFG=ip_use_tftpd,0
AT-S.OK
AT+S.SCFG=ip_use_v6,0
AT-S.OK
AT+S.SCFG=ip_ntp_startup,0
AT-S.OK
AT+S.WIFI=0
AT-S.ERROR:18:Radio not running
AT+S.SSIDTXT=<my SSSID>
AT-S.OK
AT+S.SCFG=wifi_wpa_psk_text,<my password>
AT-S.OK
AT+S.SCFG=wifi_auth_type,0
AT-S.OK
AT+S.SCFG=wifi_priv_mode,2
AT-S.OK
AT+S.SCFG=wifi_mode,3
AT-S.OK
AT+S.WIFI=1
AT-S.OK
+WIND:32:WiFi Hardware Started
+WIND:26:Started AP:<my SSSID>
+WIND:24:WiFi Up:0:192.168.0.50
AT+S.GCFG=ip_netmask
AT-S.Var:ip_netmask=255.255.255.0
AT-S.OK
+WIND:28:Station Associated:00:0F:00:4F:B1:3F:0
[...]
Am I missing something somewhere?
Thanks in advance,
Scott.
