1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

more changes documented

Joel Bender 2018-02-24 00:36:06 -05:00
parent 6049492e70
commit c3e4b8a7ec

@ -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 not been determined to signal "no path" back to the application when the
discovery process times out. 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 ## 0.16.7
This is a long line of text. This is a long line of text.