Fixed Send_TimeSyncUTC().
Fixes bug https://sourceforge.net/p/bacnet/bugs/28/ Added functions in s_ts.c that reference Device object Local_Time, UTC_Offset, and Daylight_Savings_Time properties. Implements feature request https://sourceforge.net/p/bacnet/bugs/27/
This commit is contained in:
@@ -1169,6 +1169,18 @@ void Device_getCurrentDateTime(
|
||||
DateTime->time = Local_Time;
|
||||
}
|
||||
|
||||
int32_t Device_UTC_Offset(void)
|
||||
{
|
||||
Update_Current_Time();
|
||||
|
||||
return UTC_Offset;
|
||||
}
|
||||
|
||||
bool Device_Daylight_Savings_Status(void)
|
||||
{
|
||||
return Daylight_Savings_Status;
|
||||
}
|
||||
|
||||
/* return the length of the apdu encoded or BACNET_STATUS_ERROR for error or
|
||||
BACNET_STATUS_ABORT for abort message */
|
||||
int Device_Read_Property_Local(
|
||||
|
||||
Reference in New Issue
Block a user