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.

RTOS/LAUNCHXL-CC2650: ICALL_ERRNO_UNKNOWN_THREAD

Part Number: LAUNCHXL-CC2650


Tool/software: TI-RTOS

Hi,

I am getting struck "ICALL_ERRNO_UNKNOWN_THREAD"

 

Explained way:


Inside this function = static bStatus_t sendWaitMatchCS(ICall_EntityID src, void *msg, ICall_MsgMatchFn matchCSFn)

"waitMatchCS(matchCSFn, (void **)&pCmdStatus);" is not giving any return response.

inside "WaitMatchCS" function its struck in return "ICALL_ERRNO_UNKNOWN_THREAD;" 

Could you help me - Why my program got struck here please?

  • Hi Mano,

    This usually happens when you haven't registered a task with ICall or if you haven't initialized an ICall entity (eg GATT Client)

    Take a look at simple_peripehral's initialization function for how to register with ICall. software-dl.ti.com/.../the-application.html

    Regards,
    Rebel
  • Hi Rebel,

    Thanks for your valuable Reply,

    Here i am calling that function also. 
    Here i attached my screen shot.

    Kindly please look at it. if i am missing some thing Please let me know..

    If i want to more configuration also - Please let me know.

    The Numbers are showing that - Flow of the Program.

    And the struck up happening inside the 5th Function.

    Inside this function = static bStatus_t sendWaitMatchCS(ICall_EntityID src, void *msg, ICall_MsgMatchFn matchCSFn)

    "waitMatchCS(matchCSFn, (void **)&pCmdStatus);" is not giving any return response.

    inside "WaitMatchCS" function its struck in return "ICALL_ERRNO_UNKNOWN_THREAD;" 

    Could Please help me now?