thermferm/mqtt.h

branch
stable
changeset 601
44d41db09466
parent 598
363dc36d2450
child 677
c867eb3f7fc1
--- a/thermferm/mqtt.h	Thu May 09 15:17:30 2019 +0200
+++ b/thermferm/mqtt.h	Sun Jul 07 13:55:03 2019 +0200
@@ -6,6 +6,40 @@
 #define STATUS_CONNACK_RECVD 1
 #define STATUS_WAITING 2
 
+#ifndef HAVE_WIRINGPI_H
+
+// Pi model types and version numbers
+//      Intended for the GPIO program Use at your own risk.
+
+#define PI_MODEL_A               0
+#define PI_MODEL_B               1
+#define PI_MODEL_AP              2
+#define PI_MODEL_BP              3
+#define PI_MODEL_2               4
+#define PI_ALPHA                 5
+#define PI_MODEL_CM              6
+#define PI_MODEL_07              7
+#define PI_MODEL_3B              8
+#define PI_MODEL_ZERO            9
+#define PI_MODEL_CM3            10
+#define PI_MODEL_ZERO_W         12
+#define PI_MODEL_3BP            13
+#define PI_MODEL_3AP            14
+#define PI_MODEL_CM3P           16
+
+#define PI_VERSION_1            0
+#define PI_VERSION_1_1          1
+#define PI_VERSION_1_2          2
+#define PI_VERSION_2            3
+
+#define PI_MAKER_SONY           0
+#define PI_MAKER_EGOMAN         1
+#define PI_MAKER_EMBEST         2
+#define PI_MAKER_UNKNOWN        3
+
+
+#endif
+
 
 /*
  * Public functions

mercurial