[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bluetooth-dev] Re: Axis stack portability (2)
> can you describe again which stack version you are using and which patch
> exactly ?
> It seems that everything is patched, but not the hci layer ! Is this
> possible ? Can you compare your hci.c with the version before patching ?
> I think Gordon said that he forgot to send that patch. If this is the
> problem, I can send you a patch for hci.c (with my changes).
> I will work on big endian issues with the current cvs version in the
> next few days !
I think that the hci.c file has been patched too. The first difference
< * $Id: hci.c,v 1.58 2000/08/14 11:45:17 matsf Exp $
> * $Id: hci.c,v 1.6 2000/09/28 15:30:43 gmcnutt Exp $
The stack version is: 20000814
The patch comes from: bluetooth_20000814-gmcnutt-patch1.gz
The commands used to patch are:
tar -xvzf bluetooth_20000814.tgz
patch -p3 < ../bluetooth_20000814-gmcnutt-patch1
I tried to hack staighforward in the code of bluetooth.c:
bt_write_lower_driver(u8 *data, s32 len)
#define FNC "bt_write_lower_driver: "
struct tty_struct *tty;
// BPe Hack begin
tmp = data;
data = data;
data = tmp;
// BPe Hack end
tty = bt_ctrl.bt_tty;
And it works. Digianswer reply correctly to the 4 descrived cases.
However, it could be fine to know the clean way to do it.
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to email@example.com