Skip to content

Commit bbbd461

Browse files
authored
Merge pull request #56 from bah2830/ADD_BARRIER_OPERATOR
Added support for barrier operators
2 parents ba258fa + bd89059 commit bbbd461

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zwavelib.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ const char *cclassStr (uint8 cc)
225225
return "DOOR LOCK";
226226
case 0x63:
227227
return "USER CODE";
228+
case 0x66:
229+
return "BARRIER OPERATOR";
228230
case 0x70:
229231
return "CONFIGURATION";
230232
case 0x71:
@@ -393,6 +395,8 @@ uint8 cclassNum (char const *str)
393395
return 0x62;
394396
else if (strcmp(str, "USER CODE") == 0)
395397
return 0x63;
398+
else if (strcmp(str, "BARRIER OPERATOR") == 0)
399+
return 0x66;
396400
else if (strcmp(str, "CONFIGURATION") == 0)
397401
return 0x70;
398402
else if (strcmp(str, "ALARM") == 0)

0 commit comments

Comments
 (0)