65 private static final byte[] TRK_PING = {0x7e, 0x0, 0x0, (byte) 0xff, 0x7e}; |
65 private static final byte[] TRK_PING = {0x7e, 0x0, 0x0, (byte) 0xff, 0x7e}; |
66 private static final byte[] TRK_VERSION = {0x7e, 0x08, 0x01, (byte) 0xf6, 0x7e}; |
66 private static final byte[] TRK_VERSION = {0x7e, 0x08, 0x01, (byte) 0xf6, 0x7e}; |
67 |
67 |
68 private Pair<String, Version> deviceOS; |
68 private Pair<String, Version> deviceOS; |
69 private TRKService trkService; |
69 private TRKService trkService; |
|
70 static Class<?> startTCFServer = TCFClassFactory.class; // force the tcf plugin to load |
70 |
71 |
71 public TRKConnectedService(IService service, AbstractSynchronizedConnection connection) { |
72 public TRKConnectedService(IService service, AbstractSynchronizedConnection connection) { |
72 super(service, connection); |
73 super(service, connection); |
73 Check.checkContract(service instanceof TRKService); |
74 Check.checkContract(service instanceof TRKService); |
74 trkService = (TRKService) service; |
75 trkService = (TRKService) service; |