From c3e4b8a7ec3f0af3835ccf9956194f37f3485710 Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Sat, 24 Feb 2018 00:36:06 -0500 Subject: [PATCH] more changes documented --- Release-Notes.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Release-Notes.md b/Release-Notes.md index b760dbe..abb7e8d 100644 --- a/Release-Notes.md +++ b/Release-Notes.md @@ -46,6 +46,40 @@ There is a queue of APDU's waiting path discovery in `pending_nets`. It has not been determined to signal "no path" back to the application when the discovery process times out. +### LocalDeviceObject moved + +The LocalDeviceObject is used to create a `DeviceObject` in an application that +automatically returns the system date and time when the `localDate` and `localTime` +properties are read. This class was in the `bacpypes.service.device` module +and it has been moved to the new `bacpypes.local.device` module. + +BACpypes applications must change from this: +``` +from bacpypes.service.device import LocalDeviceObject +``` +to this: +``` +from bacpypes.local.device import LocalDeviceObject +``` + +Similarly, the `CurrentPropertyList` class that was in the `bacpypes.service.object` +module is now in the `bacpypes.local.object` module. + +### Automatic Protocol Services Supported + +All of the sample applications that have a full stack had code that computed +the protocol services supported and set that in the device object. +``` + # get the services supported + services_supported = this_application.get_services_supported() + if _debug: _log.debug(" - services_supported: %r", services_supported) + + # let the device object know + this_device.protocolServicesSupported = services_supported.value +``` +This functionality has been rolled into the `LocalDeviceObject` so this code +must be removed. + ## 0.16.7 This is a long line of text.