Re: [PATCH 06/11] android/hid: Implement hid get report in daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ravi,

On Tue, Nov 05, 2013, Ravi kumar Veeramally wrote:
> This patch requests hid device report and reads reply
> message and sends notification to hal.
> ---
>  android/hal-hidhost.c |   1 +
>  android/hal-msg.h     |   8 ++++
>  android/hid.c         | 104 +++++++++++++++++++++++++++++++++++++++++++++++++-
>  3 files changed, 111 insertions(+), 2 deletions(-)

Again, I'd split this into separate patches. One to update the
hal-msg.h, one for the daemon and another for the HAL.

> +#define HAL_EV_HID_GET_REPORT		0x84
> +struct hal_ev_hid_get_report {
> +	uint8_t bdaddr[6];
> +	uint8_t status;
> +	uint16_t len;
> +	uint8_t data[0];
> +} __attribute__((packed));

In our hal-ipc.api.txt this event is defined as 0x85. Not 0x84. Is the
code or documentation wrong?

Also, please follow the same alignment for the variables in the struct
as elsewhere in hal-msg.h.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux