Skip to content

Commit

Permalink
Add T800x protocol message samples
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Jan 8, 2016
1 parent 40ae889 commit b178144
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/org/traccar/protocol/T800xProtocolDecoderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ public void testDecode() throws Exception {

T800xProtocolDecoder decoder = new T800xProtocolDecoder(new T800xProtocol());

verifyNothing(decoder, binary(
"232301001500000880316890202968140197625020"));

verifyNothing(decoder, binary(
"232303000f00000880316890202968"));

verifyPosition(decoder, binary(
"232302004200000880316890202968001e02582d00000000000000050000320000018901920000001dc1e2001601081154255d0202005a0053875a00a57e5a00af80"));

verifyNothing(decoder, binary(
"232301001500020357367031063979150208625010"));

Expand Down

0 comments on commit b178144

Please sign in to comment.