Skip to content

Commit

Permalink
make sure beacon timestamps are in millis
Browse files Browse the repository at this point in the history
  • Loading branch information
dernasherbrezon committed Dec 28, 2023
1 parent 829e56a commit 894bea1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ public void testSuccessStop() {
assertEquals(9655, frame.getFrequencyError());
assertEquals(-137, frame.getRssi());
assertEquals(3.2, frame.getSnr(), 0.0001f);
assertEquals(1605980902, frame.getTimestamp());
assertEquals(1703760413119L, frame.getTimestamp());
}

@Test
public void testFailToSetTime() {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/loraat2/successStop.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
I (123553) internal logging message here
CAFE,-137,3.2,9655,1605980902
CAFE,-137,3.2,9655,1703760413119
OK

0 comments on commit 894bea1

Please sign in to comment.