RP and RPM Network Port indefinite object instance (#146)
* RP and RPM Network Port indefinite object instance Added ReadProperty and ReadPropertyMultiple handling for Network Port object indefinite object instance 4194303. * Add network port object to some examples * Fix stm32f10x build * Fix Endian order of network port IP UDP port * Add network port object to BDK Makefile * Add network port object header to BDK device.c * fix BDK and AT91SAM7S port builds Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -43,6 +43,9 @@
|
||||
/* objects */
|
||||
#include "bacnet/basic/object/device.h"
|
||||
#include "bacnet/basic/object/ai.h"
|
||||
#if (BACNET_PROTOCOL_REVISION >= 17)
|
||||
#include "bacnet/basic/object/netport.h"
|
||||
#endif
|
||||
|
||||
/* forward prototype */
|
||||
int Device_Read_Property_Local(BACNET_READ_PROPERTY_DATA *rpdata);
|
||||
@@ -71,6 +74,12 @@ static struct my_object_functions {
|
||||
Analog_Input_Object_Name, Analog_Input_Read_Property,
|
||||
Analog_Input_Write_Property, Analog_Input_Property_Lists, NULL, NULL,
|
||||
NULL },
|
||||
#if (BACNET_PROTOCOL_REVISION >= 17)
|
||||
{ OBJECT_NETWORK_PORT, Network_Port_Init, Network_Port_Count,
|
||||
Network_Port_Index_To_Instance, Network_Port_Valid_Instance,
|
||||
Network_Port_Object_Name, Network_Port_Read_Property,
|
||||
Network_Port_Write_Property, Network_Port_Property_Lists },
|
||||
#endif
|
||||
{ MAX_BACNET_OBJECT_TYPE, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user