blelora

Crates.ioblelora
lib.rsblelora
version0.1.2
sourcesrc
created_at2022-03-16 20:18:00.940929
updated_at2022-04-01 20:49:03.249853
descriptionA command-line utility written in Rust that supports Device Firmware Updates (DFU) for devices running Adafruit_nRF52_Bootloader.
homepage
repositoryhttps://github.com/blelora/blelora-cli
max_upload_size
id551417
size344,178
Kent Williams (kent-williams)

documentation

README

BLELoRa CLI

A command-line utility written in Rust that supports Device Firmware Updates (DFU) for devices running Adafruit_nRF52_Bootloader.

Device Support

Currently the WisBlock-RAK4631 is the only supported board. The option to specify additional supported boards will be added soon.

Install

For macOS(Intel & M1) users, install brew first, then use the install command below:

brew install blelora/blelora-cli/blelora

For Windows users, install Scoop first, then use the install command below:

scoop install https://raw.githubusercontent.com/blelora/blelora-cli/master/install/blelora.json

From Pre-compiled Binaries:
Download from the releases page.

With Cargo, the Rust package manager:

cargo install blelora

Update

For macOS(Intel & M1) users, to update, use the command below:

brew upgrade blelora

For Windows users, to update, use the command below:

scoop udpate blelora

With Cargo, the Rust package manager:

cargo install blelora

Usage

$ blelora --help 
blelora 0.1.1
Common options

USAGE:
    blelora <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    dfu     Initiate DFU over serial
    help    Prints this message or the help of the given subcommand(s)

Upload Firmware over DFU Serial

$ blelora dfu serial --package <zip file location or URL to zip> --touch 1200

Roadmap

  • DFU Capability
  • LoRaWAN Credential Configuration
Commit count: 20

cargo fmt