Skip to content

MQTT-SN, CoAP and LwM2M Implementation and Analysis

Notifications You must be signed in to change notification settings

mijanik/mqtt_coap_lwm2m

Repository files navigation

MQTT-SN, COAP and LwM2M analysis - STM32 EmbeNET Node network

Boards
CoAP LwM2M

Objective of the Work:

  • Review, implement, and analyze the use of application layer protocols in IoT devices built on ARM Cortex-M microcontrollers.
  • Focus on usability in resource-constrained, low-throughput wireless mesh networks typical of IoT systems.
  • MQTT, CoAP, and LwM2M were chosen for their diversity, popularity, and compatibility with the UDP transport protocol.
  • The study utilized the embeNET wireless mesh network and the NUCLEO-WL55JC1 evaluation board.
  • Measurements:
    • Evaluation of protocol effectiveness.
    • Assessment of their resource usage (Ram and Flash) and network impact.
    • Identification of optimization opportunities.
  • Recommendations for the optimal selection of application layer protocols based on specific IoT system requirements.

More details in links below

Hardware

  • STM32 NUCLEO-WL55JC1 development boards
  • Raspberry Pi with Linux for testing purposes

Tech Stack

  • C programming language
  • EmbeNET Node Networking Stack (WSN, UDP, 802.15.4e-TSCH)
  • STM32 environment
  • MQTT-SN, CoAP and LwM2M Application Protocols
  • Wireshark, Build Analyzer, Linux Protocol Servers and other testing environment

Implementation

The STM32CubeIDE project, hosted in the repository, includes the implementations of all three tested protocols. The MQTT-SN service is integrated into the EmbeNET system by default. For this project, I implemented and utilized the LobaroCoAP and WakaamaNode libraries.

Additional Links

Project presentation Google Slides [PL] (20.09.2024)

Master's thesis with detailed project description Google Drive [PL]

About project

  • Developer: Miłosz Janik
  • Made for Diploma Thesis - Master degree - "Application layer protocols for IoT devices using wireless connectivity and the UDP transport protocol."
  • Thesis promoter: PhD Łukasz Krzak
  • Field of study: Electronics and Telecommunications (Embedded Systems specialization)
  • Status - Diploma thesis defended

About

MQTT-SN, CoAP and LwM2M Implementation and Analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published