-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51d2329
commit 850fbb6
Showing
4 changed files
with
14 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,10 @@ | ||
# LoRa Basics Modem LoRaWAN Class A/C example | ||
LR1110 LoRaWAN Radio Example | ||
============================ | ||
|
||
## Description | ||
This is a test app for using the lr1110 library with the [WM1110 wireless | ||
module](https://www.seeedstudio.com/Wio-WM1110-Dev-Kit-p-5677.html). | ||
|
||
The application will automatically starts a procedure to join a LoRaWAN network (see [configuration](../../apps/common/lorawan_key_config.h)). | ||
The library is a port of the [library from Seeed | ||
Studio](https://github.com/Seeed-Studio/Seeed_Wio_WM1110_Dev_Board) to Tock. | ||
|
||
Once a network is joined (i.e. when the corresponding event is triggered), uplinks are sent periodically. This periodic action is based on the LoRa Basics Modem alarm functionality. Each time the alarm-related event is triggered, the application requests an uplink. | ||
|
||
The content of the uplink is the value read out from the charge counter by calling `smtc_modem_get_charge()`. | ||
|
||
The application is also capable of displaying data and meta-data of a received downlink. | ||
|
||
## Configuration | ||
|
||
Several parameters can be updated in `main_lorawan.h` header file: | ||
|
||
| Constant | Description | | ||
| -------------------------- | ----------------------------------------------------------------------------- | | ||
| `LORAWAN_APP_PORT` | LoRaWAN FPort used for the uplink messages | | ||
| `LORAWAN_CONFIRMED_MSG_ON` | Request a confirmation from the LNS that the uplink message has been received | | ||
| `APP_TX_DUTYCYCLE` | Delay in second between two uplinks | | ||
This test is designed to connect to the Things Network in the US915 band. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters