We cannot yet give out many of the details on how access to this positioning server will be enabled, since things will likely keep changing as we prepare for the release, but there are some basic details that are likely to remain unchanged. For instance:
- Clients accessing the WIPS server will be required to establish a UDP connection in order to submit position estimate requests.
- The WIPS server will respond to XML-formatted requests containing information about the WiFi access points available in a particular location. For example:
<?xml version="1.0"?>
<!DOCTYPE note [<!ELEMENT beacons (ap+)>
<!ELEMENT ap (mac+,strength+,channel+,mode+)>
<!ELEMENT mac (#PCDATA)>
<!ELEMENT strength (#PCDATA)>
<!ELEMENT channel (#PCDATA)>
<!ELEMENT mode (#PCDATA)>
<beacons>
<ap>
<mac>001188F521B0</mac>
<strength>81.9505719298</strength>
<channel>1</channel>
<mode>Master</mode>
</ap>
<ap>
<mac>0201214A0E00</mac>
<strength>78.0</strength>
<channel>11</channel>
<mode>Ad-Hoc</mode>
</ap>
<ap>
<mac>001188A5A790</mac>
<strength>78.3485142958</strength>
<channel>6</channel>
<mode>Master</mode>
</ap>
</beacons> - Once such a request is received, the WIPS server will return XML-formatted data containing the estimated position. This will include:
- the building name,
- the floor number,
- the floorplan URL,
- the X and Y graphical coordinates (with respect to the floorplan), and
- the accuracy of the estimate
No comments:
Post a Comment