mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-12 02:43:42 +00:00
examples: improvements to README for LoRaWAN atcmd example
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# AT-CMD implementation of at-lora command set
|
# AT-CMD implementation of at-lora command set
|
||||||
|
|
||||||
|
This example implements the AT command set as used by Seeed in the LoRa-E5 series of boards, but in the form of a TinyGo program that provides a serial interface.
|
||||||
|
|
||||||
|
See https://files.seeedstudio.com/products/317990687/res/LoRa-E5%20AT%20Command%20Specification_V1.0%20.pdf for more information.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ tinygo monitor
|
$ tinygo monitor
|
||||||
Connected to /dev/ttyACM0. Press Ctrl-C to exit.
|
Connected to /dev/ttyACM0. Press Ctrl-C to exit.
|
||||||
@@ -9,21 +13,29 @@ Connected to /dev/ttyACM0. Press Ctrl-C to exit.
|
|||||||
|
|
||||||
# Building
|
# Building
|
||||||
|
|
||||||
|
Run the following commands from the main `drivers` directory.
|
||||||
|
|
||||||
## Simulator
|
## Simulator
|
||||||
|
|
||||||
|
Builds/flashes atcmd console application with simulator instead of actual LoRa radio.
|
||||||
|
|
||||||
```
|
```
|
||||||
tinygo flash -target pico ./examples/lora/atcmd/
|
tinygo flash -target pico ./examples/lora/lorawan/atcmd/
|
||||||
```
|
```
|
||||||
|
|
||||||
## PyBadge with LoRa Featherwing
|
## PyBadge with LoRa Featherwing
|
||||||
|
|
||||||
|
Builds/flashes atcmd console application on PyBadge using LoRa Featherwing (RFM95/SX1276).
|
||||||
|
|
||||||
```
|
```
|
||||||
tinygo flash -target pybadge -tags featherwing ./examples/lora/atcmd/
|
tinygo flash -target pybadge -tags featherwing ./examples/lora/lorawan/atcmd/
|
||||||
```
|
```
|
||||||
|
|
||||||
## LoRa-E5
|
## LoRa-E5
|
||||||
|
|
||||||
|
Builds/flashes atcmd console application on Lora-E5 using onboard SX126x.
|
||||||
|
|
||||||
```
|
```
|
||||||
tinygo flash -target lorae5 ./examples/lora/atcmd/
|
tinygo flash -target lorae5 ./examples/lora/lorawan/atcmd/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user