Added command line option for setting the Device Name in the demo server project.

This commit is contained in:
skarg
2014-11-06 16:16:48 +00:00
parent 66f52e438f
commit b2097a2acc
3 changed files with 53 additions and 1 deletions
+5
View File
@@ -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)
{
+1
View File
@@ -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);