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

175 Commits

Author SHA1 Message Date
Joel Bender
a1054e1678 add BACPYPES_COLOR optional environment variable to match BACPYPES_DEBUG 2017-01-11 15:54:47 -05:00
Joel Bender
78032e5a43 bump the version for the next release 2016-12-23 09:44:24 -05:00
Joel Bender
cf33aa1c8e Merge branch 'issue-87' into stage 2016-11-30 20:23:00 -05:00
Karol Gil
4c9a2152c1 Issue #99 - fix proposal 2016-11-18 08:46:42 +01:00
Christian Tremblay
820c03e8dd Merge branch 'issue-87' of https://github.com/JoelBender/bacpypes into issue-87
Conflicts:
	py25/bacpypes/app.py
	py27/bacpypes/app.py
	py34/bacpypes/app.py
	samples/SampleConsoleCmd-A.py

Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-11-15 22:39:59 -05:00
Christian Tremblay
70abd268ab Typo : source_address instead of address
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-11-15 21:29:15 -05:00
Joel Bender
e322d4350c a little extra type checking 2016-11-14 22:31:48 -05:00
Joel Bender
39169bd5d7 bug with stream and record file initialization, clean up sample applications 2016-11-14 21:35:30 -05:00
Joel Bender
d610556112 missing import 2016-11-14 00:19:37 -05:00
Joel Bender
2f8f147517 trap the invalid array index 2016-11-14 00:18:30 -05:00
Joel Bender
ba31af7849 check for debugging 2016-11-14 00:17:25 -05:00
Joel Bender
2187bac5f8 use the new API 2016-11-11 00:14:46 -05:00
Joel Bender
418115fc7a sync the versions 2016-11-10 22:39:29 -05:00
Joel Bender
cb2449b5ad rename the internal fn from _confirmation_complete to _app_complete 2016-11-10 09:06:02 -05:00
Joel Bender
12589fe7af improve the isolation of layers between the Application and an IOController 2016-11-10 00:53:19 -05:00
Joel Bender
cdac3f1b10 sync changes across versions 2016-11-07 23:37:46 -05:00
Joel Bender
233486d0a2 remove obnoxious trailing blanks 2016-11-07 22:45:32 -05:00
Joel Bender
cf1a669ab0 synchronize the API update addPeer to add_actor, etc, across versions and sample code 2016-11-04 23:58:26 -04:00
Joel Bender
755b21d692 change the add/delete peer API to add/delete actor 2016-11-04 08:17:37 -04:00
Joel Bender
52c84afa58 the getsockopt() function is of the socket 2016-10-27 14:56:22 -04:00
Joel Bender
e847d876dd PDU data to/from TCP is bytes, request buffer must also be bytes 2016-10-26 20:43:18 -04:00
Joel Bender
34c492617e add the serialNumber property to the device object 2016-10-26 20:23:53 -04:00
Joel Bender
a6f197cf03 define handle_error function to match TCP api 2016-10-26 20:18:56 -04:00
Joel Bender
1864cc5422 be more explicit with bytes in upstream and downstream PDUs 2016-10-26 14:24:36 -04:00
Joel Bender
9b288405ef better handling of ctor order, use None in PDU ctor 2016-10-26 14:11:20 -04:00
Joel Bender
bbf4b25234 fix the API to match the tcp module 2016-10-26 01:57:30 -04:00
Joel Bender
ac3d56f18e change from passing exceptions up the stack (which mever seemed right) to passing them to the application service element via the director 2016-10-26 01:43:57 -04:00
Joel Bender
e7bf984798 more tcp stream error handling 2016-10-23 01:33:07 -04:00
Joel Bender
99996a73fa send IOError exceptions upstream 2016-10-20 16:11:08 -04:00
Joel Bender
a021cfc2e2 debugging output cleanup 2016-10-20 10:34:13 -04:00
Joel Bender
bde964e211 clean up the ClientController and write some docs 2016-10-07 15:14:20 -04:00
Joel Bender
970ed8f7f0 new SieveClientController class for other protocol libs (like MODpypes) 2016-10-06 09:42:23 -04:00
Joel Bender
c57a325920 newline at end of file weirdness 2016-09-20 20:42:09 -04:00
Joel Bender
aa1ec81643 sync changes, clean up names, more testing 2016-09-17 02:12:14 -04:00
Joel Bender
ac36e50324 make sure subscriptions are no longer scheduled when they are canceled 2016-09-16 14:52:12 -04:00
Joel Bender
458c954523 raise execution errors rather than Error objects -- forgot my own API :-) 2016-09-16 11:27:34 -04:00
Joel Bender
b3fec6220e trigger the task manager event when deferred is called to break the asyncore loop 2016-09-16 11:26:16 -04:00
Joel Bender
b07033d258 essentially a new module using detect 2016-09-16 01:36:48 -04:00
Joel Bender
04e18c35af add a detect module 2016-09-16 01:34:02 -04:00
Joel Bender
8e9869c13c enable debugging for deferred() 2016-09-16 01:32:42 -04:00
Joel Bender
06ca93d9c7 clean up names, sync python versions 2016-09-14 22:17:07 -04:00
Joel Bender
af9fd7ead1 hacks and such 2016-09-14 18:20:51 -04:00
Joel Bender
53a95da5b0 split object services from .service.device to .service.object, sync versions, clean up flakes 2016-09-10 20:41:04 -04:00
Joel Bender
c57514b7a9 bump the version number for the API change and include the new modules 2016-09-06 10:34:27 -04:00
Joel Bender
0b05daa93c synchronize all the codes 2016-09-02 23:31:35 -04:00
Joel Bender
0fdc4040f4 update to the new framework 2016-08-30 22:28:14 -04:00
Joel Bender
92a376a68a switch to using IOCBs 2016-08-30 16:44:29 -04:00
Joel Bender
065e385670 clean up i_am() and i_have() functions, raise ExecutionError rather than Error 2016-08-30 15:07:33 -04:00
Joel Bender
f83e6106bb fix the trigger function name, make controller registration explicit 2016-08-30 15:05:06 -04:00
Joel Bender
a8f29e915a separate the upstream traffic into responses and errors by PDU type, minor documentation 2016-08-30 15:03:18 -04:00