Coder Social home page Coder Social logo

unity.pinpassword's Introduction

AET.Unity.PinPassword

Crestron Module For Handling PIN Security

It allows changing of PINs too, and stores PINs in .json file on the processor.

To use, download the latest demo: AET Unity Pin Password Demo_compiled.zip

Inputs

  • Init: Loads config file holding PINs and does other minor setup. Must be run before first use.

  • Press_Digit[1]-[10]: For entering PINs. IMPORTANT: [10] is actually the number [0]. When the number of digits pressed = Pin_Length it automatically verifies the PIN (Unless in Change_Pin mode when it's necessary to hit "Save")

  • Backspace: For making corrections when entering PINs.

  • Clear: Clears the pin being entered, cancels out of Change_Pin mode.

  • Change_Pin[1-10]: Enters change mode for a particular PIN. Enter the desired digits, and hit Save.

  • Delete: Deletes the PIN being changed (see Change_Pin[]).

  • Save: Saves the PIN being changed (see Change_Pin[]).

Outputs

  • Valid_Pin_Entered: Pulses when any valid PIN is entered, including Backdoor,
  • Invalid_Pin_Entered: Pulses when any invalid PIN is entered.
  • Change_Pin_Success: Pulses when a PIN is successfully changed/saved.
  • Change_Pin_Cancelled: Pulses when cancelling out of Change_Pin mode without saving.
  • Backdoor_Pin_Entered: Pulses when the backdoor PIN is entered.
  • Pin_Entered[1]-[10]: Pulses when the corresponding PIN is entered.
  • Change_Pin_F[1]-[10]: High when the corresponding PIN is being changed.
  • Change_Pin_Active: High when any PIN is being changed.
  • Change_Pin_Inactive: High when no PINs are being changed.
  • Pin_Display: Displays the PIN as stars you enter it. If Reveal_Pin is high, displays actual numbers of PIN.
  • Message: Displays various status messages.

Parameters

  • Pin_Length: All PINs should be this length exactly.
  • Backdoor_Pin: For dealer or backdoor use.
  • File_Path: Location to store PINS config file. If multiple AET Pin modules are used in one program, each must use a separate config file name.

Licensing and Support

Module by Tony Evert and is licensed Apache License 2.0. I'm happy to offer paid support, custom modifications, and Crestron programming to assist you in any way needed. Contact me via http://iconsultants.net

Source

Full source is available here on GitHub to allow you to make any desired modifications. If you feel your modification would be of general interest, please clone this repository and issue a pull request. Thanks!

Referenced libraries:

unity.pinpassword's People

Contributors

tony722 avatar

Watchers

 avatar

unity.pinpassword's Issues

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.