class Juniper::MistLocationService

Included Modules

Defined in:

juniper/mist_location_service.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def check_ownership_of(mac_address : String) : OwnershipMAC | Nil #

return nil or {"location": "wireless", "assigned_to": "bob123", "mac_address": "abcd"}


[View source]
def device_locations(zone_id : String, location : String | Nil = nil) #

array of devices and their x, y coordinates


[View source]
def format_mac(address : String) #

[View source]
def locate_user(email : String | Nil = nil, username : String | Nil = nil) #

array of devices and their x, y coordinates, that are associated with this user


[View source]
def mac_address_mappings(username : String, macs : Array(String), domain : String = "") #

Proxies the data to the mist driver


[View source]
def 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


[View source]
def on_update #

[View source]