Hello TI,
I'm reaching out to understand the behavior present in the TI 15.4 sensor simplelink_cc13x0_sdk_4_10_02_04 Jdllc_process function.
Within the code we have block:
/* Process poll event */ if(Jdllc_events & JDLLC_POLL_EVT) { bool autoRequest; ApiMac_mlmeGetReqBool(ApiMac_attribute_autoRequest, &autoRequest); if( ( (CONFIG_MAC_BEACON_ORDER == JDLLC_BEACON_ORDER_NON_BEACON) || (autoRequest == false) ) && !CERTIFICATION_TEST_MODE) { if((devInfoBlock.currentJdllcState == Jdllc_states_joined) || (devInfoBlock.currentJdllcState == Jdllc_states_rejoined)) { /* set poll timer */ Ssf_setPollClock(devInfoBlock.pollInterval); } /* send poll request */ sendPollReq(); } /* Clear the event */ Util_clearEvent(&Jdllc_events, JDLLC_POLL_EVT); }
The code as-is will allow a pollRequest to be sent when a device has not joined the network. Should sendPollReq be inside the devInfoBlock.currentJdllcState if check?
It is not clear what is the use-case where a pollRequest should be allowed with a device not joined. Can you clarify what the use-case for this is?