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
437f505ac5
Added documentation badge
...
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-11-15 22:34:37 -05:00
Christian Tremblay
b265525036
Minor modifications and correction to the doc
...
Python 3 byte format used in example (pdu = PDU(b'hello')) for example
I've followed along and ran all the code in those files using Windows and Python 3.4
Everything is working
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-11-15 22:27:18 -05:00
Christian Tremblay
cc7a3888c5
Import correction to the SampleConsoleCmd-A.py
...
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-11-15 22:25:44 -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
50e54899c3
convert to the new API
2016-11-14 22:16:25 -05:00
Joel Bender
dfe1db315a
typo
2016-11-14 21:48:16 -05:00
Joel Bender
b9acbe8e2b
obsolete sample
2016-11-14 21:41:54 -05:00
Joel Bender
ced62d8684
drop the markdown from the doc string
2016-11-14 21:39:47 -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
79a1bee468
update the API, minor latent bugs
2016-11-14 00:22:58 -05:00
Joel Bender
90f5e76f49
minor cleanup
2016-11-14 00:22:16 -05:00
Joel Bender
47c51377cf
update the API, device info needs to span layers
2016-11-14 00:21:34 -05:00
Joel Bender
167b1208f1
update the API, allow it to work with py25
2016-11-14 00:20:43 -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
da29158e89
update the samples to the cleaned up API
2016-11-10 22:39:47 -05:00
Joel Bender
418115fc7a
sync the versions
2016-11-10 22:39:29 -05:00
Joel Bender
d092831bdc
use the new API in a sample client
2016-11-10 09:06:35 -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
95b7719b02
more pesky blanks
2016-11-07 23:42:57 -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
4263b7493a
simple sample applications should run in all versions of Python
2016-11-05 00:18:12 -04:00
Joel Bender
f9d26a2081
wrong except statement syntax
2016-11-05 00:16:22 -04:00
Joel Bender
01720e3e07
typo slipped in
2016-11-05 00:15:14 -04: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
d0fb7c05f3
add a little extra doc strings
2016-11-04 23:56:05 -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
23bd198ba5
API update
2016-10-27 15:20:29 -04:00
Joel Bender
52c84afa58
the getsockopt() function is of the socket
2016-10-27 14:56:22 -04:00
Joel Bender
fd0ca00179
bring the API up to date
2016-10-27 14:55:21 -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
43409f30c5
defer the stop call so it can clean up, add an option to immediately send a 'hello' message
2016-10-26 00:15:04 -04:00
Joel Bender
40a63f9cb6
check for upstream exceptions
2016-10-26 00:05:47 -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
dc7883c67e
doc bits
2016-10-12 23:39:16 -04:00
Joel Bender
bde964e211
clean up the ClientController and write some docs
2016-10-07 15:14:20 -04:00