class EmuPower::Notifications::ConnectionStatus
Attributes
channel[RW]
description[RW]
link_strength[RW]
pan_id[RW]
short_address[RW]
status[RW]
Public Instance Methods
build(hash)
click to toggle source
# File lib/emu_power/notifications.rb, line 182 def build(hash) self.status = hash['Status'] self.description = hash['Description'] self.pan_id = hash['ExtPanId'] self.channel = hash['Channel'] self.short_address = hash['ShortAddr'] self.link_strength = parse_hex('LinkStrength') end