21#ifndef __ARCH_ARM_INCLUDE_CXD56XX_GEOFENCE_H
22#define __ARCH_ARM_INCLUDE_CXD56XX_GEOFENCE_H
25#define EXTERN extern "C"
49#define CXD56_GEOFENCE_IOCTL_START 1
59#define CXD56_GEOFENCE_IOCTL_STOP 2
69#define CXD56_GEOFENCE_IOCTL_ADD 3
79#define CXD56_GEOFENCE_IOCTL_MODIFY 4
89#define CXD56_GEOFENCE_IOCTL_DELETE 5
99#define CXD56_GEOFENCE_IOCTL_ALL_DELETE 6
110#define CXD56_GEOFENCE_IOCTL_GET_REGION_DATA 7
123#define CXD56_GEOFENCE_IOCTL_GET_USED_ID 8
134#define CXD56_GEOFENCE_IOCTL_GET_ALL_STATUS 9
144#define CXD56_GEOFENCE_IOCTL_SET_MODE 10
148#define CXD56_GEOFENCE_IOCTL_INVAL 0
149#define CXD56_GEOFENCE_IOCTL_MAX 11
165#define CXD56_GEOFENCE_TRANSITION_EXIT 0
169#define CXD56_GEOFENCE_TRANSITION_ENTER 1
173#define CXD56_GEOFENCE_TRANSITION_DWELL 2
183#define CXD56_GEOFENCE_REGION_CAPACITY 20
long latitude
Definition: geofence.h:210
struct cxd56_geofence_trans_s status[CXD56_GEOFENCE_REGION_CAPACITY]
Definition: geofence.h:261
uint8_t id
Definition: geofence.h:206
uint8_t update
Definition: geofence.h:257
uint16_t radius
Definition: geofence.h:218
uint16_t dwell_detecttime
Definition: geofence.h:228
uint16_t deadzone
Definition: geofence.h:227
long longitude
Definition: geofence.h:214
uint8_t status
Definition: geofence.h:246
#define CXD56_GEOFENCE_REGION_CAPACITY
Definition: geofence.h:183
Geofence mode setting parameter.
Definition: geofence.h:226
Region center point and radius data.
Definition: geofence.h:203
Geofence output data structer.
Definition: geofence.h:254
The transition data.
Definition: geofence.h:236