Hi,
I use to Moteino RFM69, the first one is working with RPi the second waiting for command from Rpi, reading sensors and doing some others jobs.
The architecture of my mode soft is simple
//Déclaration
//Main
//Loop
//Function Read Sensors
In Loop, the Node is waiting command and every 30s read sensors, this task takes thirty seconds during which I can not process a Rpi command.
Is it possible to attach a software interrupt on a packet arrival ?
It takes 30 seconds to read sensors? ???
Sorry, read "3 to 4 seconds" :o (8 DS18B20 + setting PWM fans)
There's already a hardware interrupt used by the RFM69 library to read packets.
I think you just have to work around your DHT sensors. The packets will be received either way. You just need to poll to see when one is ready.
Ok, I will try :)