Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
LoRaWAN benchmark
RIOT - IM880B
Commits
12705424
Commit
12705424
authored
May 14, 2019
by
Guillaume Gonnet
Browse files
Fix latitude in decode-payload.js
parent
26451868
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/tools/decode-payload.js
docs/tools/decode-payload.js
+1
-1
No files found.
docs/tools/decode-payload.js
View file @
12705424
...
...
@@ -54,7 +54,7 @@ Temperature = Temperature / 4 - 55;
// Extract latitude.
let
Latitude
=
(
payload
.
readUInt32BE
(
2
)
>>
8
)
&
0x7FFF
FF
;
let
Latitude
=
(
payload
.
readUInt32BE
(
2
)
>>
8
)
&
0x7FFF
;
Latitude
=
Latitude
*
90
/
MaxNorthPosition
;
Latitude
=
Math
.
round
(
Latitude
*
1000000
)
/
1000000
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment