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

651 Commits

Author SHA1 Message Date
Joel Bender
1ec923c018 sync python versions 2017-09-08 23:45:39 -04:00
Joel Bender
a358aae5bb add 'events' as a way for multiple state machines in the same group to synchronize or signal each other 2017-09-04 01:22:20 -04:00
Joel Bender
5c07a989bd add an equality check so tests can make sure two foreign device table entries are identical 2017-09-04 01:20:34 -04:00
Joel Bender
776cf996de move the match_pdu function where it can be easily used in other tests, add a bunch of tests 2017-09-03 01:18:29 -04:00
Joel Bender
3d99ccc893 fix an encoding bug with WriteBroadcastDistributionTable 2017-09-03 01:17:26 -04:00
Joel Bender
ebbf2f0e35 change receive from equality checking to 'criteria' which is an optional class, for isinstance() checking, and keyword name/value pairs, for hasattr() and getattr() checking 2017-09-02 02:06:54 -04:00
Joel Bender
aee547d050 sync the python versions 2017-08-31 23:59:53 -04:00
Joel Bender
4e052ada85 'indexing' a network, finding a node by address, might be a good idea to reintroduce in the future 2017-08-31 23:49:31 -04:00
Joel Bender
b9f23bff26 bring branch up-to-date with stage 2017-08-30 22:53:46 -04:00
Joel Bender
2a1acf70af allow missing objects 2017-08-29 23:32:23 -04:00
Joel Bender
b67ccac080 minor doc update 2017-08-29 22:55:39 -04:00
Joel Bender
920793543d replace the start_state.success() with start_state.timeout().success() to make sure a node gets nothing 2017-08-17 12:56:41 -04:00
Joel Bender
2fa62dfe5f add an IPRouter and tests 2017-08-17 02:53:15 -04:00
Joel Bender
f1d4626527 add crude virtual IP network classes and tests 2017-08-16 23:24:07 -04:00
Joel Bender
75b3e1af6b remove the restriction on VLAN nodes to have address of type Address 2017-08-15 00:21:39 -04:00
Joel Bender
c58d255153 clean up the comments 2017-08-11 18:00:00 -04:00
Joel Bender
a2933abdad additional test and documentation 2017-08-08 00:32:29 -04:00
Joel Bender
572dfdf300 more experience writing networking/state machine tests 2017-08-07 23:25:52 -04:00
Joel Bender
b174095a47 remove send() and match_pdu() from TrappedStateMachine so it is a cleaner set of functionality, add a new TSMachine class in the test code so the tests can remain the same 2017-08-07 00:25:16 -04:00
Joel Bender
c91b3d6948 group the functions together 2017-08-07 00:21:33 -04:00
Joel Bender
ce0b176e70 trying out test code pattern 2017-08-03 14:54:53 -04:00
Joel Bender
fa96fcaf0b add doc strings because I keep forgetting the order 2017-08-03 14:53:48 -04:00
Joel Bender
f96dfa63f8 add a little debugging 2017-08-03 14:53:02 -04:00
Joel Bender
38c8fb2613 vlan node bind in __init__ failed because empty networks are falsy 2017-08-02 23:51:31 -04:00
Joel Bender
ab7ef56fe7 bring the branch up to date with 'stage' 2017-08-02 21:45:41 -04:00
Joel Bender
f1b7f9b1fa the 'description' property is optional 2017-08-02 11:14:34 -04:00
Joel Bender
76f53473e7 old API name for debugging contents 2017-07-25 13:44:11 -04:00
Joel Bender
6e30ea3117 copy/paste error in debugging code 2017-07-24 15:02:57 -04:00
Joel Bender
5333d6e66f allow the sieve queue class to be extended 2017-07-24 15:00:55 -04:00
Joel Bender
9b843f3660 bring the branch up to date with stage 2017-07-20 12:44:45 -04:00
Joel Bender
887e0d0bbc bump for the next release 2017-07-20 12:13:01 -04:00
Joel Bender
66fef855a9 obsolete function name -- I thought I hot fixed this :-/ 2017-07-20 10:40:16 -04:00
Joel Bender
949108e2d5 add an __init__ method to see when it gets called, fix debugging 2017-07-19 00:56:26 -04:00
Joel Bender
be197b511a blank files for tests 2017-06-26 17:56:22 -04:00
Joel Bender
2ebde5a1f2 add some debugging 2017-06-26 14:15:03 -04:00
Joel Bender
4a2474058d bring the branch version up to date with new version number in stage 2017-06-26 14:11:03 -04:00
Joel Bender
4ce878d915 bump the version for the next release 2017-06-26 14:09:20 -04:00
Joel Bender
ef9548b6f0 Merge branch 'master' into 131-sieveclientcontroller-stalling 2017-06-26 13:55:25 -04:00
Joel Bender
b1fc637193 wrong function name 2017-06-26 13:54:18 -04:00
Joel Bender
bc75a74f31 add a little debugging 2017-06-26 09:57:26 -04:00
Joel Bender
37561fbd4e keep tcp sockets non-blocking, handle connect timeouts with tasks like idle timeouts 2017-05-12 00:06:43 -04:00
Joel Bender
a538bd7f45 add an option to send a 'hello' message to a client as soon as it connects 2017-05-11 23:45:21 -04:00
Joel Bender
fe08d71650 cancel the idle timeout when the socket is closed in the server code 2017-05-11 23:44:40 -04:00
Joel Bender
5698bc907f keep the sockets non-blocking (the settimeout call made them blocking) and handle connection timeouts with a task like the idle timeout 2017-05-11 23:28:12 -04:00
Joel Bender
7a7b069b87 bump the version for the next release 2017-05-09 00:38:03 -04:00
Joel Bender
227bb5fbf6 error code 111 is connection refused 2017-05-08 23:44:48 -04:00
Joel Bender
a9256a0f1c RPM services now in object service module 2017-05-08 23:24:42 -04:00
Joel Bender
71c7f74c97 ready for release 2017-05-02 10:29:55 -04:00
Joel Bender
c8fbab7aeb merging #126 2017-05-02 10:24:30 -04:00
Joel Bender
47cdd325cf add offset to recurring tasks, closes #126 2017-05-02 10:21:41 -04:00