Address PR comments
Add defines for interface values
Add additional error handling
Stricter check on API provided pulse configuration values
@@ -272,6 +272,16 @@ using namespace deCONZ::literals;
#define IAS_STATE_WAIT_ENROLL 8
#define IAS_STATE_MAX 9 // invalid
+// Develco interface modes, manufacturer specific
+#define PULSE_COUNTING_ELECTRICITY 0x0000
+#define PULSE_COUNTING_GAS 0x0001
+#define PULSE_COUNTING_WATER 0x0002
+#define KAMSTRUP_KMP 0x0100
+#define LINKY 0x0101
+#define DLMS_COSEM 0x0102
+#define DSMR_23 0x0103
+#define DSMR_40 0x0104
+
#ifndef DBG_IAS
#define DBG_IAS DBG_INFO // DBG_IAS didn't exist before version v2.10.x
#endif
