Wi-Fi Combo Forum Discussions
- WICED SDK 2.3.0
- ThreadX/NetX Duo, BCMUSI11
When <WICED module> receive the mass data via <TCP-connection>, sometimes <NetX or BCM43362> hang up.
Here is my test diagram.
[ATTACH=CONFIG]143[/ATTACH]
Here is the test-screenshots.
[ATTACH=CONFIG]144[/ATTACH]
[ATTACH=CONFIG]145[/ATTACH]
After researching the capture file, I guess that the problem it is related with <TCP Window resize stuff>(WICED_TCP_WINDOW_SIZE). But, because I dont have the NetX source, I could not debug it any more.
Thanks in advance.
Steve
Show LessFrom FAQ: The SDK is available free when developing applications on microcontrollers connected to Broadcom Wi-Fi products.
Could wifi chip from other venders be used with the SDK? What's the licensing options if it's permitted?
Show LessHi!
Did anyone use multicast with FreeRTOS-LwIP,
I tried but wiced_multicast_join() function fails, when using with FreeRTOS-LwIP.
With ThreadX-NetX it works as expected.
Wireshark sniffing claims that header checksum is wrong in FreeRTOS-LwIP case, did anyone else experience this?
Regards Erik
Show LessI have received a couple of emails recently asking me to expand on "What is WiConnect and how does it help aid in development of WICED based Wi-Fi?"
WiConnect is an embedded application that provides a host microprocessor with a secure wireless connection to a local network or to any device that is part of the universal Internet of Things. The application is designed to run on various wireless modules provided by ACKme Networks.
Most of this is covered on the following pages:
|
ACKme NetworksWICED Wi-Fi Forums
Show LessHi,
For some reason i cannot figure out is i'm always getting "WARNING: RAM Totla mismatch, ........" when compile with code below
wiced_utc_time_t utc_time;
wiced_time_get_utc_time( &utc_time );
PS. Where you put it doesn't matter, you will get the warning message in console after you compile your code. Does anyone has any idea why using wiced_time_get_utc_time will result in compilation warning?
Best Regards,
Aaron
Show LessControlling GPIOs and LEDs
This example provides information demonstrating how to use WiConnect, a serial API that sits on top of WICED to use GPIOs to control LEDs on ACKme evaluation boards.
In WiConnect, a GPIO may have two functions: a standard IO function or an alternate function (such as a system indicator, status GPIO or control GPIO). When a GPIO is configured with an alternate function, the standard IO function is NOT available and the gpio_dir,gpio_set, and gpio_get commands are disabled for that GPIO.
Before a GPIO can be used to control an LED, it is necessary to first check whether the GPIO is being used for an alternate function. If a GPIO is not being used for an alternate function, but is already in use as a standard GPIO (for another purpose), the GPIO must first be freed up by setting the direction of the GPIO to none
using the gpio_dir command.
Note: The full article and others can be found here: ACKme | How to control GPIOs and LEDs
GPIO Usage
The gpio.usage variable makes it easy to get a list of GPIOs that are already in use. The session in the following table shows the GPIO usage (after factory reset) for a Mackerel Evaluation Board (schematics: AMW004-E03 Rev 1)).
WiConnect Session (AMW004-E03 Rev 1) |
---|
|
LED Control
The following example is based on the first revision of a Mackerel evaluation board which only has two LEDs connected to GPIO 21 & 22. These LEDs are factory configured as system indicators to dynamically indicate the state of the Wi-Fi and network connection (as shown in the table above). To repurpose the GPIOs as standard IOs for use with LEDs, try the WiConnect command sequence shown in the table below.
Note! Don't forget to adjust the GPIO numbers to suit your specific board!
WiConnect Commands (for AMW004-E03 Rev1) | Command Description |
---|---|
|
|
To re-instate the system indicators, either factory reset the module, or use the following commands.
WiConnect Commands | Command Description |
---|---|
|
|
GPIO Initialization
To simplify GPIO setup (on boot up), WiConnect provides the option to automatically configure GPIOs with a GPIO configuration script set using the gpio.config_file variable. Alternately, GPIOs may be individually configured for initialization after reset using the gpio.init variable. Don't forget to save & reboot to make sure recent GPIO initialization changes take effect.
WICED Wi-Fi ForumsACKme NetworksWICED Wi-Fi
Show LessHi Sir,
As SDK said, BCM943362WCD4 can support max up to 5 STA client when it is in softAP mode. But we found a strange issue see below:
1. BCM943362WCD4 has no problem support 4 STA client at the same time.
2. But when it reach at 4 STA client, the 5th STA client cannot connect to BCM943362WCD4.
3, Even we disconnect all thoses 4 STA client, the 5th STA client still cannot connect to BCM943362WCD4.
Could you pls give the suggestion? Thanks!
James
Show Less