Initiate UTCTimeSync service with non-zero UTCoffset
Brought to you by:
skarg
It looks like the DM-UTC-A BIBB (initiate UTCTimeSync service) is not fully supported in BACnetStack.
While its true that the code has timesync_utc_encode_apdu() in src/timesync.c, that is nothing but a wrapper for sending the passed in date/time arguments in a SERVICE_UNCONFIRMED_UTC_TIME_SYNCHRONIZATION APDU. I believe this assumes that the date/time has already been adjusted by the desired UTC offset and then the service is issued with the modified date/time and a UTC offset of 0. Is there a way to actually issue the UTCTimeSync service with an unmodified date/time and the requested UTCoffset?
Anonymous
Implemented in revision: 2722 in trunk/bacnet-stack. Plans to merge to other branch versions.