Sha256: fcd31ef8f58363360a12c8fae7c049b221867b6355869236f3a8a348cf9a15b2

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

module Tamashii
  module Type
    # Client Type
    CLIENT = {
      agent: 0,
      checkin: 1,
    }

    # System Action
    POWEROFF = 000
    REBOOT = 001
    RESTART = 002
    UPDATE = 003

    # Authorization Action
    AUTH_TOKEN = 010
    AUTH_RESPONSE = 017

    # Card Reader Action
    RFID_NUMBER = 030
    RFID_DATA = 031
    RFID_RESPONSE_JSON = 036
    RFID_RESPONSE_STRING = 047

    # Buzzer Action
    BUZZER_SOUND = 040
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tamashii-common-0.1.4 lib/tamashii/type.rb
tamashii-common-0.1.3 lib/tamashii/type.rb
tamashii-common-0.1.2 lib/tamashii/type.rb