class Floorsense::LocationService
- Floorsense::LocationService
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::Locatable
Defined in:
floorsense/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
- #eui64_to_desk_id(id : String)
- #get_desk_height_sit
- #get_desk_height_stand
- #get_floorsense_user(place_user_id : String) : String
- #get_place_user_id : String
-
#locate_user(email : String | Nil = nil, username : String | Nil = nil)
=================================== Locatable Interface functions ===================================
-
#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
- #set_desk_height_sit(value : UInt32)
- #set_desk_height_stand(value : UInt32)
Class Method Detail
Instance Method Detail
def check_ownership_of(mac_address : String) : OwnershipMAC | Nil
#
Description copied from module PlaceOS::Driver::Interface::Locatable
return nil
or {"location": "wireless", "assigned_to": "bob123", "mac_address": "abcd"}
def device_locations(zone_id : String, location : String | Nil = nil)
#
Description copied from module PlaceOS::Driver::Interface::Locatable
array of devices and their x, y coordinates
Description copied from module PlaceOS::Driver::Interface::Locatable
return an array of MAC address strings lowercase with no seperation characters abcdeffd1234 etc