Fixed error class for NO_SPACE_TO_WRITE_PROPERTY when changing device name so it is for class RESOURCES.

Changed Database Revision to uint32_t and now increment it when device name or ID is written (will need to look at other objects to see if they have writable ID's or names).
This commit is contained in:
petermcs
2010-02-01 13:19:32 +00:00
parent bfa8936bf5
commit f3806bb158
2 changed files with 38 additions and 17 deletions
+4 -2
View File
@@ -136,10 +136,12 @@ extern "C" {
BACNET_SEGMENTATION Device_Segmentation_Supported(
void);
uint8_t Device_Database_Revision(
uint32_t Device_Database_Revision(
void);
void Device_Set_Database_Revision(
uint8_t revision);
uint32_t revision);
void Device_Inc_Database_Revision(
void);
bool Device_Valid_Object_Name(
const char *object_name,