Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: CC3000 TCP client connect() problem

$
0
0

Vikram,

I'm using TI-RTOS 2.00.02.36. For J13, I connect pins 1 and 2. For J1, I connect pins 2 and 3.

If I run the client code alone, there is no problem. But it is not a reliable process. Because, sometimes the code stuck after recv() function. I think it depends on connection speed. I wonder what do you think about it? Also, there is a server code is run together with client code. It cause a preemption. I think the problem is it. How can I configure the priority of tasks for handle the preemption?

Thank you.

Turan

I changed the code and this is the output message on my console:

CC3000 has connected to AP and acquired an IP address.

IP Address: xxxx

- socket Done!

Connection Done!

Send data succeed!
"></HEAD>
<BODY><h2>Bad Request - Invalid Verb</h2>
<hr><p>HTTP Error 400. The request verb is invalid.</p>
</BODY></HTML>

FSR = 0x0002
HFSR = 0x40000000
DFSR = 0x0000000b
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>