dorc

command
v0.0.0-...-435f704 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2015 License: MIT Imports: 9 Imported by: 0

README

Dorp Client

Configuration

Dorp is configured using a toml file. It should look something like

server = "k2cc.clarkson.edu"
port = 13699
key = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
doorPin = 17
lightPin = 16

server should be the server and port the dorp server is running on.

key and should be a pre-shared key. key must be 32 bytes long.

doorPin and lightPin should be set to the bcm2835 pin number, not the physical pin number. For example, physical pin 19 is bcm2835 pin 10 and should be pin 10 in the configuration.

See here for more details on physical->bcm2835 number mapping.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL