I can’t get my Xenon mesh devices to start in normal mode. They are both starting in safe mode only (irregular flashing magenta). They are both connected to a mesh network from my Boron (breathing cyan) which seems to be working fine.
I’ve flashed simple code onto the Xenon boards. The code really doesn’t do anything. I’ve also tried flashing the default blink code with the same results.
long next = 0;
//int counter = 0;
//char *data = {};
void setup() {
Serial.begin(9600);
}
void loop() {
if (millis() > next) {
next = millis() + 2000;
/*if (++counter > 5) counter = 1;
itoa(counter, data, 10);
Mesh.publish("ledBLink", data);*/
}
}
When the devices start up there is a diagnostic event in the log with weird memory sizes. It says used memory is negative??? Also, total memory is only a small portion of what it should be.
{"device":{"system":{"uptime":6,"memory":{"total":32768,"used":-76712}},"cloud":{"connection":{"status":2,"error":0,"attempts":1,"disconnect":0},"disconnects":0,"publish":{"rate_limited":0},"coap":{"unack":0}}},"service":{"device":{"status":"ok"},"coap":{"round_trip":742},"cloud":{"uptime":0,"publish":{"sent":1}}}}