wioe5_p2p

v1.23340.1

Wio-E5 LoRa Transceiver Module P2P Mode Device Driver

Introduction

This crate provides the device driver package Wio_E5.P2P for the Seeed Studio Wio-E5 LoRa Transceiver Module operating in test aka P2P (so-called Peer to Peer or Point to Point) broadcast mode.

See WioE5LoRaP2P.pdf for more information about the LoRa wireless system and operating the Wio-E5 module in P2P mode.

See the related crates wioe5_ham1 and wioe5_ham2.

The code for this crate has been extracted from the Linux Simple I/O Library project.

API

The API for this device driver is documented in the Wio-E5.P2P package specification.

Wio-E5.P2P is a generic package that must be instantiated with two Positive value parameters, for maximum payload size (1 to 253 bytes) and FIFO queue depth. The default values for the generic formal parameters will prove satisfactory for most purposes. Depending on what kind of data you are going to be sending, you might want reduce the maximum payload size to match some other protocol, such as 64 bytes for the Remote I/O Protocol.

Minimal Test Program

WITH Wio_E5.P2P;

PROCEDURE HelloWorld IS

  PACKAGE LoRa IS NEW Wio_E5.P2P;

  dev : LoRa.Device;

BEGIN
  dev := LoRa.Create("/dev/ttyUSB0", 115200, 915.0);
  dev.Send("Hello, World!");
  dev.Shutdown;
END HelloWorld;

More example programs are available at: https://github.com/pmunts/libsimpleio/tree/master/ada/programs/wioe5/p2p.

Install

Globally install this crate:

alr install wioe5_p2p

Add to your project:

alr with wioe5_p2p

Crate Information

Authors

  1. Philip Munts

Maintainers

Maintainers (GitHub pseudo)

Release Date

last month

First Release

5/13/2025

Links

Statistics

Dependencies: 0

Dependents: 0

Versions: 2