Added API for BACnet basic server device object. (#994)

This commit is contained in:
Steve Karg
2025-05-12 11:12:34 -05:00
committed by GitHub
parent 5f646e9e5d
commit bfb7bf0c1b
3 changed files with 270 additions and 17 deletions
+9
View File
@@ -317,6 +317,8 @@ int Device_Set_System_Status(BACNET_DEVICE_STATUS status, bool local);
BACNET_STACK_EXPORT
const char *Device_Vendor_Name(void);
BACNET_STACK_EXPORT
bool Device_Set_Vendor_Name(const char *name, size_t length);
BACNET_STACK_EXPORT
uint16_t Device_Vendor_Identifier(void);
@@ -330,6 +332,8 @@ bool Device_Set_Model_Name(const char *name, size_t length);
BACNET_STACK_EXPORT
const char *Device_Firmware_Revision(void);
BACNET_STACK_EXPORT
bool Device_Set_Firmware_Revision(const char *name, size_t length);
BACNET_STACK_EXPORT
const char *Device_Application_Software_Version(void);
@@ -351,6 +355,11 @@ const char *Device_Serial_Number(void);
BACNET_STACK_EXPORT
bool Device_Serial_Number_Set(const char *name, size_t length);
BACNET_STACK_EXPORT
void Device_Time_Of_Restart(BACNET_TIMESTAMP *time_of_restart);
BACNET_STACK_EXPORT
bool Device_Set_Time_Of_Restart(const BACNET_TIMESTAMP *time_of_restart);
/* some stack-centric constant values - no set methods */
BACNET_STACK_EXPORT
uint8_t Device_Protocol_Version(void);