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

153 Commits

Author SHA1 Message Date
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
Joel Bender
49708f16d5 clean up samples (remove flakes, etc.) 2016-08-24 09:44:56 -04:00
Joel Bender
fc68039156 enable sleeping for all of the applications that have a ConsoleCmd, which runs in a thread 2016-08-23 17:08:11 -04:00
Joel Bender
5b448d860c use utf-8 encoding for records, they are octet strings, not character strings 2016-08-23 16:16:01 -04:00
Joel Bender
b4e13671db optionally get configuration values from the environment, add some debugging 2016-08-23 10:27:17 -04:00
Joel Bender
168e32fc79 merge in stage to bring branch up-to-date for testing 2016-08-22 00:03:53 -04:00
Joel Bender
e624d40fb3 add the 'rtn' command which provides a static address the network layer 2016-06-29 09:42:52 -04:00
Joel Bender
4e92e6908f unwrap try/except clause and put in a main() 2016-06-23 16:01:42 -04:00
Joel Bender
210e7df06e adjstable record length, number of records, and stream size 2016-06-21 07:32:38 -04:00
Joel Bender
cd2246c228 finish the conversion from py25 to py27 in #75 by using decorators 2016-04-30 17:07:58 -04:00
Christian Tremblay
95baeda3d4 Syntax correction
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
2016-03-13 22:23:59 -04:00
Joel Bender
749b934f4e identical to the regular sample, this one registers as a foreign device 2016-02-10 13:55:35 -05:00
Joel Bender
ccdd0aabbb sample that puts up a prompt as a starting point for other apps 2016-02-02 14:52:07 -05:00
Joel Bender
5c13bdd658 resolve name collisions, active COV subscriptions implementation in device 2016-01-31 01:45:26 -05:00
Joel Bender
a9c7c83a98 make application a little more generic by testing more than one object at a time, be more flexible with set/write commands and the values they accept 2016-01-30 16:31:24 -05:00
Joel Bender
a679dc8b1d new change-of-value sample applications 2016-01-29 08:12:24 -05:00
Joel Bender
df21d273ab clean up some documentation 2016-01-27 17:02:06 -05:00
Joel Bender
461f1f79f6 bring samples branch up-to-date with stage 2016-01-27 16:55:53 -05:00
Joel Bender
66918a693b rather than using Address() for decoding, parse the destination address to allow for easier specification of port numbers 2016-01-17 23:13:59 -05:00
Joel Bender
ddb076f7f8 additional sample 2015-12-16 14:25:21 -05:00
Joel Bender
7fbe566d8a new sample for testing routing on top of a BBMD 2015-11-02 15:37:13 -05:00
Joel Bender
1f78a4b749 added a command to give the network service access point a routing table entry it wouldn't ordinarily be able to discover 2015-11-02 15:27:34 -05:00
Joel Bender
baa28cc8c0 merging in from stage to continue 2015-09-29 19:39:27 -04:00
Joel Bender
1343382d5b use the get_services_supported() function 2015-09-16 22:31:51 -04:00
Joel Bender
cb47cd6639 this example doesn't need a configuration file 2015-09-16 22:28:13 -04:00
Joel Bender
c05f9c1aab update exception catching syntax 2015-09-16 14:49:14 -04:00
Joel Bender
b54610f099 use the new function to compute protocol services supported rather than building one 2015-09-15 00:37:19 -04:00
Joel Bender
482f4ec4a6 sample application uses UTF-8 encoding of strings 2015-09-14 16:47:08 -04:00
Joel Bender
f1c8d09ef1 sample application to test address patterns and related sockets 2015-09-13 23:22:28 -04:00
Joel Bender
d4d94f51e2 merge samples, some might need some work 2015-09-08 21:24:23 -04:00
Joel Bender
67cbeb887f minor doc string update 2015-09-08 16:25:52 -04:00
Joel Bender
710d5fecd2 silly, print needs to be called to get a blank line 2015-09-08 14:50:55 -04:00
Joel Bender
ded4df4033 sample application that tests string patterns for Date() 2015-09-07 22:16:36 -04:00
Joel Bender
703f1b06da new sample code, seems to work 2015-08-25 23:06:52 -04:00