Wi-Fi Combo Forum Discussions
Where do I find the documentation on programming the Expansion Header Socket Pins for WICED SMART Kit which uses BCM943362WCD4 WIFI module?
If there is existing application which programs the expansion header pins that reference can help.
Show LessHi,
I'm newbie in WICED SDK and I'm trying to read all the packets received from an streaming radio. I only receive a few packets, after this the socket is closed. I'm using SDK 2.4.1 (the last suported for the SN8200 platform). I read and print the packet data with this (modified) source code:
do
{
uint16_t amount_to_read;
uint16_t total_available;
uint8_t* packet_data = NULL;
uint16_t space_available = 0;
rx_result = wiced_tcp_receive( &socket, &rx_packet, timeout );
if ( rx_packet == NULL ){
rx_result = wiced_tcp_receive( &socket, &rx_packet, timeout );
if ( result != WICED_SUCCESS){
WPRINT_APP_INFO(( "Error\r\n" ));
break;
}
}
wiced_packet_get_data( rx_packet, 0, &packet_data, &space_available, &total_available);
amount_to_read = MIN( BUFFER_LENGTH, space_available );
memcpy( buffer, packet_data, amount_to_read);
// Print packet data
buffer[ BUFFER_LENGTH ] = 0x0;
WPRINT_APP_INFO(( "%s", buffer ));
/* Check if we need a new packet */
if ( amount_to_read == space_available ){
wiced_packet_delete( rx_packet );
rx_packet = NULL;
}
else{
/* Otherwise update the start of the data for the next read request */
wiced_packet_set_data_start( rx_packet, packet_data + amount_to_read);
}
}while ( rx_result == WICED_SUCCESS );
I don't know if I'm doing something wrong or if there are any limitation (amount of data received, memory stack...).
Any suggestion will be appreciated.
Show LessHello,
I have an udp multicast running on the STA interface, this is running without any problems.
However at the moment I enable the AP interface the UDP send function returns an error (code 15) and is unable to send my UDP packet.
I have also tried to disable my mutlicast functionality before I enable the AP en enable it again after the AP is up, but this won't work either.
The UDP multicasst udp packets are still received when enable the AP, only the sending back seems to go wrong.
Could it be that it tries to send the reply back over the AP network instead of the STA network?
I am using LWIP.
Cheers,
Gerard
Show LessHello.
My Platform is BCM9WCDUSI09 and SDK 3.1.2
I have downloaded "BCM9WCDUSI09.zip" file.
below are 233 line and 238 line of platform.c file
const platform_gpio_t wifi_control_pins[] =
{
[WWD_PIN_POWER ] = { GPIOC, 7 },
[WWD_PIN_RESET ] = { GPIOC, 1 },
//#if defined ( WICED_USE_WIFI_32K_CLOCK_MCO )
[WWD_PIN_32K_CLK ] = { GPIOB, 1 }, -----> 233 line
//#else
// [WWD_PIN_32K_CLK ] = { GPIOA, 11 },
//#endif
[WWD_PIN_BOOTSTRAP_0] = { GPIOB, 0 },
[WWD_PIN_BOOTSTRAP_1] = { GPIOB, 1 }, -------> 238 line
};
{GPIOB, 1} is duplicated.
Is it right?
Thanks.
Show LessDebug Breakpoints in demo https client.c by demo board BCM943362WCD4.It Happened:
failed to execute MI command:
-stack-list-frames 0 0
Error messages from debugger back end:
Invalid thread id:1
Thread[1] disappeared at the same time.
I debugged with WICED-SDK 3.1.2 which running Windows XP SP3 V6223 En Version.
I Modied WIFI parameters in WICED-SDK-3.1.2\Wiced-SDK\include\default_wifi_config_dct.h:
#define CLIENT_AP_SSID "999LO777VE999-WR-4"
#define CLIENT_AP_PASSPHRASE "wwwlove333666999com"
other Code from the Wiced-SDK-3.1.2-IDE-Installer.exe are NOT modified.
What's wrong? Thanks a lot.
My scenario is little time critical ,
I have two threads ,one gives the sempahore and another waits&takes the semaphore. Once the semaphore is given it takes min of 1ms for context switch to acquire (by SYSTICK) the semaphore by the other thread, I want to speed this in range of microsec. I found that in ISR giving semaphore enables a context switching alongwith , without the SYSTICK interrupt/context switch.
So I need to generate a software interrupt so that I can release semaphore with a concurrent context switch.
How can I achieve this in Wiced IDE?
Show LessHi,
About wifi_config_dct.h, I found two parameters (CONFIG_AP serials and SOFT_AP serials). But I don't know what is the difference between them, and how to properly use them.
Show LessHi. Am planning to use WICED SDK for my application which uses Wifi direct connection protocol. As i see WICED-SDK-3.1.2 provides basic P2P connection code. I am looking for P2P service discovery support from WICED. Are there any new releases after WICED-SDK-3.1.2 which supports service discovery in P2P? Or if there is any work going on for adding service discovery support then when will it be available as part of WICED SDK?
Show LessHello,
I am trying to include the wiced ota server into my application for upgrading.
I have looked at ota_fr as example. My board is SN8205 evk.
I am getting the error:
undefined reference to `wiced_ota_server_start'
From the example I added the following includes:
#include "wiced.h"
#include "wwd_debug.h"
#include "wiced_framework.h"
#include "wiced_ota_server.h"
In my Makefile I have added the following options:
$(NAME)_COMPONENTS := daemons/ota_server
#Set factory reset application to be this same application.
FR_APP := $(OUTPUT_DIR)/binary/$(CLEANED_BUILD_STRING).stripped.elf
DCT_IMAGE := $(OUTPUT_DIR)/DCT.stripped.elf
Do I have to add something somewhere else to get this compiling?
Or any other action needed?
Cheers,
Gerard
Show LessHi,
I want to develop a dynamic HTML server webpage with WICED. Furthermore I want to put dynamic content into JSON files and use AJAX to retrieve them in client browser. Late on maybe Websockets..... Is there a howto with step by step instruction?
How to create a make file with right resoruces and generate everything.
Thanks
Piwi
Show Less