mtouch_test_read_supplier_id()

Updated: May 06, 2022

Test the ability to read the supplier ID

Synopsis:

#include <input/mtouch_driver.h>
int mtouch_test_read_supplier_id(void *dev,
                                 uint8_t **supplier)

Arguments:

dev
Handle to the device driver.
supplier
Supplier ID read from the driver. The supplier ID is updated by this function and is valid until the next call of any one of the test functions.

Library:

libinputevents

Description:

This function reads the supplier ID from the driver. The first byte in supplier 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.