sensor_devctl_name_u
Structure for getting the sensor name.
Synopsis:
typedef union { struct { char name[SENSOR_MAX_NAME_SIZE]; } rx; } sensor_devctl_name_u;
Since:
BlackBerry 10.0.0
Data:
- char name[SENSOR_MAX_NAME_SIZE]
- The name of the sensor.
Library:
None.Description:
The union sensor__devctl__name__u is used with the DCMD_SENSOR_NAME device command to get the name of the sensor.
sensor_devctl_name_u sensorName; result = devctl(fd, DCMD_SENSOR_NAME, &sensorName, sizeof(sensorName), NULL);where:
result is EOK for success (or see errno return code descriptions).
Last modified: 2014-05-14