From 4e3a90ca42dfd3871c92d06e769b988002f4f0bb Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 3 Mar 2015 21:47:30 +1300 Subject: Handle line break in Taip (fix #1106) --- src/org/traccar/protocol/SyrusProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org') diff --git a/src/org/traccar/protocol/SyrusProtocolDecoder.java b/src/org/traccar/protocol/SyrusProtocolDecoder.java index 72347ac03..ee11b35ef 100644 --- a/src/org/traccar/protocol/SyrusProtocolDecoder.java +++ b/src/org/traccar/protocol/SyrusProtocolDecoder.java @@ -53,7 +53,7 @@ public class SyrusProtocolDecoder extends BaseProtocolDecoder { "(\\d{3})" + // Course "\\d" + // Fix mode "(\\d)" + // Fix age - ".*"); + ".*\r?\n?"); private Date getTime(long week, long day, long seconds) { Calendar time = Calendar.getInstance(TimeZone.getTimeZone("UTC")); -- cgit v1.2.3