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.

CCS/LAUNCHXL-CC1352R1: In which function is program looping in rfWsnConcentrator code When the program waits to receive a packet?

Part Number: LAUNCHXL-CC1352R1

Tool/software: Code Composer Studio



Please tell me which function it is  ..

  • Hi

    The radio waits for an event in the concentratorTaskFunction:

    /* Wait for event */

    uint32_t events = Event_pend(concentratorEventHandle, 0, CONCENTRATOR_EVENT_ALL, BIOS_WAIT_FOREVER);

    When the radio receives a packet, an event is posted in the rxDoneCallback:

    /* Signal packet received */

    Event_post(radioOperationEventHandle, RADIO_EVENT_VALID_PACKET_RECEIVED);

    If you are not familiar with RTOS, I recommend that you take a look at the following:

    BR

    Siri