Skip to content
Snippets Groups Projects
Commit 9b286c73 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

pkg/semtech-loramac: small fixes

- link to loramac-node github repository is broken
- the example code should return after a failed join procedure
parent 00c24691
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* # Introduction * # Introduction
* *
* This package provides an API built on top of the * This package provides an API built on top of the
* [Semtech LoRaMAC-node](github.com/Lora-net/LoRaMac-node) reference * [Semtech LoRaMAC-node](https://github.com/Lora-net/LoRaMac-node) reference
* implementation of a LoRa network. * implementation of a LoRa network.
* *
* *
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
* /* 4. join the network */ * /* 4. join the network */
* if (semtech_loramac_join(LORAMAC_JOIN_OTAA) != SEMTECH_LORAMAC_JOIN_SUCCEEDED) { * if (semtech_loramac_join(LORAMAC_JOIN_OTAA) != SEMTECH_LORAMAC_JOIN_SUCCEEDED) {
* puts("Join procedure failed"); * puts("Join procedure failed");
* return 1;
* } * }
* puts("Join procedure succeeded"); * puts("Join procedure succeeded");
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment