4 ms·
> more versatile As an IoT noob, can you or someone expand on that please? Thanks!
by Hobli 5y ago
> more versatile
As an IoT noob, can you or someone expand on that please? Thanks!
- SV_BubbleTime 5y agoCoAP is binary HTTP (solid request / response), with extras: - async reception (consider like a socket, really just a long lived multiple response to a GET) using the Observe feature - Optional responses - block transfers, handy way to reliably send large files over UDP - built-in proxy options - ability to one to many with a multicast - because it extends HTTP first; it’s pretty easy to translate it to HTTP - CoAP extends easily, like OSCORE or LwM2M for end to end encryption or other features - Happy to transfer over datagram/UDP, TCP, MQTT, Dixie cups and string, etc As where… MQTT 3.1.1 has almost none of these features, with MQTT v5 finally adding some in. But MQTT v5 is also not really supported well.