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.

CC2642R: when polling RSSI value in a connection state(simple_peripheral under simplelink_cc26x2_sdk_2_10_00_44)

Part Number: CC2642R

Hi TI experts,

To poll RSSI values in a connection state, whenever entering the connection mode, I generated SP_CONN_EVT by using simplePeripheral_enqueueMsg(SP_CONN_EVT, NULL);  in the  GAP_LINK_ESTABLISHED_EVENT. And then it calls HCI_ReadRssiCmd successfully.

When the process entered simplePeripheral_processCmdCompleteEvt, but the below status returns 0x12.

static void simplePeripheral_processCmdCompleteEvt(hciEvt_CmdComplete_t *pMsg)
{
  uint8_t status = pMsg->pReturnParam[0];
  Display_printf(dispHandle, 0, 0, "status: 0x%02x\r\n", status);     

  //Find which command this command complete is for
  switch (pMsg->cmdOpcode)
  {
    case HCI_READ_RSSI:

      Display_printf(dispHandle, 0, 0, "HCI_READ_RSSI\r\n");       
      
      // Display RSSI value, if RSSI is higher than threshold, change to faster PHY
      if (status == SUCCESS)
      {

       }

    break;

}

the above status shows 0x12 value, not 0x00.

what's mean?

BR,

Ji-won Lee