Implement missing data types for calendar and schedule (#474)
* Added the SpecialEvent struct for the Exception_Schedule property of Schedule, encode/decode/same functions, unit tests, and integrated into bacapp functions. * Added the CalendarEntry struct for the Date_List property of Calendar and the SpecialEvent struct, encode/decode functions, unit tests, and integrated into bacapp functions. * Added the DateRange struct for the Effective_Period property of Schedule, encode/decode functions, unit tests, and integrated into bacapp functions. --------- Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -51,15 +51,17 @@ extern "C" {
|
||||
|
||||
/** Decode DailySchedule (sequence of times and values) */
|
||||
BACNET_STACK_EXPORT
|
||||
int bacnet_dailyschedule_decode(
|
||||
int bacnet_dailyschedule_context_decode(
|
||||
uint8_t * apdu,
|
||||
int max_apdu_len,
|
||||
uint8_t tag_number,
|
||||
BACNET_DAILY_SCHEDULE * day);
|
||||
|
||||
/** Encode DailySchedule (sequence of times and values) */
|
||||
BACNET_STACK_EXPORT
|
||||
int bacnet_dailyschedule_encode(
|
||||
int bacnet_dailyschedule_context_encode(
|
||||
uint8_t * apdu,
|
||||
uint8_t tag_number,
|
||||
BACNET_DAILY_SCHEDULE * day);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user