OPEnSLab-OSU / Loom

Arduino library for Internet of Things Rapid Prototyping in environmental sensing
GNU General Public License v3.0
26 stars 3 forks source link

Jared to solve 30 char bottleneck issue with Radiohead #174

Closed SmithJar-rov closed 2 years ago

SmithJar-rov commented 2 years ago

Output from Receive.ino

[FW] Receive failed [FW] Receive successful [Device] Json: { "type": "data", "id": { "name": "Device", "instance": 1 }, "contents": [ { "module": "Packet", "data": { "Number": 171 } }, { "module": "Analog", "data": { "Vbat": 4.261963, "A[0]": 1436, "A[1]": 1501, "A[2]": 1550, "A[3]": 1369, "A[4]": 1546, "A[5]": 1552 } } ] }

Note that the "Receive failed" message coming before "Receive successful" message happens because it's checking for messages faster than messages being sent.

Transmit.ino output: [FW] Send successful [Device] Json: { "type": "data", "id": { "name": "Device", "instance": 1 }, "contents": [ { "module": "Packet", "data": { "Number": 240 } }, { "module": "Analog", "data": { "Vbat": 4.263574, "A[0]": 1408, "A[1]": 1473, "A[2]": 1505, "A[3]": 1333, "A[4]": 1529, "A[5]": 1567 } } ] }