
put encoders and framers into their own files. also rework messages and dispatcher make tcpserver functional FIRST WORKING VERSION! (no daemon mode yet, sorry) start bin/server.py, connect a terminal to localhost:10767 and press enter.... note: not all requests are bug free yet, ListDevicesRequest() works Change-Id: I46d6e469bca32fc53057d64ff48cce4f41ea12ea
19 lines
237 B
INI
19 lines
237 B
INI
[server]
|
|
bindto=localhost
|
|
bindport=10767
|
|
interface = tcp
|
|
framing=eol
|
|
encoding=text
|
|
|
|
[device LN2]
|
|
class=devices.test.LN2
|
|
|
|
[device heater]
|
|
class=devices.test.Heater
|
|
maxheaterpower=10
|
|
|
|
[device T1]
|
|
class=devices.test.Temp
|
|
sensor="X34598T7"
|
|
|