Re: Compatible Kernels of a certain BlueZ version
From: wei junping <hidden>
Date: 2013-09-02 03:11:03
Hi Gustavo,
Thank you for your reply.
I am trying to make 4.93 come with Android 3.0.8 work with Kernel
3.9.6, and I found that values of some mgmt macros in user mode are
different from those in kernel.
For example:
In user mode mgmt.h
#define MGMT_OP_READ_FEATURES 0x0002
struct mgmt_rp_read_features {
uint8_t features[8];
} __packed;
but in kernel mode mgmt.h
#define MGMT_OP_READ_COMMANDS 0x0002
#define MGMT_READ_COMMANDS_SIZE 0
struct mgmt_rp_read_commands {
__le16 num_commands;
__le16 num_events;
__le16 opcodes[0];
} __packed;
I haven't tried it, but I would think the meaning of the same value in
user and kernel should be the same. Is it?
Best Regards,
Tim Wei
2013/9/1 Gustavo Padovan [off-list ref]:Hi Tim, 2013-08-31 wei junping [off-list ref]:quoted
Who can tell me how I know which kernel is compatible with which BlueZ version, for example, BlueZ 5.7? I didn't find any info in the doc folder of the package.Any BlueZ 5 version works with an 3.4 kernel or newer. The old BlueZ 4 works with any kernel out there. Gustavo