class EmuPower::Notifications::NetworkInfo
Attributes
channel[RW]
coordinator_mac[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 161 def build(hash) self.coordinator_mac = parse_hex('CoordMacId') 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