LwM2M along with sim808

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello All,

 

I have a project where I need to monitor and control remote IoT devices consisting of sim808 and atmega32.

 

I would like to know if I can use LwM2M protocol stack on these devices, but I can't find much info with Atmega microcontrollers.

I was wondering why MQTT is well known than LwM2M, although LwM2M seems to be better and more reliable!

 

Reagrds,

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

For an LwM2M stack on ATMega, you can have a look at https://github.com/IOTEROP/IOWA 

A port has already been done on AVR (https://ioterop.com/iowa-sdk-por... ).

 

So as for your question about MQTT vs LwM2M, but MQTT is a data transport protocol (though without any payload definition), and LwM2M is an application protocol for device management offering an extensible range of objects: https://technical.openmobilealli...

 

MQTT popularity relies heavily on hyperscalers (Azure,GCP,...), but MQTT does not work over the high latency network found in many LPWANs.

 

LwM2M can run over CoAP over UDP, TCP, SMS, NBIoT NIDD or LoRaWAN, as well as over MQTT or HTTP. For high-latency LPWANs, choose LwM2M over CoAP over UDP, if not LwM2M over TCP. LwM2M over SMS is for cellular thin-edge devices.