2 using System.Collections.Generic;
6 namespace CLEON_Connector
12 public const int minimumTimespanForCapturingAndStoringAChunk = 50;
13 public const int minimumTimespanForGPSStabilization = 100;
16 public const double powerConsumptionForGPSinOperation = 30.5;
17 public const double powerConsumptionForWritingToMicroSD = 40.0;
18 public const double powerConsumptionForIdleState = 2.5;
21 public const byte serialFrameLength = 36;
23 public const byte serialFrameHeader = 0x55;
24 public const byte serialFrameFooter = 0xAA;
26 public const byte serialFrameDataAndCommandLength = 30;
28 public const byte commandConnect = 0x01;
29 public const byte commandUpdateRTCTime = 0x02;
30 public const byte commandUpdateTimeTick = 0x03;
31 public const byte commandUpdateSampleCount = 0x04;
32 public const byte commandUpdateSampleGap = 0x05;
33 public const byte commandUpdateChunkCount = 0x06;
34 public const byte commnadUpdateChunkGap = 0x07;
35 public const byte commandAck = 0xff;