/blab

Primary LanguageC++Apache License 2.0Apache-2.0

This is a PlatformIO project that coordinates devices across networks. Put differently, this project is attempting to coordinate blabbing devices.

Get Hardware

Use the following links to purchase the hardware needed for this project.

  1. ESP32 LoRa 32 (V2)
  2. Micro USB Cable

Installation

This project assumes that macOS is the development Operating System (OS). This may change over time but macOS is the expected devlopment OS.

  1. Install homebrew
  2. Install pyenv - brew install pyenv
  3. Install python 3.9 - pyenv install 3.9.0
  4. Install poetry to manage python project dependencies
  5. Clone the project - git clone git@github.com:collinwat/blab.git
  6. Go to the project - cd blab
  7. Install dependencies - make install

Build

Run make or make build. Using make will also perform make check which will perform linting checks.

Linting checks can be run directly:

poetry run pio check

Builds can also be run directly:

poetry run pio run

Upload

Make sure the ESP32 LoRa 32 (V2) is plugged into a USB port. PlatformIO will detect the device once it is plugged in.

  1. Upload to Main Environment - poetry run pio run -e main -t upload