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

notes

Joel Bender 2018-05-24 23:49:32 -04:00
parent 838c5e178b
commit 6c6efb7a42

@ -24,6 +24,39 @@ to this:
if _debug: _log.debug(" - this_device: %r", this_device)
```
### Device Information Cache
The expectations of the DeviceInfoCache have changed to make it closer to what
would be expected if it had a database backend.
* the `get_device_info()` function no longer returns a mocked up DeviceInfo
record if one doesn't exist
* there are new `acquire()` and `release()` functions that signal when a
DeviceInfo record is being used by a state machine.
* a new `device_info_class` parameter is used when constructing new DeviceInfo
objects so both the DeviceInfoCache and DeviceInfo can be subclassed.
### Segmented APDUs
The segmentation state machine classes have been significantly worked over to
respect the APCI header fields and is no longer as tightly dependant on the
device information cache.
### APDU Retry Count Fixed
The retry count is now correct, it was a vicious off-by-one error.
### Foreign Device Communications
The restrictions on what can be sent and received by an unregistered foreign
device have been relaxed.
### Unrecognized Services
The recept of a request for an unrecognized service is now rejected.
## 0.17.0
This release contains a number of new features that will break existing code.