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

183 Commits

Author SHA1 Message Date
Joel Bender
1465deb43e merge in stage and fix conflicts 2016-05-07 16:56:21 -04:00
Joel Bender
3ed5224238 ready for next release 2016-05-05 23:35:34 -04:00
Joel Bender
e80c1ad05a bring the branch up to date before continuing on #58 2016-04-30 23:30:55 -04:00
Joel Bender
d5c08c8a20 move some project metadata - issue #70 2016-04-30 22:01:03 -04:00
Joel Bender
8619522ade check the instance number of objects being added - note this does not apply to the device object 2016-04-29 20:24:52 -04:00
Joel Bender
99cb079492 check the instance number and add a test for it 2016-04-29 20:23:59 -04:00
Joel Bender
7703588ffc pull in issue-45 2016-02-25 01:08:26 -05:00
Joel Bender
f9bb7153df trap lots of decoding errors and turn them into invalid tags 2016-02-25 00:44:17 -05:00
Joel Bender
e6aa4d76be fine tune exceptions raised during decoding 2016-02-25 00:43:25 -05:00
Joel Bender
47ee484d94 trap reject and abort exceptions and turn them into response PDUs 2016-02-25 00:42:30 -05:00
Joel Bender
e6dc749ab9 add more parameter checking to Who-Is execution 2016-02-25 00:41:06 -05:00
Joel Bender
55418c0ef6 make sure all the tags have been consumed or reject it 2016-02-25 00:39:31 -05:00
Joel Bender
48342e0bec closes #66 2016-02-21 14:36:05 -05:00
Joel Bender
aee6c9736e wrong class in debugging statement 2016-02-13 16:15:00 -05:00
Joel Bender
b13d65bbf2 simplify the platform check and add a warning 2016-02-04 14:48:35 -05:00
Joel Bender
f22f345a1d minor debugging 2016-01-31 01:43:21 -05:00
Joel Bender
8e1e2b2cd6 bind the device object to this application 2016-01-31 01:41:56 -05:00
Joel Bender
04a77cbd96 sync the changes from py27 to the others 2016-01-30 14:05:33 -05:00
Joel Bender
c11dec9ca5 defer the call to stop because it may be called before run, depending on threading 2016-01-29 15:29:30 -05:00
Joel Bender
cc3f4babc3 update from previous commits 2016-01-29 15:27:58 -05:00
Joel Bender
e41142a79d reduce the clutter in the debug output of objects 2016-01-29 02:10:48 -05:00
Joel Bender
67ca3d48a2 when the application sends a confirmed service downstream without an invoke ID, give it the one assigned by the lower layers of the stack 2016-01-29 02:10:05 -05:00
Joel Bender
7e0b3a627a rip out the allow_exec from consolecmd with extreme prejudice 2016-01-28 15:10:35 -05:00
Joel Bender
f4afe0ce19 check to see if the application is running interactively (using isatty) and be a little quieter 2016-01-28 14:13:28 -05:00
Joel Bender
461f1f79f6 bring samples branch up-to-date with stage 2016-01-27 16:55:53 -05:00
Joel Bender
214e8b97ee update tcp contents from strings to bytes, add some debugging to find the problem, changed internal 'Chop' function to 'chop' 2016-01-23 21:27:37 -05:00
Joel Bender
36a2aa754a match darwin as well as linux for triggers, which fixes a really irritating bug in MacOS that kept applications from quitting correctly and they would have to be killed 2016-01-23 21:22:21 -05:00
Joel Bender
b065f5fb24 minor debugging addition 2016-01-23 21:20:23 -05:00
Joel Bender
1bcb93ba3d minor debugging addition 2016-01-23 21:19:31 -05:00
Joel Bender
a2fe66ad00 hooks in the application to set/clear the _app value in the object 2016-01-23 21:18:34 -05:00
Joel Bender
da161c0203 objects get a new attribute that references the application stack they belong to 2016-01-23 21:17:18 -05:00
Joel Bender
96fb40ee8a the issueConfirmedNotifications and lifetime are optional 2016-01-23 21:12:35 -05:00
Joel Bender
ac4cb8bd99 patch for #65 2015-12-16 14:34:22 -05:00
Joel Bender
539e199470 mini-language parser to create tag lists 2015-11-18 01:48:22 -05:00
Joel Bender
1bd0fb4a23 more type checking for writing property values when using WriteProperty(), and fewer when setting them directly using 'obj.prop = value' in applications 2015-11-03 22:48:05 -05:00
Joel Bender
06fb7a87a2 add the is_valid static method to the atomic types (and the experimental coerce class method) 2015-11-03 22:45:08 -05:00
Joel Bender
21c819af72 merging issue-63 (#63) into stage, checking on a routing problem (issue not created yet) 2015-11-02 15:27:29 -05:00
Joel Bender
a85f67699b synchronize changes with other versions 2015-10-28 22:13:16 -04:00
Joel Bender
412f1da368 unpack addresses coming downstream rather than assuming they have been created as IP addresses 2015-10-20 16:54:52 -04:00
Joel Bender
b1ed353950 fix the _barf class to eat any __init__() parameters 2015-09-29 19:50:18 -04:00
Joel Bender
5e9f5ea693 a little more debugging, starting on the next layer 2015-09-28 20:51:31 -04:00
Joel Bender
535f420d94 raise the new InvalidTag exception in the decode() functions of the primitive data types 2015-09-25 22:25:20 -04:00
Joel Bender
a344b188c2 first add the classes to the errors module 2015-09-21 22:42:48 -04:00
Joel Bender
4c45c8d70a rather than installing the task, ask the task to install itself 2015-09-17 09:49:06 -04:00
Joel Bender
c63f0d4996 add some debugging 2015-09-16 22:30:30 -04:00
Joel Bender
da236c0486 add get_services_supported() function 2015-09-15 00:35:51 -04:00
Joel Bender
e4a89fa574 add the 'writeGroup' services supported enumeration 2015-09-14 23:39:57 -04:00
Joel Bender
305bf298b7 remove the registration of AuthenticateRequest, AuthenticateACK, and RequestKeyRequest (but leave the definitions, just in case), add the 'writeGroup' services supported enumeration, expand the service choice enumerations rather than leaving them to be expanded on demand 2015-09-14 23:38:17 -04:00
Joel Bender
dec01bcdab more error checking - see issue #57 2015-09-07 22:08:56 -04:00
Joel Bender
ccd7558476 slightly more restrictive month test, disallow '00' 2015-09-07 21:58:38 -04:00
Joel Bender
72fdddaf33 double check day-of-week value, even though it shouldn't match 2015-09-07 21:55:21 -04:00
Joel Bender
1d9ea1bc73 allow explicit 255 for day 2015-09-07 21:26:07 -04:00
Joel Bender
0b94ac7d80 allow explicit 255 for month 2015-09-07 21:23:27 -04:00
Joel Bender
f8a9ee5bd6 check for a valid year, raise ValueError for invalid days and months 2015-09-07 21:20:10 -04:00
Joel Bender
0a40541576 manually merge in the appropriate differences between issue-38 and issue-48 2015-09-06 00:46:59 -04:00
Joel Bender
b5d2b56191 make the str() of a CharacterString more closely match an OctetString because the strValue is an octet string 2015-09-05 23:56:56 -04:00
Joel Bender
b468f724b8 manually merge in fixes already in stage 2015-09-05 23:24:33 -04:00
Joel Bender
d6c5a4c8e5 fixed the type test in py25 and py27 2015-08-20 23:18:25 -04:00
Joel Bender
11caa8a18a add __lt__ function to make tasks orderable (so heappush is happy in py34), update metaclass syntax in py34 singleton 2015-08-09 23:26:03 -04:00
Joel Bender
bbcf3c2bc0 synchronize task changes with other sources 2015-08-09 22:09:11 -04:00
Joel Bender
9300a483d1 still working time machine simulator 2015-08-07 17:02:31 -04:00
Joel Bender
9e72caa716 shuffling test components around, adding additional state machine tests 2015-08-06 23:45:03 -04:00
Joel Bender
181e224ae0 a little better parameter type checking, a lot more tests 2015-08-03 14:29:58 -04:00
Joel Bender
4570f1dbfc merge resolved - testing in wrong branch 2015-08-03 01:03:17 -04:00
Joel Bender
7f80cc43d8 merge resolved 2015-08-03 00:52:23 -04:00
Joel Bender
9c8ec37938 change all the signed octet pack/unpack to unsigned 2015-08-02 23:12:58 -04:00
Joel Bender
85a8ce9558 fixes #10 2015-08-02 22:17:11 -04:00
Joel Bender
fdfcf23fbf message type field is unsigned 2015-07-31 22:42:21 -04:00
Joel Bender
263853760c backport changes to py25 and py27 2015-07-31 21:42:42 -04:00
Joel Bender
37ae6d00f6 working on issue 5 2015-07-30 23:16:55 -04:00
Joel Bender
fb192ea623 fixes #4 2015-07-23 13:44:19 -04:00
Joel Bender
e7d315ef8b in theory fixes #3 2015-07-23 02:42:17 -04:00
Joel Bender
1305d12017 remove flakes 2015-07-17 09:45:39 -04:00
Joel Bender
f0af96c55b remove flakes 2015-07-17 09:24:05 -04:00
Joel Bender
4a7870ae12 removing flakes 2015-07-16 17:01:44 -04:00
Joel Bender
72ff10a79e removing flakes 2015-07-16 16:53:21 -04:00
Joel Bender
946ea12701 removing flakes 2015-07-16 16:40:47 -04:00
Joel Bender
4b2715d173 bring the object definitions up to date 2015-07-16 12:35:01 -04:00
Joel Bender
adb085b4a9 missing tuple element selection after unpack 2015-07-16 10:33:35 -04:00
Joel Bender
b4594bfad2 silly spelling error 2015-07-16 08:18:06 -04:00
Joel Bender
19949b9cc2 test files, should not have been added 2015-07-16 07:32:23 -04:00
Joel Bender
ac064581f3 starting py25, syncing some py27 and py34 changes 2015-07-15 22:24:07 -04:00
Joel Bender
2a63f9a25d initial commit 2015-07-15 16:51:27 -04:00