6 Commits

Author SHA1 Message Date
Enrico Faulhaber
4b0388d21b use per instance copies of PARAMS
allowing more than one device per class

Change-Id: I9deabd38c8ca221c4ac416a2dfcc9a5ad4b73148
2016-08-31 11:45:56 +02:00
Enrico Faulhaber
c964a9a2ec apply validators to before calling write_func
Change-Id: I98f9c1eff4d2e236738f759cdc4a431f98a38bed
2016-08-31 11:02:08 +02:00
Enrico Faulhaber
8c825a93ed Implement a variant of the Demo protocol from Markus
include LOTs of bugfixes as well

todo: documentation!

Change-Id: I52252ade34966d24990afd9672f38049882c3199
2016-08-31 08:28:51 +02:00
Alexander Lenz
e0bf201b48 Improvements.
Change-Id: I773b69e72b7167292dbe0ec751039f15e76523a5
2016-08-04 15:42:00 +02:00
Enrico Faulhaber
c11bca3c37 rework on transport (encoding/framing) and dispatcher
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
2016-06-29 18:14:55 +02:00
Enrico Faulhaber
d3c430e1b9 Devices infrastructure and minimal server
starts and creates (server-side) devices
no daemonizing and servicing yet

hint: try starting:
$ bin/server.py -v start

Change-Id: I6ac7a78dfff309a459cc0338a8d0d319ee72ada5
2016-06-22 17:21:18 +02:00