Hi Hek,
Solved the ack problem, just moved the sensor closer to the GW. I'm now getting a response but its not consistent.
//Setup completed
RF24 initialized and GW contacted
//GW present from other sensors
Battery Voltage: send: 2-2-0-0 s=3,c=1,t=38,pt=7,l=5,st=ok:0.1
Temperature: send: 2-2-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:24.7
//Triggering the button sends gw.request, the following is output
send: 2-2-0-0 s=2,c=2,t=36,pt=0,l=3,st=ok:1.4
//Triggering the button again gets this response
read: 0-0-2 s=2,c=1,t=36,pt=0,l=1:0
Incoming Radio
Alarm Disabled
Incoming lock status from GW:0
send: 2-2-0-0 s=2,c=2,t=36,pt=0,l=1,st=ok:0
//Triggering again
read: 0-0-2 s=2,c=1,t=36,pt=0,l=1:0
Incoming Radio
Alarm Disabled
Incoming lock status from GW:0
send: 2-2-0-0 s=2,c=2,t=36,pt=0,l=1,st=ok:0
I don't understand why the first one always fails, would it be better to trigger the callback manually to pick up a response?
Also is it possible to introduce a wait or while loop to prevent the rest of the loop being processed until the GW replies?
Thanks,
Jon