Hi,
We've experienced a send loop with our MKRFOX 1200 from Arduino. It was sending 2x per minute, while we had a delay built in of 10 minutes. This loop happened only once on Tue 10th of July around 3PM. We could not reproduce it since then.
We use the SigFox Library at:
https://github.com/arduino-libraries/SigFox
Our SendData routine is this:
bool sendData(byte data[], int bufferSize) {
bool succes = false;
// Start the module
SigFox.begin();
// Wait at least 30mS after first configuration (100mS before)
delay(100);
// Clears all pending interrupts
SigFox.status();
delay(1);
SigFox.beginPacket();
SigFox.write(data, bufferSize);
int ret = SigFox.endPacket();
// send buffer to SIGFOX network
if (ret > 0) {
succes = false;
} else {
succes = true;
}
SigFox.end();
return succes;
}
Anyone have any ideas on where the program may break out of?