1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-10-13 00:42:44 +08:00
Commit Graph

950 Commits

Author SHA1 Message Date
Christian Tremblay, ing
b6dbbca0c9 Typoe in flake8 ignore 2021-02-22 10:53:24 -05:00
Christian Tremblay, ing
a9b0e0a539 Removing 2.5 and 2.6 for now. Trying to ignore flake8 codes ignore = E123,E221,E226,E302,E41,E701 2021-02-22 10:49:22 -05:00
Christian Tremblay, ing
dcdabfc1e7 Testing Github Actions for bacpypes 2021-02-22 10:40:40 -05:00
Joel Bender
7c4350b1e8 addtional sample adding a console to the first virtual device (#381) 2020-12-24 13:36:12 -05:00
Joel Bender
dad4378bac patch from @damienpicard in pull #371 2020-11-27 12:48:43 -05:00
Joel Bender
0761f9f380 bug in registration status (#368) 2020-11-09 21:57:07 -05:00
Mihai Bişog
50e19ee7af
🐛Added active foreign device registration tracking, improved registration behavior (#368)
- The way foreign device registration was handled was a bit confusing.
  You would call `register` and if everything was perfect then
  subsequent renewals would be done automatically. Except when the BBMD
  would sometimes return an error in which case subsequent renewals
  would stop.

    - With this change, renewals will always be rescheduled
      independently of the BBMD's response. You call `register` to start
      the registration (and renewal) process and `unregister` to bring
      it to a halt.

- Because there was no foreign device registration timeout tracking, and
  because of the previous issue, BIPForeign could end up in an
  inconsistent state if it had an active registration and for the next
  renewal the BBMD would not answer (e.g. poor network conditions). In
  this case the registration status would remain as registered and no
  further renewals would have been attempted.

  - This is solved by implementing timeout tracking of the active
    registration. The BACnet standard mentions that a BBMD should remove
    the registration from its FDT if no renewal was done 30s after the
    TTL, so if (30 + TTL) seconds pass since the last ACK then we've
    definitely lost the registration.
2020-11-08 10:36:34 -05:00
Joel Bender
47714a2df9 allow the property identifier in commands to be just an integer, it was inconsistent in the samples 2020-11-04 10:13:32 -05:00
Joel Bender
f834e53c55 bump the version number 2020-10-20 10:34:18 -04:00
Joel Bender
0b432128bc hotfix - extended unicode characters not supported 2020-10-20 09:57:57 -04:00
Joel Bender
17bb6703c5 make the analog value object writable (#361) 2020-10-09 19:20:21 -04:00
Joel Bender
29280be74f COV sample with an analog input object (#359) 2020-10-07 00:30:14 -04:00
Joel Bender
757dcfc043
fix typos in EventParameterAccessEventAccessEvent (#346) (#347) 2020-07-15 13:09:32 -04:00
Joel Bender
746880a44f
removing tools (#339) (#340)
go!
2020-05-02 12:39:05 -04:00
Joel Bender
2b04b097b1 resolve merge conflicts from RichardLitt-feat/getting-started-edits pull request 2020-05-02 12:24:31 -04:00
Joel Bender
22ed9a1682 Merge branch 'feat/getting-started-edits' of https://github.com/RichardLitt/bacpypes into RichardLitt-feat/getting-started-edits 2020-05-02 12:20:30 -04:00
Joel Bender
1b374db3f8 Merge branch 'RichardLitt-feat/edit-whoisiam' into develop 2020-05-02 12:19:36 -04:00
Joel Bender
1d9a8a285c Merge branch 'feat/edit-whoisiam' of https://github.com/RichardLitt/bacpypes into RichardLitt-feat/edit-whoisiam 2020-05-02 12:12:18 -04:00
Joel Bender
5968c30d07 new 'develop' branch - bump the version for the next release 2020-05-02 12:02:15 -04:00
Richard Littauer
9ec89dbf11 refactor: Remove tutorials/WhoIsIAm.py
This removes the Tutorial code and updates the old samples/WhoIsIAm.py to match it.
2020-04-30 08:46:14 -04:00
Richard Littauer
65cee28169 docs: spelling errors
Also removed whitespace. Can resubmit if that is unsatisfactory.
2020-04-28 18:17:21 -04:00
Joel Bender
cc9a5c420a stage merged and conflicts resolved 2020-04-22 18:51:14 -04:00
Joel Bender
d832f84319 update release script and classifiers 2020-01-29 15:53:34 -05:00
Joel Bender
5c7da58ad6 0.18.0 releasd 2020-01-29 15:46:08 -05:00
Joel Bender
792041b3ca release 0.17.7 2019-11-17 14:57:47 -05:00
Joel Bender
4111b8604a 0.17.6 released 2019-04-19 10:04:42 -04:00
Joel Bender
fd27c54ac7 documentation update test for ReadTheDocs web hook 2019-01-30 20:34:51 -05:00
Joel Bender
61dbd5237f 0.17.5 release 2018-08-15 16:29:30 -04:00
Joel Bender
12a8f43ce1 conflicts - ugh 2018-07-04 23:58:02 -04:00
Joel Bender
6582ba7661 stage for the 0.17.4 release 2018-07-04 23:49:32 -04:00
Joel Bender
a293417990 merged already 2018-07-04 23:44:53 -04:00
Joel Bender
8f10342c26 wasn't this committed already? :-/ 2018-07-04 23:43:28 -04:00
Joel Bender
debae3d4f4 version 0.17.3 released 2018-07-04 17:51:12 -04:00
Joel Bender
acffe14c93 COV code updated (#192) 2018-07-04 17:32:17 -04:00
Joel Bender
216f30aa42 move the sandbox code into samples 2018-07-04 17:28:35 -04:00
Joel Bender
c368b0ed50 additional 'switch' for swapping components in/out of a stack without rebinding (#172) 2018-07-04 17:27:44 -04:00
Joel Bender
e191623c2b sample to save/restore/write recipient list, dump out event notifications 2018-06-30 14:28:12 -04:00
Joel Bender
d2fc0fb0a3 minor output cleanup 2018-06-29 21:30:03 -04:00
Joel Bender
d33c92c8e4 clean up the state names 2018-06-29 20:32:22 -04:00
Joel Bender
83bc29a7e8 more tests 2018-06-29 20:11:22 -04:00
Joel Bender
463b2ec895 add a generator for easier access to active subscriptions 2018-06-29 20:11:08 -04:00
Joel Bender
62decf7611 adjust the test 2018-06-29 01:06:54 -04:00
Joel Bender
2d88f04d26 send a notification to the client after new and renewed subscriptions 2018-06-29 01:06:31 -04:00
Joel Bender
e9c511c2c2 add an easy way for a state to ignore packets by creating a ReceiveTransition back to itself 2018-06-29 00:13:32 -04:00
Joel Bender
9db07dc8d5 more tests 2018-06-28 16:43:43 -04:00
Joel Bender
352b92da92 add an option to keep the debugging file 2018-06-28 16:43:19 -04:00
Joel Bender
5c3c13346a add a sample script to run tests -- not sure where to put this 2018-06-28 12:23:08 -04:00
Joel Bender
3cd5783076 make a distinction between a sniffer node and a sniffer state machine, both now ignore network layer traffic if there is any (for now), clean up tests 2018-06-28 10:57:28 -04:00
Joel Bender
7d55746b77 threading examples 2018-06-27 23:54:44 -04:00
Joel Bender
ac840a13da update to the API changes 2018-06-27 20:42:33 -04:00