Beleuchtetes Fassadenschild: Unterschied zwischen den Versionen

update protocol to what is actually used
(botschafts definition)
(update protocol to what is actually used)
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Adressraum: 0x00010100 bis 0x000101FF
 
{| class="wikitable"
from device:
! Name
'''0x00010100:''' heardbeat (ever second)
! ID
byte[0]: Leuchtmuster
! Source
 
! Content
'''0x00010101-0x0001010F:''' ''reserviert, zeige farbinhalt des schilds''
! Länge
unbenutzt
! Kommentar
 
|-
to device:
| heartbeat || 0x00101000 || Schild ||
'''0x00010111:''' select mode
[time since boot msec(32bit BE)][0(8bit)][time to sleep sec(8bit)][0(8bit)][mode(8bit)]
byte[0]: gewuenschtes leuchtmuster(id)
|| 8 byte || sent every second
 
|-
'''0x00010113:''' ''reserved for controlling individual LEDs''
| set pattern || 0x00101011 || Other || [patternId(8bit)] || 1 byte || select the pattern the display should show
undefiniert
|-
 
| time to sleep|| 0x00101030 || Other || [time in seconds(16bit BE)]|| 3 bytes || set countdown to standby mode
'''0x00010120:''' ''reserved for requesting display content''
|-
undefiniert
| reset || 0x00101FFF || Other || || 0 bytes || reset um in den bootloader zu kommen
 
|-
'''0x00010130:''' set remaining time to stay awake
|}
byte[0]: sekunden bis shutdown(lowByte)
byte[1]: sekunden bis shutdown(lowByte)
byte[2]: gewuenschtes leuchtmuster (id)
 
'''0x000101FF:''' soft-reset
 
 
==Verantwortlich==
 
[[Category:Projekt]]
{{Abgeschlossen}}
861

Bearbeitungen