- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm building a product based on WICED SDK(bcm43362 chip), I'd like to known can I use AP mode and STATION mode simultaneously ? STATION used for Internet Connecting, AP used for configuration and build the local network.
Some gentleman help me, TKS!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take a look at this blog: Using AP(softAP) and STA(client) simultaneously
I think this is what you are looking for...
More here: Getting Started with WICED Wi-Fi and the Broadcom SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take a look at this blog: Using AP(softAP) and STA(client) simultaneously
I think this is what you are looking for...
More here: Getting Started with WICED Wi-Fi and the Broadcom SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's what I'm looking for, thank you so much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi mwf_mmfae,
Can you take a look at below issues?
http://community.broadcom.com/message/13146#13146
http://community.broadcom.com/thread/3710
I don't think using STATION & AP mode simultaneously works fine in sdk-3.1.2.
Comments?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi folks,
We've looked into the problem and were able to identify the error with NetX / NetX_Duo. We create separate NetX stack instances for each interface(STA / AP / P2P), and should have separate ARP caches as well. However in the previous code (3.1.2 and before) it was sharing the same ARP cache between all the interfaces. This was causing corruption in communication. We have tested the below solution out and can confirm this solves the problem for NetX and NetX_Duo. It will be fixed in the next SDK release, in the meanwhile you can apply the changes by the following.
You can change the code in the following locations
- /WICED/network/NetX/WICED/wiced_network.c
- /WICED/network/NetX_Duo/WICED/wiced_network.c
/******************************************************
* Static Variables
******************************************************/
/* Network objects */
++ADD THE FOLLOWING++
static char wifi_sta_arp_cache[ARP_CACHE_SIZE];
static char wifi_ap_arp_cache[ARP_CACHE_SIZE];
static char wifi_p2p_arp_cache[ARP_CACHE_SIZE];
#define WIFI_STA_ARP_CACHE wifi_sta_arp_cache
#define WIFI_AP_ARP_CACHE wifi_ap_arp_cache
#define WIFI_P2P_ARP_CACHE wifi_p2p_arp_cache
static char wiced_ip_stack[3] [IP_STACK_SIZE];
--COMMENT OUT BELOW--
//static char wiced_arp_cache [ARP_CACHE_SIZE];
In the function wiced_ip_up()
/* Enable ARP */
--COMMENT OUT BELOW--
//if ( nx_arp_enable( &IP_HANDLE(interface), (void *) wiced_arp_cache, ARP_CACHE_SIZE ) != NX_SUCCESS )
++ADD THE FOLLOWING++
if ( nx_arp_enable( &IP_HANDLE(interface), (void *) ARP_FOR_IF( interface ), ARP_CACHE_SIZE ) != NX_SUCCESS )
Unfortunately we could not duplicate this problem on LwIP. We will continue to look into this and will keep you posted on any findings. Thank you for your patience.
Thanks,
Jaeyoung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What about Linux condition, can use AP and STATION simultaneously?