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: PER measurement

Part Number: CC2652R

Hi Experts,

Our customer is creating code for PER measurement For current their code, customer obtains event-data after HCI_EXT_PacketErrorRateCmd() is executed, as follows.

Since customer was not able to find how to get data after HCI_EXT_PacketErrorRateCmd() is executed, they are referring SDK source code. However, customer is not sure what those parameters(nPkts, nCrcErr, nEvents nMissedEvents) mean. Could you clarify them, please?

              static void ble_VsCmdCompleteEvt (hciEvt_VSCmdComplete_t *pMsg)
              {
                  switch (pMsg->cmdOpcode)
                  {
                  case HCI_EXT_PER:
                            
                          uint16_t nPkts         = BUILD_UINT16(pMsg->pEventParam[4],  pMsg->pEventParam[5]);
                          uint16_t nCrcErr       = BUILD_UINT16(pMsg->pEventParam[6],  pMsg->pEventParam[7]);
                          uint16_t nEvents       = BUILD_UINT16(pMsg->pEventParam[8],  pMsg->pEventParam[9]);
                          uint16_t nMissedEvents = BUILD_UINT16(pMsg->pEventParam[10], pMsg->pEventParam[11]);

And then, it would be appreciated if you will share helpful document/URL for this.

Best regards,

Miyazaki