Hi,
I'm trying to access the RSSI value from the RF core on receipt of a packet.
I am using rfc_CMD_HS_RX_t, which, unlike rfc_CMD_PROP_RX_ADV_t, does not have a bAppendRssi attribute on its rxConf member. I am therefore trying to use RF_getRssi(Cc1310_CcRf_RfHandle_g) in the RF callback that fires on successful receipt of a packet, which I set up like this:
RxOperation = (RF_Op*)&RF_cmdRxHS; RxHandle = RF_postCmd( Cc1310_CcRf_RfHandle_g, RxOperation, RF_PriorityNormal, &RxBlocksCallback, IRQ_COMMAND_DONE ); Assert(RxHandle >= 0) // Always succeeds
Within RxBlocksCallback(), which fires when I expect it to, I call RF_getRssi(Cc1310_CcRf_RfHandle_g) but it always returns RF_GET_RSSI_ERROR_VAL (-128)
Please advise.
TIA
Sean.