rubyfit 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/rubyfit/extconf.rb +2 -0
- data/ext/rubyfit/fit.c +281 -0
- data/ext/rubyfit/fit.h +253 -0
- data/ext/rubyfit/fit_config.h +36 -0
- data/ext/rubyfit/fit_convert.c +439 -0
- data/ext/rubyfit/fit_convert.h +154 -0
- data/ext/rubyfit/fit_crc.c +43 -0
- data/ext/rubyfit/fit_crc.h +35 -0
- data/ext/rubyfit/fit_product.c +21 -0
- data/ext/rubyfit/fit_product.h +21 -0
- data/ext/rubyfit/fit_sdk.c +618 -0
- data/ext/rubyfit/fit_sdk.h +2083 -0
- data/ext/rubyfit/rubyfit.c +590 -0
- data/lib/rubyfit/version.rb +3 -0
- data/lib/rubyfit.rb +2 -0
- metadata +63 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
|
+
// The following .FIT software provided may be used with .FIT devices only and
|
3
|
+
// remains the copyrighted property of Dynastream Innovations Inc.
|
4
|
+
// The software is being provided on an "as-is" basis and as an accommodation,
|
5
|
+
// and therefore all warranties, representations, or guarantees of any kind
|
6
|
+
// (whether express, implied or statutory) including, without limitation,
|
7
|
+
// warranties of merchantability, non-infringement, or fitness for a particular
|
8
|
+
// purpose, are specifically disclaimed.
|
9
|
+
//
|
10
|
+
// Copyright 2008 Dynastream Innovations Inc.
|
11
|
+
// All rights reserved. This software may not be reproduced by any means
|
12
|
+
// without express written approval of Dynastream Innovations Inc.
|
13
|
+
////////////////////////////////////////////////////////////////////////////////
|
14
|
+
|
15
|
+
#if !defined(FIT_CRC_H)
|
16
|
+
#define FIT_CRC_H
|
17
|
+
|
18
|
+
#include "fit.h"
|
19
|
+
|
20
|
+
|
21
|
+
//////////////////////////////////////////////////////////////////////////////////
|
22
|
+
// Public Function Prototypes
|
23
|
+
//////////////////////////////////////////////////////////////////////////////////
|
24
|
+
|
25
|
+
#if defined(__cplusplus)
|
26
|
+
extern "C" {
|
27
|
+
#endif
|
28
|
+
|
29
|
+
FIT_UINT16 FitCRC_Get16(FIT_UINT16 crc, FIT_UINT8 byte);
|
30
|
+
|
31
|
+
#if defined(__cplusplus)
|
32
|
+
}
|
33
|
+
#endif
|
34
|
+
|
35
|
+
#endif // !defined(FIT_CRC_H)
|
@@ -0,0 +1,21 @@
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
|
+
// The following .FIT software provided may be used with .FIT devices only and
|
3
|
+
// remains the copyrighted property of Dynastream Innovations Inc.
|
4
|
+
// The software is being provided on an "as-is" basis and as an accommodation,
|
5
|
+
// and therefore all warranties, representations, or guarantees of any kind
|
6
|
+
// (whether express, implied or statutory) including, without limitation,
|
7
|
+
// warranties of merchantability, non-infringement, or fitness for a particular
|
8
|
+
// purpose, are specifically disclaimed.
|
9
|
+
//
|
10
|
+
// Copyright 2008 Dynastream Innovations Inc.
|
11
|
+
// All rights reserved. This software may not be reproduced by any means
|
12
|
+
// without express written approval of Dynastream Innovations Inc.
|
13
|
+
////////////////////////////////////////////////////////////////////////////////
|
14
|
+
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
|
15
|
+
// Profile Version = 0.62
|
16
|
+
//////////////////////////////////////////////////////////////////////////////////
|
17
|
+
|
18
|
+
|
19
|
+
#include "fit_product.h"
|
20
|
+
|
21
|
+
//#include "fit_sdk.c"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
|
+
// The following .FIT software provided may be used with .FIT devices only and
|
3
|
+
// remains the copyrighted property of Dynastream Innovations Inc.
|
4
|
+
// The software is being provided on an "as-is" basis and as an accommodation,
|
5
|
+
// and therefore all warranties, representations, or guarantees of any kind
|
6
|
+
// (whether express, implied or statutory) including, without limitation,
|
7
|
+
// warranties of merchantability, non-infringement, or fitness for a particular
|
8
|
+
// purpose, are specifically disclaimed.
|
9
|
+
//
|
10
|
+
// Copyright 2008 Dynastream Innovations Inc.
|
11
|
+
// All rights reserved. This software may not be reproduced by any means
|
12
|
+
// without express written approval of Dynastream Innovations Inc.
|
13
|
+
////////////////////////////////////////////////////////////////////////////////
|
14
|
+
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
|
15
|
+
// Profile Version = 0.62
|
16
|
+
//////////////////////////////////////////////////////////////////////////////////
|
17
|
+
|
18
|
+
|
19
|
+
#include "fit_config.h"
|
20
|
+
|
21
|
+
#include "fit_sdk.h"
|