- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have customized SN8205 module and when We'd tested apsta app on this it's working fproperly.
But when we had modified app to our requirement its not working properly.
commented below line in apsta.mk so we can configure device at runtime.
#WIFI_CONFIG_DCT_H := wifi_config_dct.h
Please find below flow of new app:
1) Write config SSID and PASSPHRASE to dct.
2) Start config interface
3) Configure module using html pages through phone
4) Connect to the STA SSID and PASSPHRASE given by user
5) Write softap SSID and PASSPHRASE to dct
6) Start softap interface
Above all the steps are worked properly.But when i'm trying to connect with softap it's not connecting with my PC or Phone.
Please find attached apsta.c file.
Any help in this case will be appreciated.
Thanks & Regards
prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any update on above question??
We'd also tested above scenario with 3.1.2 but any device is not connecting with softAP and PASSPHRASE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any updates regarding this??
In 5th step in place of softAP mode if we are trying config mode then it's working perfect.
So anyplease help with softAP mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try as below for your reference?
Below is our partial code.
1. I think that it need data length field setting.
strcpy( (char *) ( ex_dct_wifi_local.soft_ap_settings.SSID.value ), ex_cmd_parsed_buf[0] );
ex_dct_wifi_local.soft_ap_settings.SSID.length = strlen( ex_cmd_parsed_buf[0] );
ex_dct_wifi_local.soft_ap_settings.security = get_security_value( secu_type );
strcpy( ex_dct_wifi_local.soft_ap_settings.security_key, ex_cmd_parsed_buf[2] );
ex_dct_wifi_local.soft_ap_settings.security_key_length = strlen( ex_cmd_parsed_buf[2] );
ex_dct_wifi_local.soft_ap_settings.channel = atoi( ex_cmd_parsed_buf[3] );