Wi-Fi Combo Forum Discussions
[WICED-SDK-2.2.1]
The NX_TIMEOUT() macro produces an overflow when used with WICED_NEVER_TIMEOUT.
This happens for instance when wiced_tcp_receive() is invoked with WICED_NEVER_TIMEOUT with unexpected results.
-Marco G.
Show Less[SDK-2.3.0, BCM943362WCD4]
I have been trying to test the ability of Wiced to maintain a TCP connection across powersaves.
I have effectively merged tcp_client and ping_powersave to create an app that
creates a TCP connection and then sleeps. It wakes every N seconds to send and receive data
down the same connection (i.e. the connection is not destroyed). Its talking to a HTTP 1.1 server (i.e. with keep-alive).
It works, i.e. it wakes and successfully sends and receives data on the same connection.
The trouble is I cant seem to keep the service up for more than a few wakes.
From wireshark the AP does not seem to be deauthing and I can see no connection resets from the server side.
If I enable the connection to be setup and destroyed on every wake (see #define CONNECT_EVERY_TIME) then
the system will stay awake for at least 500 seconds (perhaps a separate issue here).
So it would seem that somehow the TCP state is not being maintained across a sleep, or it is but it loses its mind fairly quickly.
App is attached - just need to provide SSID.
[ATTACH]152[/ATTACH]
Show LessWICED Software Development Kit 2.2.0
snip.https_client app cant connect to a server which uses unverified tls certificate. To overcome this issue I adjust the variable of wiced_tcp_start_tls function to "TLS_NO_VERIFICATION".
wiced_tcp_start_tls(socket, WICED_TLS_AS_CLIENT, TLS_NO_VERIFICATION)
But still see "Error with TLS Handshake" issue didnt dissapear. I seached this error on workspace but couldnt reach. (func. not open)
We dont need to verify tls certificate because it belongs to us.
What is your suggestion ?
Thanks.
Show LessRunning WICED-SDK-2.3.0-IDE-Installer.pkg on a mac-pro with OS 10.8.2
Installation appears ok up to "Writing Files" and then it errors.
I get this in the mac console. The second message also appears in the installers window.
15/05/13 12:34:47.544 PM Installer[16807]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
15/05/13 12:34:47.580 PM Installer[16807]: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Show LessHi,
Im implementing OTA update on my device and I have big problems with uploading file through www page.
My device is working on ThreadX and NetX_Duo. Im using http server from waf/ota_upgrade application
with small modification. During one read form socket I can receive 1460 bytes maximum. For such amount of data
I need about 60ms to process it. I have big problems with receiving complete file. In most of tries I receive only part of file,
timeout occurs while reading from socket. I increased timeout value and thread priority to 4 but problem still exists. I dont know if the problem is network stack or
web browser that stops sending file in the middle. The biggest problems are with Mozilla browser. Maybe the problem is 60ms timeout.
File is uploaded using POST method exactly the same as it is done in example app.
Did anyone encounter such problems?
Show LessGreating,
Current WICED-SDK 2.4.1 have provided OpenOCD download/compile script.
I have prepared the MinGW environment in Windown 7 system.
My MinGW environment is : "MINGW32_NT-6.1"
mingw-gcc version is : gcc version 4.8.1 (GCC)
When I execute OpenOCD/build_all.sh compule OpenOcd, jimtcl/jim.c have one error :
libjim.a(jim.o): In function `JimStringIs':c:\sdk\OpenOCD\openocd-build\jimtcl/../../openocd/jimtcl/jim.c:3027: undefined reference to `isascii'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [jimsh.exe] Error 1
make[2]: Leaving directory `/c/sdk/OpenOCD/openocd-build/jimtcl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/sdk/OpenOCD/openocd-build'
make: *** [all] Error 2
That looks strange, as I know this funciton was define in "ctype.h" and jim.c have included it.
I write a simple program, compile it under MinGW environmen and verify isascii() funciton. It work correctly.
Have any body can help me resolve this issue?
Thank you.
Show LessI am planning to use WICED Wi-Fi module BCM43362 in my project as the wireless module. As I am approaching the PCB design phase, wondering if you have the footprint of this module? I am specially interested in KiCAD/Eagle footprint library.
Show Less