Skip to content

Commit 7c8e9c3

Browse files
committed
VSCP framework v0.4.0 merged
1 parent b990688 commit 7c8e9c3

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

VSCP/src/framework/vscp_class_l1.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ extern "C"
128128
/** VSCP level 1 class: Wireless */
129129
#define VSCP_CLASS_L1_WIRELESS 212
130130

131+
/** VSCP level 1 class: Diagnostic */
132+
#define VSCP_CLASS_L1_DIAGNOSTIC 506
133+
134+
/** VSCP level 1 class: Error */
135+
#define VSCP_CLASS_L1_ERROR 508
136+
131137
/** VSCP level 1 class: Logging i/f */
132138
#define VSCP_CLASS_L1_LOG 509
133139

VSCP/src/framework/vscp_class_l1_l2.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ extern "C"
135135
/** VSCP level 1 class over level 2: Wireless */
136136
#define VSCP_CLASS_L1_L2_WIRELESS (VSCP_CLASS_L1_L2_BASE + 212)
137137

138+
/** VSCP level 1 class over level 2: Diagnostic */
139+
#define VSCP_CLASS_L1_L2_DIAGNOSTIC (VSCP_CLASS_L1_L2_BASE + 506)
140+
141+
/** VSCP level 1 class over level 2: Error */
142+
#define VSCP_CLASS_L1_L2_ERROR (VSCP_CLASS_L1_L2_BASE + 508)
143+
138144
/** VSCP level 1 class over level 2: Logging i/f */
139145
#define VSCP_CLASS_L1_L2_LOG (VSCP_CLASS_L1_L2_BASE + 509)
140146

VSCP/src/framework/vscp_type_security.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ extern "C"
127127
/** VSCP class 1 security type: Harmful sound levels detected */
128128
#define VSCP_TYPE_SECURITY_HARMFUL_SOUND_LEVELS_DETECTED 19
129129

130+
/** VSCP class 1 security type: Tamper detected */
131+
#define VSCP_TYPE_SECURITY_TAMPER_DETECTED 20
132+
130133
/*******************************************************************************
131134
MACROS
132135
*******************************************************************************/

VSCP/src/framework/vscp_util.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ extern uint8_t vscp_util_getZoneIndex(uint16_t vscpClass, uint8_t vscpType)
126126
case VSCP_CLASS_L1_WEATHER:
127127
/*@fallthrough@*/
128128
case VSCP_CLASS_L1_WEATHER_FORECAST:
129+
/*@fallthrough@*/
130+
case VSCP_CLASS_L1_DIAGNOSTIC:
131+
/*@fallthrough@*/
132+
case VSCP_CLASS_L1_ERROR:
129133
zoneIndex = 1;
130134
break;
131135

0 commit comments

Comments
 (0)