Mercurial > ~darius > hgwebdir.cgi > ZigBee
comparison zbmux.tac @ 20:7a2ce1c1f176
Move log file into work directory.
author | darius@midget.dons.net.au |
---|---|
date | Sun, 01 Feb 2009 10:31:42 +1030 |
parents | 0baf9538a1b6 |
children | c26eaa20b70d |
comparison
equal
deleted
inserted
replaced
19:b0057548801f | 20:7a2ce1c1f176 |
---|---|
39 from twisted.python import log | 39 from twisted.python import log |
40 import sys, zb, logging, logging.handlers, string | 40 import sys, zb, logging, logging.handlers, string |
41 | 41 |
42 portname = '/dev/cuaU0' | 42 portname = '/dev/cuaU0' |
43 baudrate = 38400 | 43 baudrate = 38400 |
44 lognamebase = '/tmp/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] |
47 | 47 |
48 class ZBClient(insults.TerminalProtocol): | 48 class ZBClient(insults.TerminalProtocol): |
49 """Client for the TCP connection""" | 49 """Client for the TCP connection""" |