Просмотр исходного кода

Put TPMS decoders under a separated directory.

antirez 3 лет назад
Родитель
Сommit
21a2ef4a3c

+ 0 - 6
protocols/oregon2.txt

@@ -1,6 +0,0 @@
-11001100110011001100110011001100110011001100110011001100110 (Preamble)
-10 01 01 10 10 01 01 10 (Sync)
-01 10 10 01 10 01 10 01 01 10 10 01 01 10 01 10 10 01 01 10 10 01 10 01 10 01 10 01 10 01 10 01 01 10 10 01 10 01 10 01 01 10 01 10 01 10 01 10 01 10 01 10 10 01 01 10 01 10 10 01 10 01 10 01 10 01 10 01 01 10 10 01 10 01 01 10 01 10 10 01 01 10 10 01 10 01 10 01 10 01 10 01 10 01 11 0
-
-We need to seek the following bytes: 01100110 01100110 10010110 10010110
-                                        0x66     0x66     96       96

+ 1 - 1
protocols/citroen_tpms.c → protocols/tpms/citroen.c

@@ -5,7 +5,7 @@
  * Then Manchester bits, 10 bytes total.
  * Simple XOR checksum. */
 
-#include "../app.h"
+#include "../../app.h"
 
 static bool decode(uint8_t *bits, uint32_t numbytes, uint32_t numbits, ProtoViewMsgInfo *info) {
 

+ 1 - 1
protocols/ford_tpms.c → protocols/tpms/ford.c

@@ -8,7 +8,7 @@
  * 10 = one
  */
 
-#include "../app.h"
+#include "../../app.h"
 
 static bool decode(uint8_t *bits, uint32_t numbytes, uint32_t numbits, ProtoViewMsgInfo *info) {
 

+ 1 - 1
protocols/renault_tpms.c → protocols/tpms/renault.c

@@ -3,7 +3,7 @@
  * Preamble + sync + Manchester bits. ~48us short pulse.
  * 9 Bytes in total not counting the preamble. */
 
-#include "../app.h"
+#include "../../app.h"
 
 #define USE_TEST_VECTOR 0
 static const char *test_vector =

+ 1 - 1
protocols/schrader_tpms.c → protocols/tpms/schrader.c

@@ -8,7 +8,7 @@
  *
  * Used in FIAT-Chrysler, Mercedes, ... */
 
-#include "../app.h"
+#include "../../app.h"
 
 #define USE_TEST_VECTOR 0
 static const char *test_vector = "000000111101010101011010010110010110101001010110100110011001100101010101011010100110100110011010101010101010101010101010101010101010101010101010";

+ 1 - 1
protocols/schrader_eg53ma4_tpms.c → protocols/tpms/schrader_eg53ma4.c

@@ -13,7 +13,7 @@
  * Used in certain Open cars and others.
  */
 
-#include "../app.h"
+#include "../../app.h"
 
 static bool decode(uint8_t *bits, uint32_t numbytes, uint32_t numbits, ProtoViewMsgInfo *info) {
 

+ 1 - 1
protocols/toyota_tpms.c → protocols/tpms/toyota.c

@@ -22,7 +22,7 @@
  * [0011111]01
  */
 
-#include "../app.h"
+#include "../../app.h"
 
 static bool decode(uint8_t *bits, uint32_t numbytes, uint32_t numbits, ProtoViewMsgInfo *info) {