blob: 281c5d42451359dbb2660a67df837f5416bf08a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
This software is intended to run on the moodlamp by
muccc. (http://wiki.muc.ccc.de/moodlamp)
Currenty (and for the foreseeable future) it is very
concerning features. However, it will hopefully have
a better documented protocol and run more stable.
A more precise protocol description will follow at some
point, also, the protocol will probably change until
there is a real spec.
Commands are line based and end with \r or \n or both.
The only real command is 'iRRGGBB' - it sets the LED
to the given color immediately, where RR, GG and BB are
hex numbers between 00 and ff.
Also, there is q. This turns on verbose mode. Right now,
this means, the moodlamp will echo what is entered
and acknowledge commands. In a future version, verbose
mode will probably be default and applications should
take care to turn it off if they generate bulk traffic.
I know this could be much better, but I am not in the
mood to think about the right solution for this here
and now.
If a command was not unerstood, a single question mark is
printed.
|