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

156 Commits

Author SHA1 Message Date
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
Joel Bender
1a9f06fd51 many changes 2016-08-30 02:25:32 -04:00
Joel Bender
1fa3fd1c76 first crack at COV service module -- needs help 2016-08-29 16:41:14 -04:00
Joel Bender
147b29c79a strip out unused imports, remove localAddress from application layer with a deprecation warning, add local address to BIP in case it's needed by other applications 2016-08-29 16:40:12 -04:00
Joel Bender
431eaebe36 move the read/write property services 2016-08-28 18:18:22 -04:00
Joel Bender
3f78fb8adf file and device services, untested 2016-08-28 01:52:51 -04:00
Joel Bender
2b00378904 simplify the error handling and update the API 2016-08-27 18:51:25 -04:00
Joel Bender
40a9a7892d add the capabillity module and tests 2016-08-27 18:49:56 -04:00
Joel Bender
8253619349 merge in stage (with the next release) and keep going 2016-08-26 15:33:06 -04:00
Joel Bender
08b16d5122 ready for the next release 2016-08-26 15:31:57 -04:00
Joel Bender
68463cdd81 missed keeping track of the maximum APDU length accepted 2016-08-26 13:57:42 -04:00
Joel Bender
9fa5b749f9 remove the localDevice dependancy and shift settings over to the state machine access point 2016-08-26 13:42:08 -04:00
Joel Bender
b5671a18c8 return the default value to what's in clause 12.11.27 (hotfix) 2016-08-26 11:07:55 -04:00
Joel Bender
2a623aff98 update the maxSegmentsAccepted in the segmentation state machine when the device supports segmentation 2016-08-26 09:28:36 -04:00
Joel Bender
20a0e6a79f bring branch up to date with stage 2016-08-26 07:44:23 -04:00
Joel Bender
25ddfe1ef3 fix the max APDU length accepted encoding (check was in the wrong direction), make sure the local device has a value that is at least 50 2016-08-26 00:25:50 -04:00
Joel Bender
100aabae2a work in progress 2016-08-25 22:31:14 -04:00
Joel Bender
af6f1cec68 create the service subpackage and a test module in it 2016-08-25 17:24:59 -04:00
Joel Bender
c669b87daa extended debugging #76 works as intended 2016-08-25 12:17:08 -04:00
Joel Bender
122fd355ae tell the cache the device info has been updated when the incoming request APCI fields are inconsistent with the device info (hotfix) 2016-08-25 10:07:40 -04:00