class Juniper::MistLocationService
- Juniper::MistLocationService
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::Locatable
Defined in:
juniper/mist_location_service.crClass Method Summary
Instance Method Summary
-
#check_ownership_of(mac_address : String) : OwnershipMAC | Nil
return
nil
or{"location": "wireless", "assigned_to": "bob123", "mac_address": "abcd"}
-
#device_locations(zone_id : String, location : String | Nil = nil)
array of devices and their x, y coordinates
- #format_mac(address : String)
-
#locate_user(email : String | Nil = nil, username : String | Nil = nil)
array of devices and their x, y coordinates, that are associated with this user
-
#mac_address_mappings(username : String, macs : Array(String), domain : String = "")
Proxies the data to the mist driver
-
#macs_assigned_to(email : String | Nil = nil, username : String | Nil = nil) : Array(String)
return an array of MAC address strings lowercase with no seperation characters abcdeffd1234 etc
- #on_load
- #on_update
Class Method Detail
Instance Method Detail
def check_ownership_of(mac_address : String) : OwnershipMAC | Nil
#
return nil
or {"location": "wireless", "assigned_to": "bob123", "mac_address": "abcd"}
def device_locations(zone_id : String, location : String | Nil = nil)
#
array of devices and their x, y coordinates
array of devices and their x, y coordinates, that are associated with this user
def mac_address_mappings(username : String, macs : Array(String), domain : String = "")
#
Proxies the data to the mist driver
return an array of MAC address strings lowercase with no seperation characters abcdeffd1234 etc