1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-10-05 22:18:16 +08:00
Commit Graph

727 Commits

Author SHA1 Message Date
Joel Bender
fcddac5a82 pull in fixes from #126 in stage 2017-09-09 23:10:12 -04:00
Joel Bender
70ab0b3aa0 tests added, closes #126 2017-09-09 22:58:05 -04:00
Joel Bender
a050df73a6 offset assignment bug, working around floating point issues, added tests 2017-09-09 22:56:17 -04:00
Joel Bender
e31d7e7d37 bring branch up to date 2017-09-09 02:05:43 -04:00
Joel Bender
2bacc00e33 bring branch up to date with stage, tests next 2017-09-09 01:36:56 -04:00
Joel Bender
1749f2a0af merging #131 which ended up being lots of tests 2017-09-09 00:55:06 -04:00
Joel Bender
1ec923c018 sync python versions 2017-09-08 23:45:39 -04:00
Joel Bender
862ce212c6 Merge branch '137-unsigned-long' into stage, closes #137 2017-09-08 15:05:10 -04:00
Joel Bender
cd5a4653dd type checking improved, added tests 2017-09-08 15:00:38 -04:00
Joel Bender
5f761b7d91 sync the versions 2017-09-07 00:23:53 -04:00
Joel Bender
c1c4e077ac merge in stuff from stage and retest 2017-09-06 23:07:05 -04:00
Joel Bender
a6ceef3f67 closes #136 2017-09-06 22:51:17 -04:00
Joel Bender
3242556a12 sync the versions 2017-09-05 11:59:02 -04:00
Joel Bender
97212596ba fix the status command 2017-09-05 11:44:41 -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
f7182450cd debug the components 2017-08-31 17:06:03 -04:00
Joel Bender
06524869e6 debug the components 2017-08-31 15:44:01 -04:00
Joel Bender
c3266b8a43 sync the new code across python versions 2017-08-31 00:05:24 -04:00
Joel Bender
8d93e3d39c bring branch up-to-date with stage 2017-08-30 23:46:53 -04:00
Joel Bender
2a0835f4b0 sync the new code across python versions 2017-08-30 23:45:39 -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
f34de1071b password failure is an execution error, add a password to the test application 2017-08-04 10:16:41 -04:00
Joel Bender
2d3071733a sample application to generate DCC requests 2017-08-04 02:07:14 -04:00
Joel Bender
77a5f81d79 leftover bits 2017-08-04 02:06:24 -04:00
Joel Bender
263dd9d5a3 remove flakes 2017-08-04 01:23:32 -04:00
Joel Bender
3adcfbe91b shuffled some code around (just py27 for now) 2017-08-04 01:19:59 -04:00
Joel Bender
e21b540d7b Merge branch '78_device_communication_control' of https://github.com/amrx101/bacpypes into 78-device-communication-control 2017-08-03 21:01:00 -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
Amit Kumar
79262b29d3 first commit, introduced DeviceCommunicationControlServices class
Application checks and drops packets as per Clause 16

WIP

do_DeviceCommunication implemented

Set deviceInfoCache if not set already

First iteration

removed unused import

proper simpleAckPDU

removed unnecessary comments

Instanciate SMAP in Application class

Removed smap instanciation from BIPForeignApplication

Add support so one can add properties to LocalDeviceObject

Remove adding _dcc variables to LocalDeviceObject

Support for authentication WIP

removed unwanted change

Response with error on authentication failure

Removed unused import

DeviceCommunicationService class added for py3

Device allow for attributes

Changes in Application

Appservice changes for py3

Dont attach smap instance to local device

miscc
2017-08-03 18:17:41 +05:30
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