[dss-commits] r8815 - dss/trunk/core
dss-commits at forum.digitalstrom.org
dss-commits at forum.digitalstrom.org
Mon Oct 5 15:22:00 CEST 2009
Author: pstaehlin
Date: 2009-10-05 15:22:00 +0200 (Mon, 05 Oct 2009)
New Revision: 8815
Modified:
dss/trunk/core/ds485const.h
Log:
Constants for dSM error codes
Modified: dss/trunk/core/ds485const.h
===================================================================
--- dss/trunk/core/ds485const.h 2009-10-05 13:21:59 UTC (rev 8814)
+++ dss/trunk/core/ds485const.h 2009-10-05 13:22:00 UTC (rev 8815)
@@ -170,6 +170,24 @@
const int FunctionIDSwitch = 1;
const uint64_t DSIDHeader = 0x3504175FE0000000ll;
+
+ // error codes as received by the modulator
+ const int kDS485Ok = 1;
+ const int kDS485NoIDForIndexFound = -1;
+ const int kDS485ZoneNotFound = -2;
+ const int kDS485IndexOutOfBounds = -3;
+ const int kDS485GroupIDOutOfBounds = -4;
+ const int kDS485ZoneCannotBeDeleted = -5;
+ const int kDS485OutOfMemory = -6;
+ const int kDS485RoomAlreadyExists = -7;
+ const int kDS485InvalidDeviceID = -8;
+ const int kDS485CannotRemoveFromStandardGroup = -9;
+ const int kDS485CannotDeleteStandardGroup = -10;
+ const int kDS485DSIDIsNull = -11;
+ const int kDS485ReservedRoomNumber = -15;
+ const int kDS485DeviceNotFound = -16;
+ const int kDS485GroupNotFound = -18;
+
}
#endif /*DS485CONST_H_*/
More information about the dss-commits
mailing list