Skip to content

BuzzVerse/lora_linux_driver

Repository files navigation

Setup

  1. Install arm gcc with sudo apt-get install gcc-arm-linux-gnueabihf
  2. Connect the LoRa module to the correct pins on BeagleBone Black
  3. Compile the source code by running "make" in the project directory
  4. Transfer the compiled files (lora_rx & lora_tx) to BeagleBone by running send_to_bbb.sh
  5. Initiate the driver:
    • receiver: run "lora_rx" in sudo mode
    • transmitter: run "lora_tx" in sudo mode
    • DISCLAIMER: receiver needs to be ran first (at the moment, receiver program contains hardware initialization)

MQTT dependencies

$ sudo apt install mosquitto mosquitto-clients libmosquitto-dev

MQTT config

  1. Create the config file at /etc/mqtt_config
  2. Config file should look like this:
ip=192.168.0.69
login=buzzverse
password=verysecurepassword
topic=topic/something

Known issues

If your mqtt password contains non-ascii symbols try to copy and paste it instead of typing it.

About

Linux driver for Esp32 LoRa integration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages