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.

CC2652R: Change mac poll rate using "Zstackapi_sysConfigWriteReq" showing inconsistency.

Guru 14820 points
Part Number: CC2652R
Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK

Hello ,

We are using cc2652 for ZED with simplelink SDK 2.40.

we are changing the mac poll duration using the below function -

/*******************************************************************************
* @fn SetMacPollRate
*
* @brief Set Mac Poll Rate function
*
* @param poll rate duration in ms
*
* @return none
*/
static void SetMacPollRate(uint32_t duration)
{
zstack_sysConfigWriteReq_t writeReq = {0}; // create a config struct

writeReq.has_pollRate = true; // update member values

writeReq.pollRate = duration; // poll every 5 minute

Zstackapi_sysConfigWriteReq(appServiceTaskId, &writeReq); // update the new config
}

But this is showing inconsistency in mac poll rate.

I set the poll rate to either 3 seconds or 5 minutes.

But suddenly it automatically starts sending data request with 500ms /6 /9/15 seconds interval.

Apply filter with PAN ID - CB15

MAC POLL RATE INCONSISTENCY.rar

Apply filter with PAN ID - F001

dynamic poll issue.rar

  • Previous thread: e2e.ti.com/.../783920

    This is failure to restore the POLL_RATE from REJOIN_POLL_RATE during a successful rejoin and has been resolved in the SIMPLELINK-CC13X2-26X2-SDK v3.10 which is now available. It has nothing to do with your Zstackapi_sysConfigWriteReq implementation as far as I am aware. If updating your SDK does not resolve the issue then please provide comments in your sniffer log to further detail the location where the issue occurs.

    Regards,
    Ryan
  • you mean to say this can occure once only after rejoin?
  • The sniffer log you have provided demonstrates a rejoin poll rate issue which has been resolved in the SimpleLink CC13x2 / CC26x2 SDK v3.10, if you notice behavior other than this then I need to know exactly where in the sniffer log it can be found.

    Regards,
    Ryan
  • Hi Ryan,

    the Issue which i observed and reorted is for after Rejoin.

    5226.MAC POLL RATE INCONSISTENCY.rar

    In the attached sniffer log consider PAN ID - CB15

    there are 4 ZED which are sending Data request. all are with the same hardware and software.

    Mac source - 

    1) 7751

    2) D28A

    3) 0EC8

    4) E833

    in the firmware, I have configured the device to send data request at 3 seconds interval for 2 minutes in an hour and for the remaining 58 minutes, it will send data request at 5-minute nterval.

    But if you notice the sniffer log 

    1)  ZED with  MAC source E833  -  from packet no. 172 onwards it started sending data at every 500 ms interval approximately. this behavior is unexpected 

    2)  similarly ZED with  MAC source FAC4  -  from packet no. 5358 onwards it started sending data at random interval. this behavior is unexpected 

  • Hi Dhanraj,

    The sniffer log is encrypted and does not have the keys necessary to view the packets. Please provide the changes necessary to the example projects in order to replicate the behavior. Also, verify that the issue still exists on the v3.10 SDK.

    Regards,
    Ryan