I'm using two devices and one host with the devices reading a potentiometer and transmitting the values to the host which then displays it on an OLED screen.
I'm able to test and display accordingly the signal strength (RSSI) and use it to display the usual signal strength animation on screen.
The problem I have is if I turn one or other of the devicess off. no matter what I try the last value read and the last RSSI value persists and continues to be used and displayed on the OLED.
I've tested to see when data_available = 0 (no new data) returned from RFduinoGZLL_onReceive with no avail.
If I run serial.print the returned RSSI doesn't zero out or go to -150 as you would expect it to,
also the packet.myIntergerVariable also stays at the last value, although you can watch the data_available flip from 0 to 1 and back again as you turn the device on and off.
The custom packet is straight from the worked example
int myIntergerVariable; // 4 bytes
float myFloatVariableA; // 4 bytes
float myFloatVariableB; // 4 bytes
float myFloatVariableC; // 4 bytes
unsigned char myCharA; // 1 byte
char myCharB; // 1 byte
i know I'm missing something I just can't see what at the moment