Added command line option for setting the Device Name in the demo server project.
This commit is contained in:
@@ -742,6 +742,11 @@ bool Device_Set_Object_Name(
|
||||
return status;
|
||||
}
|
||||
|
||||
bool Device_Object_Name_ANSI_Init(const char * value)
|
||||
{
|
||||
return characterstring_init_ansi(&My_Object_Name, value);
|
||||
}
|
||||
|
||||
BACNET_DEVICE_STATUS Device_System_Status(
|
||||
void)
|
||||
{
|
||||
|
||||
@@ -287,6 +287,7 @@ extern "C" {
|
||||
BACNET_OBJECT_TYPE object_type,
|
||||
uint32_t object_instance,
|
||||
BACNET_CHARACTER_STRING * object_name);
|
||||
bool Device_Object_Name_ANSI_Init(const char * object_name);
|
||||
|
||||
BACNET_DEVICE_STATUS Device_System_Status(
|
||||
void);
|
||||
|
||||
Reference in New Issue
Block a user