source: pacpussensors/trunk/Gps/SbfFrames.h@ 110

Last change on this file since 110 was 59, checked in by DHERBOMEZ Gérald, 10 years ago

Integration of new modules:

  • GPS NMEA0183 decoder
  • Span CPT Decoder

Update of:

File size: 855 bytes
Line 
1/*
21 classe par bloc SBF avec un fichier qui contient toutes les classes
3ex : SbfData.h et SbfData.cpp
4
5un fichier de structure pour le dbt
6
7une classe Socket
8une classe composant de d�codage
9
10
11
12*/
13
14
15
16
17class SbfHeader
18{
19 char sync[2];
20 unsigned short crc;
21 unsigned short id;
22 unsigned short length;
23};
24
25
26
27class SbfBlock
28{
29 SbfHeader header;
30 unsigned char data[4096];
31};
32
33
34
35class SbfPVTCartesian
36{
37 SbfBlock * rawData;
38 // definit les variables par rapport a la doc
39 struct
40
41 // ecrire la fonction de d�codage
42
43};
44
45class SbfReceiverTime
46{
47 public:
48 SbfReceiverTime();
49 ~SbfReceiverTime();
50
51 void decode( Message &msg );
52
53 protected:
54
55 private:
56 SbfBlock *rawData;
57 SbfDataReceiverTime decodedData;
58};
Note: See TracBrowser for help on using the repository browser.