I think this is a Serial issue, but to be honest I am not sure. I am sending data over a Mesh network from edge devices to my gateway, and then writing that data over the USB port.
Serial.write(data);
Off the USB port, I’m getting all sorts of extra data & errors I think are from the Serial port? Does anyone know where this extra metadata is coming from (and how to stop it/ parse it out and only send my simple dictionary over in Serial.write(data);
?
Here is the output I’m seeing -
0000059261 [wiring] TRACE: parse packet 95
{"time":946768410,"device”:”xxxx”,”count":0,"version":"0.1.4"}0000064393 [wiring] TRACE: parse packet 98
{"time":946768420,"device":"xxxx","count":1200,"version":"0.1.4"}0000069259 [wiring] TRACE: parse packet 95
{"time":946768420,"device":"xxxx","count":0,"version":"0.1.4"}0000074395 [wiring] TRACE: parse packet 98
{"time":946768430,"device":"xxxx","count":1200,"version":"0.1.4"}0000079259 [wiring] TRACE: parse packet 95
{"time":946768430,"device":"xxxx","count":0,"version":"0.1.4"}0000081752 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000081754 [comm.protocol] INFO: message id 99 complete with code 0.00
0000081756 [comm.protocol] INFO: rcv'd message type=13
0000084394 [wiring] TRACE: parse packet 98
{"time":946768440,"device":"xxxx","count":1199,"version":"0.1.4"}