Lazzzorauth: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(Protocols)
(Protocols)
Zeile 42: Zeile 42:
 
|style="border:1px dotted lightgray; text-align:center;"| IButton scanned
 
|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; 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;"| X

Version vom 13. August 2012, 17:18 Uhr

Hardware

Consists of:

- Raspberry Pi
- Arduino
- 16x2 LCD
- OneWire (iButton suport)
- 3 Leds for status indication
- 1 Button
- a 6-Port Network Switch

Software

Occidentalis 0.1 (RaspberryPI distro from Adafruit) Node.js Arduino code


How

Hardware documentation

  • tbd (how is everything connected)

Software documentation

  • tbd (pitfalls, config, buildprocess)

Protocols

Arduino SENDS:


Code Parameter Expected reply What does it mean Example
I <iButton ID> A, N IButton scanned I:33-000000000000
X NONE O Lazzzor shutdown button hit (eXit) X


Raspberry sends:


Code Parameter Expected reply What does it mean Example
A <username> NONE Authenticated A:overflo
N NONE NONE Not authenticated (invalid Button) N
O NONE NONE Off (in response to X) O