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

[bluetooth-dev] what is the MAGIC number 'B'?



Hi everybody,

I just encountered

#define BT_IOC_MAGIC 'B' /* Use B as a magic number */ 

in the btcommon.h

Could anybody pls tell me, what the purpose of this definition is?

Moreover there is for example

#define HCIWRITESTOREDLINKKEY _IOWR(BT_IOC_MAGIC, 0x34, u8[22])

Where does the 0x34 come from? The core spec on p.616 tells me that the OCF is
0x0011.

Regards

Patrick
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com