Tool/software: Code Composer Studio
I am using EZ430-RF2500 and am very new to RF communication and SimpliciTI. From my understanding of the given example code, an End Device radio goes through three steps - join, link and TX. I need to make some decisions in the End Device based on the strength of its RF link with the Access Point (if at all that makes any sense). But since the End Device is never in RX mode, we cannot read the RSSI. Is there any other parameter that I can read from the "join" and the "link" stages to get the strength of the link? I see in the MRFI_Init function inside mrfi_radio.c there is a step of generating a random seed using the RSSI value (as shown below). Can this RSSI value give any indication?
/* Generate Random seed: * We will use the RSSI value to generate our random seed. */ /* Put the radio in RX state */ mrfiSpiCmdStrobe( SRX ); /* delay for the rssi to be valid */ MRFI_RSSI_VALID_WAIT(); /* use most random bit of rssi to populate the random seed */ { uint8_t i; for(i=0; i<16; i++) { mrfiRndSeed = (mrfiRndSeed << 1) | (mrfiSpiReadReg(RSSI) & 0x01); } }