class GoBright::LocationService
- GoBright::LocationService
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::Locatable
Defined in:
gobright/location_service.crConstant Summary
-
NO_MATCHES =
[] of String
Class Method Summary
Instance Method Summary
- #building_id : String
- #cache_space_details
-
#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
-
#get_building_id
Finds the building ID for the current location services object
- #level_details : Hash(String, LevelCapacity)
-
#locate_user(email : String | Nil = nil, username : String | Nil = nil)
NOTE : we could keep track of current bookings and then use that information to assign ownership of a desk if the desks are being booked via the check-in/check-out this would allow us to locate
-
#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
- #space_details : Hash(String, Space)
Class Method Detail
Instance Method Detail
return nil
or {"location": "wireless", "assigned_to": "bob123", "mac_address": "abcd"}
array of devices and their x, y coordinates
NOTE : we could keep track of current bookings and then use that information to assign ownership of a desk if the desks are being booked via the check-in/check-out this would allow us to locate
return an array of MAC address strings lowercase with no seperation characters abcdeffd1234 etc