Hi,
I'm using the easy() calls to send data to a central Jnode.
I've initialized my setup with a 30 second interval but a some point I want to force the transmission because of a critical event happend (PIR detection).
However using rf12easySend(0,0) doesn't seem to work, any idea of what can be wrong ?
The rf12easySend() routine in the rf12 library doesn't seem to test for (0,0) arguments or is it me doing something wrong ?
my code :
payload.motion = PIR.digiRead(); //detect status
if (payload.motion != pirState) {
pirState = payload.motion; //copy status
rf12easySend(&payload, sizeof payload); // update data in buffer
rf12easySend(0,0); //send data now !!!
}
-ben
