Skip to content

GET_DEVICE_INFO

Dorian Stoll edited this page Jan 7, 2020 · 2 revisions
  • command code: 0x1
  • response code: 0x80000001

This command will request all device specific data about the IPTS hardware from the ME. This includes a device and vendor ID, as well as data that will be required for setting up the touch data and feedback buffers.

Command

The command has no special payload

Response

The payload of the response uses the following layout

struct ipts_device_info {
	u16 vendor_id;
	u16 device_id;
	u32 hw_rev;
	u32 fw_rev;
	u32 frame_size;
	u32 feedback_size;
	u8 reserved[24];
}

frame_size will be the maximum size of one touch data buffer. feedback_size is the maximum required size of one feedback buffer.