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.

CC1310: How to redo EasyLink_receiveAsync

The concentrator's example is this:

void TaskFunc()

{

EasyLink_receiveAsync();

while (1) {

if (Valid_Packet_Recv) {

EasyLink_receiveAsync();

}

if (Incalid_Packet_Recv) {

EasyLink_receiveAsync();

}

}

}

And now I need to redo a EasyLink_receiveAsync() when a user opration come, what my func is this:

void User_Func()

{

EasyLink_abort();

Semaphore_post(busyMutex);
asyncCmdHndl = EASYLINK_RF_CMD_HANDLE_INVALID;

EasyLink_receiveAsync();

Now I found it can't recv any packet after User_Func(),Is my opration wrong?