Mercurial > ~darius > hgwebdir.cgi > ZigBee
comparison zbmux.tac @ 23:08535b12504f
Add 3rd module (should be a config file)
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Tue, 16 Apr 2013 08:15:09 +0930 |
parents | c26eaa20b70d |
children |
comparison
equal
deleted
inserted
replaced
22:c26eaa20b70d | 23:08535b12504f |
---|---|
41 | 41 |
42 portname = '/dev/cuaU0' | 42 portname = '/dev/cuaU0' |
43 baudrate = 38400 | 43 baudrate = 38400 |
44 lognamebase = '/home/darius/projects/ZigBee/zbmux-%d.log' | 44 lognamebase = '/home/darius/projects/ZigBee/zbmux-%d.log' |
45 baseport = 1080 | 45 baseport = 1080 |
46 zbids = [1, 2] | 46 zbids = [1, 2, 3] |
47 | 47 |
48 class ZBClient(insults.TerminalProtocol): | 48 class ZBClient(insults.TerminalProtocol): |
49 """Client for the TCP connection""" | 49 """Client for the TCP connection""" |
50 #: Time to wait before sending pending data (seconds) | 50 #: Time to wait before sending pending data (seconds) |
51 QUEUE_TIME = 0.1 | 51 QUEUE_TIME = 0.1 |