Modules | |
IOCTL commands | |
Defines | |
Macros | |
#define | CXD56_GEOFENCE_IOCTL_START 1 |
#define | CXD56_GEOFENCE_IOCTL_STOP 2 |
#define | CXD56_GEOFENCE_IOCTL_ADD 3 |
#define | CXD56_GEOFENCE_IOCTL_MODIFY 4 |
#define | CXD56_GEOFENCE_IOCTL_DELETE 5 |
#define | CXD56_GEOFENCE_IOCTL_ALL_DELETE 6 |
#define | CXD56_GEOFENCE_IOCTL_GET_REGION_DATA 7 |
#define | CXD56_GEOFENCE_IOCTL_GET_USED_ID 8 |
#define | CXD56_GEOFENCE_IOCTL_GET_ALL_STATUS 9 |
#define | CXD56_GEOFENCE_IOCTL_SET_MODE 10 |
#define | CXD56_GEOFENCE_IOCTL_INVAL 0 |
#define | CXD56_GEOFENCE_IOCTL_MAX 11 |
#define CXD56_GEOFENCE_IOCTL_START 1 |
Start geofence monitoring.
This command is used to start the geofence monitoring.
arg | Parameter is Unnecessary. Set Zero. |
#define CXD56_GEOFENCE_IOCTL_STOP 2 |
Stop geofence monitoring.
This command is used to stop the geofence monitoring.
arg | Parameter is Unnecessary. Set Zero. |
#define CXD56_GEOFENCE_IOCTL_ADD 3 |
Add region. This command is used to add the region.
arg | Parameter is struct cxd56_geofence_region_s. |
#define CXD56_GEOFENCE_IOCTL_MODIFY 4 |
Modify region. This command is used to modify the region.
arg | Parameter is struct cxd56_geofence_region_s. |
#define CXD56_GEOFENCE_IOCTL_DELETE 5 |
Delete region. This command is used to delete the region.
arg | Parameter is region id. |
#define CXD56_GEOFENCE_IOCTL_ALL_DELETE 6 |
Delete all region. This command is used to delete all region.
arg | Parameter is Unnecessary. Set Zero. |
#define CXD56_GEOFENCE_IOCTL_GET_REGION_DATA 7 |
Get region data. This command is used to get region data.
arg | Parameter is struct cxd56_geofence_region_s pointer Latitude and longitude and radius data of specified id is stored. |
#define CXD56_GEOFENCE_IOCTL_GET_USED_ID 8 |
Get used id. This command is used to get used region id.
arg | Parameter is uint32_t data pointer. The used id is represented by bit field. For example, when ID0 and ID19 are used, since bit0 and bit19 are set, the return value is 0x00080001. |
#define CXD56_GEOFENCE_IOCTL_GET_ALL_STATUS 9 |
Get all status. This command is used to get all region status.
arg | Parameter is Unnecessary. Set Zero. All region status will stored in next read data. |
#define CXD56_GEOFENCE_IOCTL_SET_MODE 10 |
Set goefence operation mode.
This command is used to set operation mode.
arg | Parameter is struct cxd56_geofence_mode_s. |