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 is a javascript decoder for the GlobalSat LT-20 LORAWAN GPS tracker. | |
The decoder is built to work with TheThingsNetwork/Stack V3 | |
Special thanks to Gul-Dukat, AH and akenza.io for initial work. | |
The script was found on the Forum of TheThingsNetwork. But it had some flaws, where | |
".toString(16)" would remove the leading zero of a hex-string, so sometimes it would happen to | |
get the wrong latitude/longitude. | |
*/ | |