Add new device API functions - setLocation(), getLocation(), getLocationData()