wayland/m5stack-unit-lorawan@0.0.3

License: MIT

Library for the M5Stack LoRa868 module: https://docs.m5stack.com/en/unit/lorawan868. Wraps a modified version of https://github.com/m5stack/M5-LoRaWAN
NodeDescription
configure-otaa
Configure Over The Air Authentication (OTAA).
disable-log-information
Disable logging.
join-network
Join network. Initiate over the air authentication (OTAA).
02-example-msg
Demonstration of sending a message. Run in debug mode to change the message at runtime.
device-connected
Check if LoRaWAN device connected.
joined-network
Check if device has joined network.
01-example-lpp
Demonstration of sending data using the Cayenne Low Power Payload (https://docs.mydevices.com/docs/lorawan/cayenne-lpp).
lorawan868-setup
Setup M5Stack LoRaWAN868 device.
reboot
Reboot lorawan-device.
save-mac-configuration
Save MAC configuration parameters into EEPROM/FLASH.
restore-mac-defaults
Restore MAC default parameters in EEPROM/FLASH.
lorawan-device
Create an M5Stack LoRaWAN868 device.
send-lpp
Send low power payload (LPP). See: https://xod.io/libs/wayland/cayenne-lpp/
send-message
Send message. For most applications it will be more convenient to send a formatted using, for example, low power payload (LPP). See: send-lpp node and https://xod.io/libs/wayland/cayenne-lpp/
write-command
Send command to LoRaWAN module. Command reference: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/lorawan/ASR650X%20AT%20Command%20Introduction-20190605.pdf
set-rx-window
Set receive (Rx) window parameter.
set-freq-mask
Set frequency band mask. For example: 0-7 channel has mask of 0001, 8-15 channel has mask of 0002, and so on.
set-class
Set class. See: https://www.thethingsnetwork.org/docs/lorawan/classes/
To use the nodes in your project you should have the wayland/m5stack-unit-lorawan library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.