mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
notes
parent
8b3919e2a5
commit
838c5e178b
|
@ -1,5 +1,29 @@
|
|||
# Release Notes
|
||||
|
||||
## 0.17.1
|
||||
|
||||
### Simplified Configuration of Local Device Object
|
||||
|
||||
The number and types of optional parameters to the DeviceObject that could be
|
||||
defined in keyword arguments or in an INI file was driving me crazy. There
|
||||
is a new simple way that is reflected in the sample applications where
|
||||
you can go from this:
|
||||
```
|
||||
# make a device object
|
||||
this_device = LocalDeviceObject(
|
||||
objectName=args.ini.objectname,
|
||||
objectIdentifier=int(args.ini.objectidentifier),
|
||||
maxApduLengthAccepted=int(args.ini.maxapdulengthaccepted),
|
||||
segmentationSupported=args.ini.segmentationsupported,
|
||||
vendorIdentifier=int(args.ini.vendoridentifier),
|
||||
)
|
||||
```
|
||||
to this:
|
||||
```
|
||||
this_device = LocalDeviceObject(ini=args.ini)
|
||||
if _debug: _log.debug(" - this_device: %r", this_device)
|
||||
```
|
||||
|
||||
## 0.17.0
|
||||
|
||||
This release contains a number of new features that will break existing code.
|
||||
|
|
Loading…
Reference in New Issue
Block a user