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

186 Commits

Author SHA1 Message Date
Joel Bender
d826f1e8b0 closes #152, with future work needed to help Windows mutli-threaded applications 2017-12-22 10:15:26 -05:00
Joel Bender
c4aca25485 add some docs 2017-12-17 23:09:08 -05:00
Joel Bender
0191fe1564 fix debugging 2017-12-17 17:25:21 -05:00
Joel Bender
3fd5419790 add some AV and BV task and thread options 2017-12-14 10:38:54 -05:00
Joel Bender
84a0e44847 use the new CurrentPropertyListMixIn 2017-12-08 00:00:51 -05:00
Joel Bender
de1d895c87 bring in code from older branch #96 2017-12-06 22:49:46 -05:00
Joel Bender
87514b05c8 sample application to beat on the event message texts of the hacked up ReadPropertyMultipleServer 2017-11-19 18:23:38 -05:00
Joel Bender
f3378ba83c make a writable array of strings just for grins, unrestricted size so this isn't accurate for the standard property 2017-11-19 18:18:48 -05:00
Joel Bender
c91a0d30e8 additional samples 2017-09-30 03:20:41 -04:00
Joel Bender
5cd17080c0 merging #78, ready for release 2017-09-25 21:47:59 -04:00
Joel Bender
230a85b052 additional sample 2017-09-21 14:33:22 -04:00
Joel Bender
961fed7135 additional sample for helping with #140 2017-09-19 21:07:29 -04:00
Joel Bender
c1c4e077ac merge in stuff from stage and retest 2017-09-06 23:07:05 -04:00
Joel Bender
97212596ba fix the status command 2017-09-05 11:44:41 -04:00
Joel Bender
f34de1071b password failure is an execution error, add a password to the test application 2017-08-04 10:16:41 -04:00
Joel Bender
2d3071733a sample application to generate DCC requests 2017-08-04 02:07:14 -04:00
Joel Bender
a538bd7f45 add an option to send a 'hello' message to a client as soon as it connects 2017-05-11 23:45:21 -04:00
Joel Bender
a9256a0f1c RPM services now in object service module 2017-05-08 23:24:42 -04:00
Joel Bender
cced04d5be check for no more clients for del_actor, not every indication 2017-04-27 11:34:42 -04:00
Joel Bender
2e28d3af4d subtle changes to connection logic and renamed timeout pieces 2017-04-26 11:45:54 -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
96ee7f4701 sample application for testing address strings 2017-03-10 00:42:06 -05:00
Joel Bender
d7110ddbb8 foreign version of the same discovery application 2017-03-09 11:18:09 -05:00
Joel Bender
c62477c941 sample application for discovering devices 2017-03-09 10:54:48 -05:00
Joel Bender
9cbb13374e simple threaded HTTP server 2017-02-27 23:25:46 -05:00
Joel Bender
2b18052940 update API 2017-02-14 16:01:42 -05:00
Joel Bender
ef79fad86f make the sample/tutorial code more like regular applications 2016-12-23 11:10:03 -05:00
Joel Bender
7da1b961ff clean up the help text a little 2016-11-30 21:26:50 -05:00
Joel Bender
442e83232c set the remaining samples executable and fix the shebang line for the Python 2.5 samples 2016-11-30 21:08:45 -05:00
Joel Bender
01482493b6 rename the sample to UpperCamelCase match the other samples 2016-11-30 21:04:26 -05:00
Christian Tremblay
ebe2ba5abe Following along the documentation was hard because samples and tutorial files were lost among all samples. I created two folders : Tutorial and HandsOnLab. Tutorial is the folder with the first file someone will look at. The documentation invite the reader to start $python Tutorial/WhoIsIAm.py for example.
When the tutorial is over, the reader will continue with HandsOnLab which contains Samples1,2,3,4

Samples 5 and 14 were removed from the official table of content as they are not completed yet.

All code is tested, files were moved from samples to their folder.

Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-11-17 23:46:52 -05:00
Christian Tremblay
ea8ba99dc5 Revision of sample001.rst
Minor modification to SampleApplication.py
Would benefit from more details about bacpypes_debugging decorator eventually

Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-11-16 22:05:36 -05: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
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
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
da29158e89 update the samples to the cleaned up API 2016-11-10 22:39:47 -05:00
Joel Bender
d092831bdc use the new API in a sample client 2016-11-10 09:06:35 -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
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
23bd198ba5 API update 2016-10-27 15:20:29 -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
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
dd815a3059 bring the branch up to date with the documentation and other changes in the master 2016-09-19 22:10:05 -04:00
Ken Lockhart
a28f8e8fd8 Tutorials: freshen content. Editorial changes. 2016-09-19 15:44:31 -07:00
Joel Bender
aa1ec81643 sync changes, clean up names, more testing 2016-09-17 02:12:14 -04:00
Ken Lockhart
efa796fa08 GettingStart: freshen docs. Fixup sample WhoIsIam. 2016-09-16 15:44:38 -07:00
Joel Bender
a0a7c385dc a little more debug output in the status command 2016-09-16 14:53:05 -04:00
Joel Bender
ca204c1fc3 status command now just prints out active subscriptions 2016-09-16 14:05:55 -04:00
Joel Bender
173495d61b fix the trigger command 2016-09-16 13:57:38 -04:00
Joel Bender
f5dd03c635 rename the client application 2016-09-16 11:34:54 -04:00
Joel Bender
83b0fc4701 put something out on the screen when a notification arrives 2016-09-16 11:33:39 -04:00
Joel Bender
7a52719ec9 simplify the sample server application 2016-09-16 01:35:51 -04:00
Joel Bender
ffb2924adc switch from description to usage to prevent formatting, maybe someday use a custom formatter class 2016-09-14 11:52:25 -04:00
Joel Bender
da885668ca missing global statement 2016-09-13 11:51:40 -04:00
Joel Bender
5fc567d4da merge in the master fix to the BBMD sample 2016-09-12 21:51:11 -04:00
Joel Bender
37709f7a8b sample BBMD hot fix -- put a null client on top of the BBMD 2016-09-12 15:04:14 -04:00
Joel Bender
0e8030caed wrong way to start a thread 2016-09-08 23:41:21 -04:00
Joel Bender
574cd25e20 additional sample 2016-09-08 23:33:20 -04:00
Joel Bender
e13b1f4d04 bring sample application up-to-date with the new API 2016-09-07 00:22:44 -04:00
Joel Bender
dbe61f40f1 bring the additional samples from the master 2016-09-07 00:17:09 -04:00
Joel Bender
37f5e4c781 sample application to write a proprietary value to a proprietary property 2016-09-06 23:56:13 -04:00
Joel Bender
92945f48ed additional BBMD only sample 2016-09-06 23:17:23 -04:00
Joel Bender
0b12a3175e Python 2.5 versions of sample applications 2016-09-03 19:50:00 -04:00
Joel Bender
4faeca0dc6 don't bother saving a copy of the request until the sample is updated to do something with the responses 2016-09-01 23:17:02 -04:00
Joel Bender
a87b5b31c5 minor doc change, pass both do_X functions to parent class 2016-09-01 23:11:54 -04:00
Joel Bender
c48505f6cb update to the device service API functions 2016-09-01 23:10:18 -04:00
Joel Bender
bf41a420a5 minor initialization change 2016-09-01 22:44:49 -04:00
Joel Bender
a93604fe89 update API 2016-09-01 22:27:29 -04:00
Joel Bender
40804b67b5 update to the new IOCB client API 2016-09-01 13:47:00 -04:00
Joel Bender
368dc50852 update to the new IOCB client API and new file services API 2016-09-01 11:46:50 -04:00
Joel Bender
1253fc48e8 move to the IOCB based API, untested because there is no Read Range service support yet 2016-09-01 11:30:39 -04:00
Joel Bender
e58785e740 move to the new IOCB based API 2016-09-01 11:16:59 -04:00
Joel Bender
adb9ffdf46 the accumulator values are no longer really random 2016-09-01 10:24:03 -04:00
Joel Bender
d2c038dfcd initializing the state text uses 'direct' changes to the property value so the appropriate constructed type needs to be provided 2016-09-01 10:14:35 -04:00
Joel Bender
2221ecbb4d change from random values to something closer to counting pulses, includes recurring task 2016-09-01 10:00:51 -04:00
Joel Bender
099823044e add the additional RPM services -- note this is on the fly, not in the original inheritance heirarchy 2016-08-31 11:57:50 -04:00
Joel Bender
975de0f636 applications now have an easier way to synchronize requests and responses 2016-08-31 11:30:02 -04:00
Joel Bender
c530b13880 clean up output 2016-08-31 10:39:11 -04:00
Joel Bender
f0b2d03529 update samples to use services 2016-08-31 10:29:10 -04:00
Joel Bender
4eb58b6238 update samples to use services 2016-08-31 10:27:00 -04:00
Joel Bender
aebc8eb01b remove old sample code 2016-08-30 22:32:39 -04:00
Joel Bender
0fdc4040f4 update to the new framework 2016-08-30 22:28:14 -04:00
Joel Bender
f5212f8bf4 split the import because LocalDeviceObject moved 2016-08-30 16:18:07 -04:00
Joel Bender
1a9f06fd51 many changes 2016-08-30 02:25:32 -04:00
Joel Bender
17160db603 clean up the use of globals in the samples -- some missing, many extraneous 2016-08-25 23:21:24 -04:00
Christian Tremblay
2f8888f644 Solves issue 88
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-08-25 21:10:51 -04:00
Joel Bender
b5e2279105 make the client and server consistent with both using positional arguments, provide the default values for help, default to 'any' for the server (hotfix) 2016-08-25 09:56:09 -04:00