cancel
Showing results for 
Search instead for 
Did you mean: 

can not customize WPA mode (Mini AP).

secretagentx
Associate
Posted on November 12, 2014 at 20:03

Software

SPWF01S-140805-3f58d6b-RELEASE-main

Set Mini AP mode:

---------------------------------------

AT+S.SSIDTXT=MY    (get/set a textual SSID)

AT+S.SCFG=wifi_wpa_psk_text,SUPER  (WPA(2) PSK passphrase, if set the actual PSK will be generated from this. Used in STA, IBSS and MiniAP.)

AT+S.SCFG=wifi_priv_mode,2   (Privacy Mode: 0=none, 1=WEP, 2=WPAPersonal (TKIP/AES) or WPA2-Personal (TKIP/AES))

AT+S.SCFG=wifi_auth_type,1   (Authentication type:0=OpenSystem,1=SharedKey)

AT+S.SCFG=wifi_mode,3   (Radio mode. 0=IDLE,1=STA, 2=IBSS,3=MINI AP (only b/g modes))

AT+S.SCFG=ip_use_dhcp,2   (DHCP server on/off.Used in STA, IBSS and MiniAP.2=on&customize (in MiniAP mode: user can customize the ip_ipaddr of the

iniAP, the ip_address of the client is automatically assigned by the MiniAP))

AT+S.HTTPD=1     (HTTP server on/off.0=off, 1=on)

AT&W      (Save setting)

AT+CFUN=1     (Soft reset)

---------------------------------------

WEP mode is selected and writes an incorrect password on the client. OpenSystem mode is working.

4 REPLIES 4
Posted on November 13, 2014 at 00:32

Not knowing any particular information about the firmware:

Do you get WPAPersonal if you set the priv_mode = 3? On my module it doesn't seem to complain and if you set 2 and get WEP, that sounds like an off by one bug.

Posted on November 18, 2014 at 11:11

Hi,

sorry for delay.

miniAP mode supports only OPEN and WEP mode. priv_mode 0 and 1.

WPA/2 is not supported.

secretagentx
Associate
Posted on November 18, 2014 at 16:54

Thanks for the answer. Trying WEP, password length of 5 or 13 characters. Client (android) with connections can not get IP address, and the module SPWF01 writes that the connection is established, after some time the connection is lost. How to I make the order of commands.

Posted on November 20, 2014 at 03:31

Please paste here:

1 - content of AT&V command

2 - content of AT+S.STS command

3 - messages over UART interface, from +WIND:1 on...

Thanks to you

j