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

216 Commits

Author SHA1 Message Date
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
b1fc637193 wrong function name 2017-06-26 13:54:18 -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
47cdd325cf add offset to recurring tasks, closes #126 2017-05-02 10:21:41 -04:00
Joel Bender
9fe732c9ca minor version number change because API changed 2017-05-01 00:50:59 -04:00
Joel Bender
b1c86795c4 protect against attempting to install signal handlers on a non-main thread (see #119) 2017-04-30 23:37:19 -04:00
Joel Bender
e491f44610 merging fix and api changes for #125 2017-04-30 23:24:04 -04:00
Joel Bender
9b68c2f7be sync up the changes between the py27 and py34 versions 2017-04-28 15:29:03 -04:00
Joel Bender
547f1216a2 debugging updates 2017-04-28 15:20:35 -04:00
Joel Bender
7a141ce644 various cleanup 2017-04-28 15:13:56 -04:00
Joel Bender
6aa6330c85 handle_error may or may not close the connection, don't force it closed in handle_write_event 2017-04-27 11:36:18 -04:00
Joel Bender
91925d0b54 update timeouts and connection logic 2017-04-27 01:55:43 -04:00
Joel Bender
01e71921ed remove error check, fix names #124 2017-04-21 23:11:59 -04:00
Joel Bender
32db81ed88 update bit string lenghts, closes #121 2017-04-07 19:01:31 -04:00
Joel Bender
e24ddfb4d6 bump the version for the next release 2017-03-27 23:19:13 -04:00
Joel Bender
9cbebd9a91 merge #112 to be released 2017-03-25 22:29:23 -04:00
Joel Bender
89dc240701 bringing doc branch up to date 2017-03-25 00:24:27 -04:00
Joel Bender
8b95e65901 bump the version for the next release 2017-03-25 00:15:49 -04:00
Joel Bender
856cad7a7b bring the branch for #110 up to date with stage 2017-03-23 23:19:58 -04:00
Joel Bender
3d350f6f00 merge #109 with new sample 2017-03-23 23:01:09 -04:00
Joel Bender
a313546196 merge #111 2017-03-23 22:52:29 -04:00
Joel Bender
8745ba80da merging #105 for next release 2017-03-23 22:31:34 -04:00
Joel Bender
96d26a23a7 unpack an address tuple from the destination #114 2017-03-23 15:34:42 -04:00
Joel Bender
d7d096ec47 add sigterm and sigusr1 parameters to run, move the stop() and print_stack() functions up, remove code attaching signal handlers at import time 2017-03-21 10:01:45 -04:00
Joel Bender
3be5db8423 patch provided in #111 2017-03-15 01:00:45 -04:00
Joel Bender
54d0f4430b handle no broadcast available in interface (loopback) 2017-03-10 00:41:06 -05:00
Joel Bender
ec01d22eae first crack at supporting interface names 2017-03-10 00:39:35 -05:00
Joel Bender
8db3db25cf propagate the device information cache in the BIPForeignApplication like it does in the BIPSimpleApplication, should fix #109 2017-03-09 11:22:07 -05:00
Joel Bender
f2c7d3fe47 bringing branch up-to-date with stage 2017-03-07 18:11:50 -05:00
Joel Bender
363f61242c merging issue branch, closes #107 2017-03-07 17:55:19 -05:00
Joel Bender
66c4eebf55 add the close_socket() function requested in #107 2017-03-03 23:43:05 -05:00
Joel Bender
afcda0d730 weird character snuck in via copy/paste 2017-02-28 10:55:34 -05:00
Joel Bender
49c50f5bd0 additional units submitted in #106 2017-02-27 21:59:11 -05:00
Joel Bender
c795e3b0f0 wrong syntax 2017-02-27 21:35:03 -05:00
Joel Bender
7e544ec637 trap invlid tag in sub-elements, needs testing 2017-02-27 21:24:39 -05:00
Joel Bender
e75257c7d0 allow the INI file name to be specified in the environment 2017-02-24 09:40:00 -05:00
Joel Bender
f6a235d4b1 wrong abort function name (old code hotfix) 2017-02-21 23:39:55 -05:00
Joel Bender
132820c66d wrong abort function name (old code hotfix) 2017-02-21 23:30:57 -05:00
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