Changed bacnet name duplicate check to allow to rewrite with the same name to the same object without duplicate name error.
This commit is contained in:
@@ -37,17 +37,24 @@ extern "C" {
|
||||
void bacnet_name_init(
|
||||
uint16_t eeprom_offset,
|
||||
char *default_string);
|
||||
bool bacnet_name_save(
|
||||
uint16_t offset,
|
||||
uint8_t encoding,
|
||||
char *str,
|
||||
uint8_t length);
|
||||
void bacnet_name(
|
||||
uint16_t eeprom_offset,
|
||||
BACNET_CHARACTER_STRING * char_string,
|
||||
char *default_string);
|
||||
bool bacnet_name_write(
|
||||
bool bacnet_name_write_unique(
|
||||
uint16_t offset,
|
||||
int object_type,
|
||||
uint32_t object_instance,
|
||||
BACNET_CHARACTER_STRING * char_string,
|
||||
BACNET_ERROR_CLASS * error_class,
|
||||
BACNET_ERROR_CODE * error_code);
|
||||
/* no required minumum length or duplicate checking */
|
||||
bool bacnet_name_write_other(
|
||||
bool bacnet_name_write(
|
||||
uint16_t offset,
|
||||
BACNET_CHARACTER_STRING * char_string,
|
||||
BACNET_ERROR_CLASS * error_class,
|
||||
|
||||
Reference in New Issue
Block a user