This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

question about HCI_EVNT_REVFROM of CC3000

Other Parts Discussed in Thread: MSP430F5438A

Hi,

I have a board MSP430f5438a on which there is a intergrated cc3000 TIWI-SL Module.

The connection of WLAN is ok. The sending of data from cc3000 to my PC is ok too (UDP).

But, when i try receiving data from PC, the program goes always into a non-end LOOP.

when i call the fucntion revfrom(), then the program goes into event_handler.

After i send a data to CC3000, the program goes into "HCI_EVENT_REVFROM" , that is right. But, there is a "IF"

statement :

if(((tBsdReadReturnParams *)pRetParams)->iNumberOfBytes == ERROR_SOCKET_INACTIVE) 

then program gose into it, and execute the statement :

set_socket_active_status(((tBsdReadReturnParams *)pRetParams)->iSocketDescriptor,
SOCKET_STATUS_INACTIVE);

is that right?

Because i use an old patch programmer(but it is already the newest.), i dont know if something wrong with my SPI or something. My driver version is : 1.6.1.2 , but at least the sending of data is fine.

is there anybody met this problem ?

Thanks for giving me some suggestions.

Best Regards,

Shaguar