Here is APIs what we need to implement:
- Renew GPS location
{
type: 'endpoint',
endpointId: '<Unique ID of Endpoint>'
online: true,
lat: <GPS Location>,
lon: <GPS Location>
}- Start Receiving GPS location
{
type: 'action',
action: 'hookEndpoint',
enabled: true
}- Stop Receive GPS location
{
type: 'action',
action: 'hookEndpoint',
enabled: false
}