3 ms·
Any IOT protocol should be lightweight and ideally UDP, 3 ways TCP handshake takes too long, XMPP is supper verbose. Use HTTP like the mozilla IOT thing for tha
by sudoaza 7y ago
Any IOT protocol should be lightweight and ideally UDP, 3 ways TCP handshake takes too long, XMPP is supper verbose. Use HTTP like the mozilla IOT thing for that... MQTT QOS 0 is pretty ok.
- nomel 7y agoIdeally you absolutely don’t use UDP if you care about data delivery, or you just reinvent a poor implementation of TCP. I want my smart light to come on, my doorbell to ring, and my dryer to tell me the cycle is complete 100% of the time.
- sudoaza 7y agoyes, if you care about delivery you also dont use MQTT QOS 0, use 1 or 2. FOr sensors that report often (and you can loose some packets in the middle) or idempotent actions that you can repeat should be fine though.