1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/sx126x
2024-07-29 11:45:58 +02:00
..
main.c treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
Makefile tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00

sx126x/llcc68 LoRa driver

This is a manual test application for the SX1261/2/8 and LLCC68 LoRa radio driver.

Usage

This application adds a shell command to control basic features radio device:

main(): This is RIOT! (Version: 2021.04-devel)
Initialization successful - starting the shell now
> help
help
Command              Description
---------------------------------------
sx126x               Control the SX126X radio
reboot               Reboot the node
version              Prints current RIOT_VERSION
pm                   interact with layered PM subsystem
> sx126x
sx126x
Usage: sx126x <get|set|rx|tx>

The get and set subcommands allows for getting/setting the current frequency channel (freq) and lora modulation parameters (bw, sf, cr).

To put the device in listen mode, use the rx subcommand:

> sx126x rx start
sx126x rx start
Listen mode started

To send a message, use the tx subcommand:

> sx126x tx "This is RIOT!"
sx126x tx "This is RIOT!"
sending "This is RIOT!" payload (14 bytes)
> Transmission completed