Quick fixes for BACNET_CHARACTER_STRING uses with routing. (Mostly just reverting to ANSI with this demo code.)

This commit is contained in:
tbrennan3
2011-08-22 19:55:05 +00:00
parent 1e3b14802f
commit c1f148dc61
2 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -281,9 +281,11 @@ static void Init_Service_Handlers(
#if BAC_ROUTING
uint32_t Object_Instance;
BACNET_CHARACTER_STRING name_string;
/* Put this client Device into the Routing table (first entry) */
Object_Instance = Device_Object_Instance_Number();
Add_Routed_Device(Object_Instance, Device_Object_Name(),
Device_Object_Name(Object_Instance, &name_string);
Add_Routed_Device(Object_Instance, &name_string,
Device_Description());
#endif