mtouch_test_read_serial_id()

Updated: May 06, 2022

Test the ability to read the serial ID of the driver

Synopsis:

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

Arguments:

dev
Handle to the device driver.
serial
Serial ID read from the driver. The serial 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 serial ID from the driver. The first byte in serial 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.