Compass lets you find other device locations in real time using iBeacons, Cisco CMX, GPS and OpenDaylight. (NOTE: CMX and iBeacons are currently not available. Please check back later for further updates)
- Android Studio 1.x.x
- Android OS v5.0+
- User succesfully creates a username called newUserId (for example) using LoginViewController
- A container with "resourceID":"newUserID" is created under InCSE1/UserAE/
- A container with "resourceID":"deviceMACAddress" is created under InCSE1/UserAE/newUserID/ and InCSE1/LocationAE/Things/
- Four containers with resourceIDs: LocBeacon, LocCMX, LocGPS, and AccuracyFlag are created under InCSE1/LocationAE/Things/deviceMACAddress/
Compass uses the Android LocationManager to monitor the Current Location (latitude, longitude) of the device.
Contains all HTTP request methods for the app.
An AccuracyFlag container is created with it's labels attribute set to a 3-bit binary number in order to prioritize location accuracy for each UUID or deviceMACAddress container under InCSE1/LocationAE/Things/.
- If labels[:1] == 1, then the LocBeacon container has the most accurate device position
- If labels[:2] == 01, then the LocCMX container has the most accurate device position
- If labels[:3] == 001, then LocGPS container has the most accuracte device position
- Else, the device's position could not be found
(NOTE: Due to CMX and iBeacon not working for Android, the labels attribute of AccuracyFlag will only either be "001" or "000" depending if GPS is on.)