Zum Inhalt springen

Laser/Lazzzorauth: Unterschied zwischen den Versionen

Overflo (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „== Hardware == Consists of: - Raspberry Pi - Arduino - 16x2 LCD - OneWire (iButton suport) - 3 Leds for status indication - 1 Button - a 6-Port Networ…“
 
Overflo (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 26: Zeile 26:
* tbd (pitfalls, config, buildprocess)
* tbd (pitfalls, config, buildprocess)


== Reference ==
== Protocols ==
Arduino SENDS:
 
 
{|
!align ="left" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"|<small>Code</small>
!width="40" align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Parameter<small>
!width="40" align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Expected reply<small>
!width="40" align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>What does it mean<small>
!width="40" align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Example<small>
|-
|style="border:1px dotted lightgray;"| I
|style="border:1px dotted lightgray; text-align:center;"|<iButton ID>
|style="border:1px dotted lightgray; text-align:center;"| A, N
|style="border:1px dotted lightgray; text-align:center;"| IButton scanned
|style="border:1px dotted lightgray; text-align:center;"| I:33-000000000000
|-
|style="border:1px dotted lightgray;"| N
|style="border:1px dotted lightgray; text-align:center;"| NONE
|style="border:1px dotted lightgray; text-align:center;"| NONE
|style="border:1px dotted lightgray; text-align:center;"| Not authenticated (invalid Button)
|style="border:1px dotted lightgray; text-align:center;"| N
|-
|style="border:1px dotted lightgray;"| X
|style="border:1px dotted lightgray; text-align:center;"| NONE
|style="border:1px dotted lightgray; text-align:center;"| O
|style="border:1px dotted lightgray; text-align:center;"| Lazzzor shutdown button hit (eXit)
|style="border:1px dotted lightgray; text-align:center;"| X
 
|}
 
 
 
Raspberry sends:
 
 
{|
!align ="left" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"|<small>Code</small>
!width="40" align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Parameter<small>
!width="40" align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Expected reply<small>
!width="40" align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>What does it mean<small>
!width="40" align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Example<small>
|-
|style="border:1px dotted lightgray;"| A
|style="border:1px dotted lightgray; text-align:center;"|<username>
|style="border:1px dotted lightgray; text-align:center;"| NONE
|style="border:1px dotted lightgray; text-align:center;"| Authenticated
|style="border:1px dotted lightgray; text-align:center;"| A:overflo
|-
|style="border:1px dotted lightgray;"| N
|style="border:1px dotted lightgray; text-align:center;"| NONE
|style="border:1px dotted lightgray; text-align:center;"| NONE
|style="border:1px dotted lightgray; text-align:center;"| Not authenticated (invalid Button)
|style="border:1px dotted lightgray; text-align:center;"| N
|-
|style="border:1px dotted lightgray;"| O
|style="border:1px dotted lightgray; text-align:center;"| NONE
|style="border:1px dotted lightgray; text-align:center;"| NONE
|style="border:1px dotted lightgray; text-align:center;"| Off (in response to X)
|style="border:1px dotted lightgray; text-align:center;"| O
 
|}