Skip to content

Commit

Permalink
Update decoder to TTNv2
Browse files Browse the repository at this point in the history
Signed-off-by: hubmartin <hub.martin@gmail.com>
  • Loading branch information
hubmartin committed Jan 24, 2022
1 parent d2b9023 commit 5f0ef32
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions decode.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
function decodeUplink(input) {
return {
data: Decode(input.fPort, input.bytes, 0),
warnings: [],
errors: []
};
}

var cursor = 0;
var buffer;

Expand Down

0 comments on commit 5f0ef32

Please sign in to comment.