Wi-Fi Combo Forum Discussions
Dear
I am testing for upgrade with Android application but not work.
On web browser in Windows PC, it works well.
If there is any material for HTTP Post, please share it.
If you can inform me any thing, that would be good.
If you have the example codes for Android and can send it, that would be better for me.
Please, review the code attached.
Thank you for all your help.
Show LessI'm experiencing stability problems with my first webserver application. I'm running on a Murata SN8200EVK+ from Wiced on Windows 7 (64-bit). To track down the problem, I've stripped my system down to what I think is the smallest possible example and have attached the source files to this post.
The enclosed project serves only a single web page: an HTML index file that uses some jQuery Javascript. The jQuery library is pulled from Google's website. The C code is very basic.
The Javascript code loads the HTML file over and over, once per second, and puts some simple information on the screen.
I can compile, download, and connect to the device with my PC. I can pull up the web page with the latest version of Chrome -- sometimes. Sometimes the device will crash immediately. By crash, I mean that I have to power cycle the device or re-download to it to make it do anything. I can't pull up a web page. If I disconnect my PC from the WIFI connection, I will not be able to re-establish. I suspect the C code has fallen into an infinite loop or HALTed.
Sometimes the browser will pull the code up correctly and will load the page over and over. Usually, hitting F5 (refresh) on the browser will kill it immediately. Sometimes I have to hit it a bunch of times. Very rarely will refreshing not be able to kill it, but I've seen that happen too.
Regardless, such a simple program should be rock-solid stable and it's most definitely not. I need to know what I've done wrong before we can design this device into our product.
Thank you for looking into this!
Show LessHi, I'm novice user for this board.
In WICED WIFI, there are two headers. Function, Potentiometer. But I don't know about the two functions.
what about TIMER function and POTENTIOMETER function? Let me know in detail.
Thank you.
Show LessFor our case, the SPI1 of the wiced module is used as a slave mode.
I have modified wiced_spi_init() to make SPI1 be a slave, and the data sent from master can be received correctly by polling SPI bus.
However, I would like to enable the IRQ of SPI1.
The IRQ is enabled by the following code due to STM32F2xx is used.
SPI_I2S_ITConfig(spi_mapping[spi->port].spi_regs, SPI_I2S_IT_RXNE, ENABLE);
In addition, SPI1_irq() handler is implemented but this ISR is not called while data arriving.
Is there anything missed to enable the SPI IRQ?
Should link files be modified accordingly ?
Show LessHi,
SDK - 2.4.1 mcu-stm32f407ig chip-bcm43362
Im trying to stream 80x80 50Hz camera image frames through wifi direct + udp.
In this UDP packet creation fails often in between.
What should I do?
Increase Heap Size?
Increase Networking Worker Thread Stack Size?
Increase Application Thread Stack Size?
Increase TX_PACKET_POOL_SIZE?
Is there any other things I should try?
Thanks and Regards,
Sooraj
I'm create a new module in Library folder but i appear an erorr "undefined reference to `USARTReceiveInterrupt", i thoroughtly checked . Can i help me if you soluted it
Show LessHi @ all!
I'm using a SN8000x with the SDK 3.0.1 and try to change the Tx-Power.
I found the function "wwd_wifi_set_tx_power()" and tried with '0' and '31' with the following assumption:
- 0 means 0dBm and the sending is off (or very low)
- 31 means 31dBm and is the maximum output of this module
- Returning WWD_SUCCESS means the setting is used now
Now I configured the SN8000x as AoftAP an joined this network with a laptop.
With a tool on the laptop I read out the RSSI of the SoftAP-Frames.
I changed the Tx-Power.
The seen RSSI with a distance abaut 10m is always abaut -60dB (jitter about +- 5dB).
=> I wonder why I can't see any changes of the SoftAP signal.
=> Is there any automatism active, which restore/change the Tx-Power?
(I have seen When using wiced_wifi_set_tx_power() function, I think that tx power is not changed, but there was no answer)
Show LessSDK 3.1.1 WPS test
1. WPS trgistrar does not work with SmartPhone (Samsung Galexy S4 )
2. WICED SDK project : snip.wps_registrar-BCM94390WCD2-ThreadX-NetX NO_BUILD_BOOTLOADER=1 download run
3. Serial console log says that "WPS enrollment was successful". so 4390 module output "WPS enrollment was successful"
but smartphone can not get the ip address. In smartphone, "WPS complete, get networking......" and says "WPS fails"
4. it seems to work in console in module side, but module side, DHCP server may not work properly
please refer below information
.
// serial terminal log ----------------------------------------------------------------------------------------------------
Starting WICED v3.1.1
Platform BCM94390WCD2 initialised
Started ThreadX v5.6
Initialising NetX v5.5_sp1
Creating Packet pools
Starting WICED v3.1.1
Platform BCM94390WCD2 initialised
Started ThreadX v5.6
Initialising NetX v5.5_sp1
Creating Packet pools
WWD SoC/4390 interface initialised
WLAN MAC Address : 02:0A:F7:67:36:42
WLAN Firmware : wl0: Sep 23 2014 15:25:17 version 6.38.15.5 (r504179)
Starting access point
IPv4 network ready IP: 192.168.10.1
Starting WPS Registrar in PBC mode
WPS enrollment was successful
TKS
Show LessHi
I just modified the tcp_server app
1. Once connected listens for data until disconnected from client side
2. Removed the echo back , prints the rxd pkt size only
I'm transmitting packets of 1K size to the server continuously without delays , and after some time ,say 30 sec , I see my server gets crashed and Platform gets restarted,
This behavior is only in Wiced SDK 3.1.0 but working OK in Wiced SDK 2.4.1 , But I can't use SDK 2.4.1.
How can I solve this issue? Do I require some patches to solve this problem?
Show Lessstatic wiced_result_t tcp_server_process( tcp_server_handle_t* server, wiced_packet_t* rx_packet )
{
char* request;
uint16_t request_length;
uint16_t available_data_length;
wiced_packet_get_data( rx_packet, 0, (uint8_t**) &request, &request_length, &available_data_length );
WPRINT_APP_INFO(("%d\n", request_length)); /* just prints the length of xrd packet*/
return WICED_SUCCESS;
}
static void tcp_server_thread_main(uint32_t arg)
{
tcp_server_handle_t* server = (tcp_server_handle_t*) arg;
while ( quit != WICED_TRUE )
{
wiced_packet_t* temp_packet = NULL;
wiced_result_t result = wiced_tcp_accept( &server->socket );
if ( result == WICED_SUCCESS )
{
while(1)
{
if (wiced_tcp_receive( &server->socket, &temp_packet, WICED_WAIT_FOREVER ) == WICED_SUCCESS)
{
/* Process the client request */
tcp_server_process( server, temp_packet );
/* Delete the packet, we're done with it */
wiced_packet_delete( temp_packet );
}
else
{
wiced_tcp_disconnect( &server->socket );
break;
}
}
}
}
WPRINT_APP_INFO(("Disconnect\n"));
WICED_END_OF_CURRENT_THREAD( );
}