Skip to content

Commit 5c93155

Browse files
authored
Enhanced documentation for linkCheck()
Improved the documentation to mitigate confusion that showed in https://www.thethingsnetwork.org/forum/t/ttn-node-link-check-does-not-work/19981/18 - Calling `linkCheck` before joining has no effect. - The `linkCheck` command is delegated to the RN2483 module by using `mac set linkchk`, which [is documented as](http://ww1.microchip.com/downloads/en/DeviceDoc/40001784C.pdf#page=29): > When the time interval expires, the next application packet that will be sent to the server will include also a link check MAC command.
1 parent f1e49d8 commit 5c93155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/TheThingsNetwork.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ void wake();
186186

187187
## Method: `linkCheck`
188188

189-
Sets the time interval for the link check process to be triggered.
189+
Sets the time interval for the link check process to be triggered. When the interval expires, the next uplink will include a Link Check Request MAC command. When using this method, it should be called after joining has completed.
190190

191191
```c
192192
void linkCheck(uint16_t seconds);

0 commit comments

Comments
 (0)