SPWF01SA Wifi Direct mode setting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-04-10 4:10 AM
Hi All,
I bought SPWF01SA wifi module from ST and i want to set it up in Wi-FI Direct mode and transfer data between two wifi direct devices. Can anybody tell me how to proceed further
Kind Regards
Don David
#spwf01sa-wifimodule- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-04-10 9:04 AM
Hi David,
ST SPWF0xS modules are not implementing WiFi Direct mode. You can setup the ad-hoc mode, called IBSS into datasheet and user manuals. Or, better, use the miniAP capability. You can setup SPWF module to act as a basic AP, providing link up to 5 devices. Also DHCP/DNS servers are running in this case!
Hope it helps
jerry
ps: if you are using an evaluation board, you can enable miniAP capability with a simple HW reset with GPIO7 low at boot time. Use both push-buttons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-04-11 2:14 AM
Hi Gerardo,
Thanks for the reply. I tried to set the SPWF01SA in miniAP modeby using the following command
AT+S.SCFG=wifi_mode,3
AT+S.SCFG=wifi_priv_mode,0
at+s.ssidtxt=
EM
at&w
at+cfun=1
And after this i connected it to my PC and entered
in the address bar and tried to setup the miniAP mode as per the datasheet and following error pops up.And in the COM Port i am receiving the Forbidden error message.
Can you tell what is going wrong here.
Best Wishes
Don
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-04-11 11:53 AM
When in miniAP, and 'ip_apredirect' configuration variable is not empty, default homepage is changed.
Now, if you want to really perform the remote configuration of the module via HTTP, this is the right page!
Why are you getting that message? Because password is wrong
Fill 'PassKey' field with content of 'user_desc' configuration variable. Default is 'anonymous'.
Let me know...
jerry
ps: there is a good handson tutorial on st.com/wifimodules page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-04-12 12:51 AM
Hi Gerrard,
Thanks for the reply.
I tried to set up the module in MiniAP mode by using the password 'anonymous' in the captiveportal.net as mentioned in my previous post.Below is the response i am receiving from the module.its getting reset and after that its not showing up in the WiFi Scan List
What will be going wrong here?
Best Wishes
Don
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-04-12 9:53 AM
You sent an empty SSID string.
WIND:57 (before reset) and WIND:26 (after reset) are clear.
Follow the handson STSW-IDW002
