Preprocessor macro definitions for the sensor.h header file in this library.
#define SENSOR_MAX_NAME_SIZE 20Maximum size of a sensor name.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_ENABLE __DIOT(_DCMD_INPUT, 1, sensor_devctl_enable_u )Device command to enable a sensor.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_DELAY __DIOTF(_DCMD_INPUT, 2, sensor_devctl_delay_u )Device command to set a sensor's delay period.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_RATE __DIOTF(_DCMD_INPUT, 2, sensor_devctl_rate_u )Device command to set a sensor's update period rate (deprecated - use DCMD_SENSOR_DELAY instead).
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_INFO __DIOF(_DCMD_INPUT, 3, sensor_devctl_info_u )Device command to get sensor information.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_SKIPDUPEVENT __DIOT(_DCMD_INPUT, 4, sensor_devctl_skipdupevent_u )Device command to enable/disable duplicate event filtering.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_BKGRND __DIOT(_DCMD_INPUT, 5, sensor_devctl_bkgrnd_u )Device command to enable/disable background mode.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_QUEUE __DIOTF(_DCMD_INPUT, 6, sensor_devctl_queue_u )Device command to enable/disable sensor event queuing.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_CALIBRATE __DIOT(_DCMD_INPUT, 7, sensor_devctl_calibrate_u )Device command to calibrate a sensor.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_NAME __DIOF(_DCMD_INPUT, 9, sensor_devctl_name_u )Device command to get a sensor's name.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_UNBLOCK __DIOT(_DCMD_INPUT, 10, sensor_devctl_unblock_u )Device command to unblock a blocked read of a sensor.
Since: BlackBerry 10.0.0
#define DCMD_SENSOR_BATCHING __DIOT(_DCMD_INPUT, 11, sensor_devctl_batching_u )Device command to enable/disable sensor batching.
Since: BlackBerry 10.0.0