Christian Tremblay
9e318177b4
Attempt to implement the feature where some properties must be writable when OutOfService is set to True.
...
I've added a new parameter to ReadProperty and OptionalProperty named writable_if_oos that propagate to the property.
Then at the object level, it is possible to look this parameter in the property then check the outOfService value to change mutability of the property on the fly.
In the ReadProperty function, I will also check the OutOfService property to reset mutability if no longer needed.
Internally, in the app, if writing to the presentValue directly, a validation of the OutOfService property will be possible when this parameter is True so the program won't update the value of the property as long as the OutOfService property is True.
It could also be a good practice that the program can reset the mutability as soon as OutOfService is set to false in the logic of the program... not necessarely fast enough to wait for a network Read on the property.
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2019-08-23 11:10:04 -04:00
Christian Tremblay
a9239037c0
Merge branch 'stage' of github.com:JoelBender/bacpypes into stage
2019-08-23 10:43:50 -04:00
Joel Bender
b66d8a294f
OpenWeather Server sample
2019-07-05 01:32:28 -04:00
Joel Bender
e369322d7c
adjust to merge into stage, add a debug message ( #283 )
2019-07-04 17:07:29 -04:00
Christian Tremblay
38aa060fe8
Merge branch 'stage' of github.com:JoelBender/bacpypes into stage
2019-05-28 06:21:36 -04:00
Christian Tremblay
99bf19c2fe
Issue 267 ( #268 )
...
* Added python 3.7 to setup.py file
* Added parenthesis as requested by error. See issue-267
2019-05-24 00:36:29 -04:00
Ryan Shumate
a5b0f98ada
ignore propertyList property during ReadPropertyMultiple request ( #273 )
...
* 0.17.6 released
* ignore propertyList property during ReadPropertyMultiple request
* correctly resolving conflicts...
2019-05-24 00:31:33 -04:00
Christian Tremblay
4f6e50747c
Update setup.py ( #266 )
...
Yea, I guess :-). _BACpypes: The Next Generation_ isn't going to be ready for a while.
2019-05-21 20:53:42 -04:00
Christian Tremblay
2da99b4608
241 string decoding error ( #269 )
...
* fallback to latin-1 decoding, 2.7 test fails (#241 )
* update test to split python versions
* 'normalize' characters, drop those that can't be mapped (#241 )
2019-04-26 21:22:04 -04:00
Christian Tremblay
d535aa1542
Added python 3.7 to setup.py file
2019-04-24 22:00:04 -04:00
Joel Bender
813c5806e6
merging 15-network-port-object (again?)
2019-04-19 10:16:10 -04:00
Joel Bender
f1a76665f0
this should already be merged
2019-04-19 10:13:43 -04:00
Joel Bender
f5fae98ee8
ready for the next release
2019-04-19 10:06:10 -04:00
Joel Bender
197a405ec7
merge #207 into stage for next release
2019-04-19 09:54:22 -04:00
Joel Bender
78b6586da6
clean up deprecation warnings
2019-04-15 09:32:29 -04:00
Joel Bender
612cd86cc0
merging ( #243 )
2019-04-11 11:21:51 -04:00
Joel Bender
d8dc661973
merge in stage, resolve merge conflicts, test
2019-04-11 11:14:33 -04:00
Joel Bender
6166fa023e
merge network port object
2019-04-11 11:02:08 -04:00
Joel Bender
f293d00ead
trailing spaces
2019-04-11 10:59:52 -04:00
Joel Bender
ff4e7ab1b8
merge ( #258 )
2019-04-11 10:45:37 -04:00
Joel Bender
e53fc305cf
back to old school formatting
2019-04-11 10:36:45 -04:00
Joel Bender
b5ec368d09
make the sample array more than one element ( #263 )
2019-04-02 17:59:55 -04:00
Joel Bender
57740c0217
check the tag list to see if it's an array ( #263 )
2019-04-02 17:59:29 -04:00
Joel Bender
490e42fcc1
sync up versions
2019-03-25 22:00:32 -04:00
Joel Bender
9072c65c0b
router entry status definition is correct
2019-03-25 21:46:04 -04:00
Joel Bender
b5a9c5defc
missing imports and ordering
2019-03-25 21:36:12 -04:00
Joel Bender
0eb4af119a
Merge branch 'tjohnsonhvac-patch-8' into 15-network-port-object
2019-03-25 21:20:25 -04:00
Joel Bender
27440c540f
merge and update ( #262 )
2019-03-25 21:19:33 -04:00
Joel Bender
ada04590f0
Merge branch 'tjohnsonhvac-patch-6' into 15-network-port-object
2019-03-25 20:59:24 -04:00
Joel Bender
8ebd58727d
Merge branch 'patch-6' of https://github.com/tjohnsonhvac/bacpypes into tjohnsonhvac-patch-6
2019-03-25 20:58:47 -04:00
Joel Bender
83b51025f5
Merge branch 'tjohnsonhvac-patch-5' into 15-network-port-object
2019-03-25 20:56:17 -04:00
Joel Bender
4c8acfd725
Merge branch 'patch-5' of https://github.com/tjohnsonhvac/bacpypes into tjohnsonhvac-patch-5
2019-03-25 20:55:20 -04:00
tjohnsonhvac
bb47c7cdd3
Update basetypes.py
...
Added to property ids and objects supported.
2019-03-25 14:53:32 -04:00
tjohnsonhvac
392a1dd38d
Update basetypes.py
...
Add in supporting classes for network port object
2019-03-25 08:11:55 -04:00
Joel Bender
b8aad47e87
update command syntax and doc strings ( #259 )
2019-03-20 16:08:32 -04:00
Joel Bender
7bd978ffaa
a little too aggressive copy/paste ( #258 )
2019-03-19 22:43:19 -04:00
Joel Bender
8b1ae6617d
try putting low and high limits on Unsigned ( #258 )
2019-03-19 21:56:07 -04:00
tjohnsonhvac
a81a42c452
Update network_port_object.py
...
added property number comments from standard.
2019-03-19 17:44:46 -04:00
tjohnsonhvac
623edaa3d3
Create network_port_object.py
...
Here are the definition for the NetworkPortObject.
* I had a question on the data type on line #112
The optional properties for this are not always optional depending on other properties defined. How should that be handled?
2019-03-19 13:16:37 -04:00
Joel Bender
1109ad5720
restore the sample application
2019-03-15 16:18:33 -04:00
Joel Bender
91fae08d51
Merge branch 'stage' of github.com:JoelBender/bacpypes into stage
2019-03-11 09:51:38 -04:00
Joel Bender
bbc2df76ed
pass the iocb to the application in the core thread context (usually the main thread) by calling for the sample applications with a console thread ( #247 )
2019-03-09 18:49:38 -05:00
Joel Bender
e22dd25c45
use the string form of the property which may include an array index and looks like an integer for vendor properties ( #255 )
2019-03-09 17:39:22 -05:00
Joel Bender
ad4c56c0a7
Merge branch 'stage' of github.com:JoelBender/bacpypes into stage
2019-03-08 11:12:01 -05:00
Joel Bender
629d058499
additional sample for network application registered as a foreign device
2019-03-08 11:11:42 -05:00
Joel Bender
4412baf15d
make it easier to create foreign device network applications
2019-03-08 11:10:35 -05:00
Joel Bender
0d50b2092a
guard against some decoding errors
2019-03-08 11:09:58 -05:00
Joel Bender
f56446be05
dump the contents of the APDU before attempting to decode it ( #254 )
2019-03-07 21:40:10 -05:00
Joel Bender
627bdcc2ba
missing imports, extraneous import ( #253 )
2019-03-06 19:43:42 -05:00
Joel Bender
62e4cf9655
map strings into addresses
2019-03-05 21:23:54 -05:00