cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

Hi,

I don't know if I'm just missing something in my way to implement a new thread or if the problem comes from somewhere else.

I'm using ThreadX and when I create a thread in the application_start, the function wiced_rtos_create_thread doesn't return, the thread is created and starts and the loop inside works well, but I can't put any code after creating one thread in my main thread.

I tried to find if there was a way to stop and start the thread handler in order to create a new thread, but it seems that the function tx_thread_create called by wiced_rtos_create_thread takes care of everything. And looking at the way it is implemented in the tcp_server snip example it seems that a simple call does the job.

It's kind of hard to see what really happen by debugging.
If somebody have any idea or even direction to look at, I would be glad to hear you.

Thank you in advance,

Martin

0 Likes
Reply
1 Reply
Anonymous
Not applicable

Hey Martin,

have you been able to resolve the issue?

If not, please can you try with the latest sdk?

The wiced_rtos_create_thread returns WICED_SUCCESS if the thread creation is successful else it returns WICED_ERROR.

Let us know, if you have any more questions.

The latest sdk can be downloaded from here.

Best Regards,

AB

0 Likes
Reply