Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Not applicable

I have an odd problem where when I specify the -debug flag in my make target the HTTP library causes a socket to be created with a TLS context that eventually fails since my server is unencrypted. Let me give you a bit of background....

My test device is an Inventek 4319 evaluation board.

Im using the standard WICED IDE v2.2.1 w/Inventek "patch"

My app is using the included http library, more specifically the methods in http_stream.c to send data to my "server". The data is a JSON encoded string.

The server at this stage in the game is either netcat or a custom Java based app. Both used for testing and will report data. Both not using TLS or any kind of security.

My build string in debug mode is : axeda.dataAgent-ISM4319_M3G_L44-debug download run 

My build string in normal mode is:  axeda.dataAgent-ISM4319_M3G_L44 download run

In debug mode:

There are no compilation errors. When the app runs it creates the message correctly, but when it tries to connect it prints a "Error with TLS handshake" message and goes into a hard fault state(the red LED is on solid.

In normal mode:

When I dont have the debug string in the make target the program runs but fails after the data is sampled and never says "Error with TLS handshake", instead it restarts. Obviously I have some issue there, but its hard to debug when debugging causes a different behavior.

Is there some option or flag I need to set to prevent the sequence of events from happening?

Could it be that http_init_stream always creates a secure socket and its just reported in Debug mode rather than in normal mode?

3 Replies
Not applicable
Are you sure you have an Inventek 4319 evaluation board?

WICED SDK-2.2.1 does NOTsupport 4319.
New Contributor II
The Inventek ISM4319 is not supported by 2.2.1 out of the box. There are some slight modifications that will make it work (I found them and it works). That said, the Inventek ISM43362 is out now and is supported in both 2.2.1, and more importantly in 2.3.1 (if the device is still in development).
Not applicable
Please move to the 43362, Inventek will swap the 4319 module for 43362.

The 4319 does not receive support on WICED SDK 2.x