#iot #mqtt #iotdevices #iiot #COAP
MQTT and COAP are very commonly used protocols for IoT device. But how to decide which to use in any particular scenario.
Major deciding factor is if Device don’t have the power constraint (battery) then go with MQTT else go with COAP. COAP will cost less power consumption and very useful for IoT devices rely on battery ex. Battery powered GPS tracker or sensors.
MQTT is TCP based, COAP is UDP based.