mtouch_test_read_firmware_version()

Test the ability to read the firmware version of the driver

Synopsis:

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

Arguments:

dev
Handle to the device driver.
fwv
Firmware version read from the driver and is valid until the next call of any one of the test functions.

Library:

libinputevents

Description:

This function reads the firmware version from the driver. The first byte in fwv 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.