| service name: |
distance,
contain, subspace,
pinpoint, range,room |
| host name: |
"jch.aura.cs.cmu.edu" |
| port number: |
2002 |
| contact |
Nancy Miller |
| description |
The Space service is dedicated to handle location related queries or
calculations. Currently the following features are supported:
- calculate distance between two locations;
- tell whether one location contains or is within another;
- list all sub/super space of a particular space;
- pinpoint a position in a big coordinate system to a particular room;
- retrieve all spaces within a range to a particular position;
- select a particular type of rooms within a range like "Conference",
"Office", "Lounge" etc.
|
| supported query |
query |
| attributes |
- distance
ali1, ali2, distance
- contain
ali1,ali2,contain
- subspace
super, sub
- pinpoint
ali, space
- range
ali,range,space
- room
name,ali,type
|
| usage example |
- Calculate distance between two locations:
select distance from distance where
ali1="ali://cmu/wean-hall/floor3/3700-corridor/3709" AND
ali2="ali://cmu/wean-hall/floor3/3700-corridor/3718"
- Tell whether one location contains another:
select contain from contain where
ali1="ali://cmu/wean-hall/floor3" AND ali2="ali://cmu/wean-hall/floor3/3700-corridor/3718"
- List all sub spaces of a particular space:
select sub from subspace where
super="ali://cmu/wean-hall/floor3"
- List all super spaces of a particular space:
select super from subspace where
sub="ali://cmu/wean-hall/floor3"
- Pinpoint a coordinate position to a particular room:
select space from pinpoint where
ali="ali://cmu/wean-hall/floor3#(80,65,1)"
select space from pinpoint where
ali="ali://cmu/wean-hall/#(75,75,20)"
- Retrieve all spaces within range of a particular position:
select space from range where
ali="ali://cmu/wean-hall/floor3#(69,69,1)" AND range=10
- Select a particular type of room in a range:
select ali from room where type="Conference" AND ali
within "ali://cmu/wean-hall/floor8"
|
| more information |
(NA)
|
| service name: |
"ApSegService" |
| host name: |
anthurium.aura.cs.cmu.edu |
| port number: |
4400 |
| contact |
Glenn Judd (glennj@cs.cmu.edu) |
| description |
APSegService provides bandwidth related information
about a single cell of the wireless network. This service supports a large
amount of the the contextual service interface functionality.
|
| supported query |
query, postQuery, postModTrigger, postCondTrigger
Note that the "post" functions support arbitrary execIntervals.
However intervals less than 1 second are not advisable |
| attributes |
- mbpsTotal
Total cell traffic in mbps.
- mbpsIn
Traffic incoming from wireless stations in mbps.
- mbpsOut
Traffic outgoing to wireless stations in mbps.
|
| usage example |
- General attribute retrieval
Any combination of the above attributes may be retrieved for a single
AP.
Example: select * where name="weh-7500.wp.net.cmu.edu"
- Access point list
Returns a list of access points tracked by this service.
Example: select name
|
| more information |
(NA) |
| service name: |
"ApDevService" (previously ApSegDevService) |
| host name: |
anthurium.aura.cs.cmu.edu |
| port number: |
4400 |
| contact |
Glenn Judd (glennj@cs.cmu.edu) |
| description |
APSegDevService provides information on the relationships
between access points and devices. The complexity and cost of gathering
this information is large. As a result, this service supports less functionality
than APSegService.
|
| supported query |
query, postQuery.
Note that postQuery currently only supports the default exec interval
(0). |
| attributes |
- apName
The name of the AP for a given cell.
- deviceID
The MAC of the device attached to the given AP.
- deviceIP
The IP of the device attached to the given AP (not always obtainable)
- relation
Provides meta-attributes on the relationship between devices and APs.
The value of this attribute is always null.
|
| usage example |
- List AP devices
Displays all devices in a given cell.
Example: select * where apName="weh-7500.wp.net.cmu.edu"
- Locate device
Finds the last known (not necessarily the current) location of a device.
(Looking at the sample time of the relation attribute can tell you when
this location was last updated.)
Example: select * where deviceID="00:11:22:33:44:55"
- Actively check for current access point, device association
Performs a live check to see if a given device is in a given cell. The
query call will not return until the check has been performed
Example: select * where apName="weh-7500.wp.net.cmu.edu"
and deviceID="00:11:22:33:44:55"
|
| more information |
(NA) |
| service name: |
"printer" |
| host name: |
jch.aura.cs.cmu.edu |
| port number: |
5001 |
| contact |
Nancy Miller |
| description |
Given a mobile user's location, find nearby printers
and their attributes
|
| supported query |
query |
| attributes |
- name
name of the printer
- location (Optional) (NOTE: this attribute appears in selected attributes)
location of the printer
- distance (Optional)
distance from the printer to given user's location
- location (note, this attributes appears in query condition)
given user's location
- radius (Optional)
range of nearby printers to given user's location
|
| usage example |
- Locate printers in the same floor as the the user
Example: select name where location="ali://cmu/wean-hall/floor3#(87,89,1)"
- Locate printers in the same floor and within a range of 15 meters
to the user's location
Example: select name where location="ali://cmu/wean-hall/floor3#(87,89,1)"
AND radius = 15
- Locate printers along with their locations and distance to user's
locations, given user's location and the range of printers.
Example: select name,location,distance where location="ali://cmu/wean-hall/floor3#(87,89,1)"
AND radius=15
|
| |
|
| service name: |
"findprinter" |
| host name: |
houston.cmcl.cs.cmu.edu |
| port number: |
9998 |
| contact |
Dominic Jonak (dom@cs.cmu.edu) |
| description |
Given a user's location, determine the closest, fastest, public printer.
|
| supported query |
query |
| attributes |
- ali
location of user
- name
name of printer
- queue
total number of printer jobs
- bytes
total bytes to printer (-1 or null if unavailable)
- distance
distance to printer
|
| usage example |
- get the nearby printers' name, number of printer jobs and distance
to user's specified location
example:select name,queue,distance where ali="ali://cmu/wean-hall/floor3#(87,89,1)"
|
| |
|