Giter Club home page Giter Club logo

door_refactor's Introduction

Commands should be CRLF terminated (code checks for LF, a CR in there doesn't seem to have an effect)
All responses are CRLF terminated (\r\n) (per Arduino Serial.println())

door controller command inputs:
	D1U | D2U == unlock door 1 or 2
	D1L | D2L == lock door 1 or 2
	ST == get door status and timestamp
	SDyymmddwhhnnss == set RTC date/time
		yy == 2-digit year (yes, I know...)
		mm == month
		dd == date
		 w == day of week (1-7, starts on Sunday)
		hh == hour (24-hour clock)
		nn == minutes
		ss == seconds
	GT == get RTC time
	DxPy == response from tag query (x=door number, y=tag priority from DB)


door controller responses:
	<ID><command> where:
		ID == [R1 | R2] (keypad ID)
		commands:
			Cn == keypress (n=digits entered, ENT sends; a bare ENT is sent as C0; ESC does not send and clears buffer)
			Tn == tag number (leading zeroes stripped, should match number on tag)
	date string (HH:mm:ss d/m/yy DAY)
	STdd [datestring]
		Status: dd == door 1/2 state (0=unlocked, 1=locked)

door_refactor's People

Contributors

vandahm avatar automatingerror avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.