Skip to content

freechw/LoRaMQTT-SN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoRaMQTT-SN

LoRaLink sensor network for MQTT-SN and MQTT-SN Client device firmware.

You have to modify LoRaLink/LoaLink.c code, if you use this outside of JAPAN. LoRaLinkMQTT-SN

Requirements

  1. Three B-L0722Z-LRWAN, RxDevice and TxDevice for the gateway and one for the client device.
  2. Three USB-UART converters
  3. Install GNU Arm Embedded Toolchain https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
  4. Install STM32CubeProgrammer https://www.st.com/en/development-tools/stm32cubeprog.html

How to build

1. MQTT-SN Gateway

   git clone -b experiment https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
   make SENSORNET=loralink

2. Sensornetwork devices

   git clone https://github.com/ty4tw/LoRaMQTT-SN.git

2-1 RxDevice for the Gateway

       make TYPE=RXMODEM
       Download Build/Firmware.bin to B-L0722Z-LRWAN with STM32CubeProgrammer.

2-2 TxDevice for the gateway

       touch AppSrc/test.c
       make TYPE=TXMODEM
       Download Build/Firmware.bin to B-L0722Z-LRWAN with STM32CubeProgrammer

2-3 Client Device

      touch AppSrc/test.c
      make TYPE=CLIENT LOG=DEBUGLOGENABLE
      Download Build/Firmware.bin to B-L0722Z-LRWAN with STM32CubeProgrammer

Device

This SDK is developped for the LoRaEz module. But B-L0722Z-LRWAN board is available insted of the module.

LoRaEz

LoRaLink

LoRaLink is a simple protocol prepared for MQTT-SN. It's a different from LoRaWAN.

LoRaLink

Sensor Network Application layer protocol

This protocol is handled in loralink/SensorNetwork.cpp LoRaLinkApi

Required devices

LoRaMQTT

About

MQTT-SN over LoRaLink

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages