diff --git a/bacnet-stack/demo/object/device.h b/bacnet-stack/demo/object/device.h index de443820..77dbaab7 100644 --- a/bacnet-stack/demo/object/device.h +++ b/bacnet-stack/demo/object/device.h @@ -235,7 +235,10 @@ extern "C" { void Device_getCurrentDateTime( BACNET_DATE_TIME * DateTime); + int32_t Device_UTC_Offset(void); + void Device_UTC_Offset_Set(int16_t offset); + bool Device_Daylight_Savings_Status(void); bool Device_Align_Intervals(void); bool Device_Align_Intervals_Set(bool flag); diff --git a/bacnet-stack/demo/object/schedule.h b/bacnet-stack/demo/object/schedule.h index 565b6f93..3cb12d6a 100644 --- a/bacnet-stack/demo/object/schedule.h +++ b/bacnet-stack/demo/object/schedule.h @@ -81,6 +81,13 @@ extern "C" { unsigned Schedule_Instance_To_Index(uint32_t instance); void Schedule_Init(void); + void Schedule_Out_Of_Service_Set( + uint32_t object_instance, + bool value); + bool Schedule_Out_Of_Service( + uint32_t object_instance); + + bool Schedule_Object_Name(uint32_t object_instance, BACNET_CHARACTER_STRING * object_name); diff --git a/bacnet-stack/demo/object/trendlog.c b/bacnet-stack/demo/object/trendlog.c index 3826aa62..8b7fc1d3 100644 --- a/bacnet-stack/demo/object/trendlog.c +++ b/bacnet-stack/demo/object/trendlog.c @@ -1594,7 +1594,7 @@ static int local_read_property( * Attempt to fetch the logged property and store it in the Trend Log * ****************************************************************************/ -void TL_fetch_property( +static void TL_fetch_property( int iLog) { uint8_t ValueBuf[MAX_APDU]; /* This is a big buffer in case someone selects the device object list for example */ diff --git a/bacnet-stack/ports/linux/bip-init.c b/bacnet-stack/ports/linux/bip-init.c index 3048ccba..193d2451 100644 --- a/bacnet-stack/ports/linux/bip-init.c +++ b/bacnet-stack/ports/linux/bip-init.c @@ -78,6 +78,12 @@ static int get_local_ifr_ioctl( return rv; } +/* forward prototype required for compilers */ +int get_local_address_ioctl( + char *ifname, + struct in_addr *addr, + int request); + int get_local_address_ioctl( char *ifname, struct in_addr *addr,