leosac / access-control

Leosac Access Control - Open Source Physical Access Control System
https://leosac.com
GNU Affero General Public License v3.0
240 stars 40 forks source link

Complete Wiegand Module #39

Closed xaqq closed 9 years ago

xaqq commented 9 years ago

Wiegand module support high and low GPIO pin.

  1. Module code need to accept led and buzzer device too as part of a wiegand device.
  2. Need to define and implements specific wiegand command (that will most likely map to buzzer/led command)

This requires #38 to be completed.

xaqq commented 9 years ago

Current wiegandreader implementation fake the buzzer using a LED device and maps the BEEP command to the ON command of the led. Both command accept a duration, so its fine, for now.

xaqq commented 9 years ago

Commit f4709fc095bdc97e6f8089c5640a29bf87e9395c introduces a FBuzzer class. We use that instead, even though FBuzzer is just a typedef to FLED.