Let's say I need to transfer 80kb per second (that's 80 * 10^3, not 80 * 2^10!) out from a byte array variable. (10,000 sensor samples per second, each sample being a 64 bit number.)
I want to do this over ethernet. I understand the ethernet chip onboard the Teensy is 10/100mbps and so this should pose no problem at all.
What would be the most appropriate (that is, the most simple and robust) protocol for transferring that data? My initial candidates are:
- MQTT(supports up to 256MB per message, and I like this protocol for its QoS and message handling)
- TCP (e.g. using Putty)
I'd like the data to end up in some kind of event driven programming tool like Node-RED, so it can be further processed and stored.
I want to do this over ethernet. I understand the ethernet chip onboard the Teensy is 10/100mbps and so this should pose no problem at all.
What would be the most appropriate (that is, the most simple and robust) protocol for transferring that data? My initial candidates are:
- MQTT(supports up to 256MB per message, and I like this protocol for its QoS and message handling)
- TCP (e.g. using Putty)
I'd like the data to end up in some kind of event driven programming tool like Node-RED, so it can be further processed and stored.