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.

CC1200 AP SMPL_Init(ReceiceCallback)

Other Parts Discussed in Thread: CC1200

Hi All,

In my case,my platform is DK-TM4C129X and CC1200, I have already successfully create peer-to-peer communication,then I want to complete AP-ED demo.

SMPL_Init(ReceiveCallback); // this part is the callback function Init .

static uint8_t ReceiveCallback(linkID_t sLinkID)
{

    if (sLinkID)
    {
        g_ucPeerFrameSem++;
    }
    else
    {
        g_ucJoinSem++;
    }

}// this part is the Callback function,

in IAR debug mode, when I reset the ED, the GPIOD0 INT occured, then RxISR do well , but when I set a breakpoint  to g_ucJoinSem++ here, the program cannot reach here, this cause the if (g_ucJoinSem && (g_ucNumCurrentPeers < NUM_CONNECTIONS))  cannot reach, so I don't know why, why the callback function don't work, this means the callback handle has some problem?? or the smpl_config.dat has some problem?