Other Parts Discussed in Thread: CC2530
Hi
We have previously implemented setting and obtaining CCA threshold on the old protocol station version of CC2530 platform. May I ask how to implement this function on the new protocol stack of cc2652R7 platform?
1.get rssi value on old version zstack:
macRxOn();
while (!(RSSISTAT & 0x01));
for(i = 0; i < RSSI_LIST_MAX; i++)
{
rssi[i] = RSSI + HAL_MAC_RSSI_OFFSET;
}
macRxOff();
2.set rssi value on old version zsatck
CCACTRL0 =cca;
However,I did not find these macros defined in the new version of the protocol stack