Files
alire-index-community/index/wi/wioe5_p2p/wioe5_p2p-1.23340.1.toml
T
pmunts f2e64c68f6 wioe5_* 1.23340.1 (#1492)
* muntsos_aarch64 release 10.4.0 Wed May 14 07:38:24 PM PDT 2025

Added wioe5_ham1, wioe5_ham2, and wioe5_p2p to the list of crates that are
included in this one.

* wioe5_p2p release 1.23340.1 Wed May 14 10:49:49 PM PDT 2025

Backported some improvements from wioe5_ham2.

* wioe5_ham1 release 1.23340.1 Wed May 14 10:52:00 PM PDT 2025

Backported some improvements from wioe5_ham2.

* wioe5_ham2 release 1.23340.1 Wed May 14 10:53:28 PM PDT 2025

Added new crate wioe5_ham2, for Amateur Radio Unicast Flavor #2.
2025-05-16 13:03:22 +02:00

82 lines
2.7 KiB
TOML

name = "wioe5_p2p"
version = "1.23340.1"
description = "Wio-E5 LoRa Transceiver Module P2P Mode Device Driver"
website = "https://github.com/pmunts/libsimpleio"
authors = ["Philip Munts"]
maintainers = ["Philip Munts <phil@munts.net>"]
maintainers-logins = ["pmunts"]
licenses = "BSD-1-Clause"
long-description = """
# Introduction
This crate provides the device driver package **Wio_E5.P2P** for the
Seeed Studio [Wio-E5 LoRa Transceiver
Module](https://wiki.seeedstudio.com/LoRa-E5_STM32WLE5JC_Module)
operating in test *aka* P2P (so-called Peer to Peer or Point to Point)
broadcast mode.
See
[WioE5LoRaP2P.pdf](https://repo.munts.com/libsimpleio/doc/WioE5LoRaP2P.pdf)
for more information about the [LoRa wireless
system](https://www.semtech.com/lora/what-is-lora) and operating the
Wio-E5 module in P2P mode.
See the related crates
[wioe5_ham1](https://alire.ada.dev/crates/wioe5_ham1.html) and
[wioe5_ham2](https://alire.ada.dev/crates/wioe5_ham1.htm2).
*The code for this crate has been extracted from the [Linux Simple I/O
Library project](https://github.com/pmunts/libsimpleio).*
# API
The API for this device driver is documented in the
[Wio-E5.P2P](https://github.com/pmunts/libsimpleio/blob/master/ada/devices/wioe5/wio_e5-p2p.ads)
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](https://repo.munts.com/libsimpleio/doc/RemoteIOProtocol.pdf).
# 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>.
"""
tags = ["embedded", "linux", "wioe5", "lora", "radio", "wireless"]
project-files = ["wioe5_p2p.gpr"]
[available."case(os)"]
'linux|macos|windows' = true
"..." = false
[origin]
hashes = [
"sha256:c781eab39f1e8cc287a505fc8230d1402712f42afe7df4c92df864e2bf0c8f89",
"sha512:f85003d92893e787fb9d0de945a2a3a8cc709bdd3a072c03f8965c3b76512c478e61e09323545f48bd5a30534ef72eba5311ba9ae00e819093e68afdda5c44ae",
]
url = "https://raw.githubusercontent.com/pmunts/alire-crates/c62b574972e65c5a487e20408ca53d685c20a640/wioe5_p2p/wioe5_p2p-1.23340.1.tbz2"