Class AlienReader
In: alienreader.rb
Parent: AlienConnection

Methods

alien_tag_list   blinkled   gpio   gpio=   new   service   upgradenow  

Public Class methods

call the AlienConnection initializer and build lots of the Getters/Setters from a reader methods file. Default value for the methods file will be the file, readermethods.txt found in the same directory as this file, alienreader.rb.

Public Instance methods

Makes the reader blink its LEDs. blinkled is a more complicated function call than an attribute. We just put the method in here rather than try to generate it dynamically.

Returns the state of the reader‘s external inputs

Sets reader‘s external outputs

Executes the Alien UpgradeNow command. The opts parameter correspondst to the standard values passed to the UpgradeNow command. For example

 rdr.upgradenow("force http://server.ip/firmware")

[Validate]