mtouch_test_read_product_id()
QNX SDP8.0Input Events Library ReferenceAPIDeveloperProgramming
Test the ability to read the product ID of the driver
Synopsis:
#include <input/mtouch_driver.h>
int mtouch_test_read_product_id(void *dev, uint8_t **product)
Arguments:
- dev
- Handle to the device driver.
- product
- product ID read from the driver. The product ID is updated by this function and is valid until the next call of any one of the test functions.
Library:
libinputeventsDescription:
This function reads the product ID from the driver. The first byte in product represents the number of additional bytes in the buffer.
Returns:
A test result type. The test result will be one of type Driver test result types.
Page updated: