class Twib::Interfaces::ITwibMetaInterface

Exposed by twibd

Public Instance Methods

list_devices() click to toggle source

Lists devices known to twibd. @return [Array<Hash>]

# File lib/twib/interfaces/ITwibMetaInterface.rb, line 16
def list_devices
  response = send(Command::LIST_DEVICES).wait_ok.payload
  size = response.unpack("Q<")[0]
  MessagePack.unpack(response[8, size])
end