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

Re: [bluetooth-dev] New release



Chia Benham wrote:

> Hi,
>
> Sorry, I don't really understand what do you mean by copying the HW_CSR
> function stubs to an new HW_NOINIT section in this file.
>
> The compilation error I got is from btd.c saying redefination of
> "init_phys", "init_hw" and "reset_hw". I looked through the codes for btd.c,
> realise the error is due to the HW_USED (HW_GENERIC) and HW_USED
> (HW_NOINIT).
>
> I looked through hci_vendor.c, and there is no fucntions for HW_USED
> (HW_NOINIT).
>
> What are the steps I should do to rectify the problems? Thanks.
>

The problem is that HW_NOINIT is #defined as 0, but HW_GENERIC is not #defined
(and apparently defaults to 0). I suggest this change:

#define HW_NOINIT -1
#define HW_GENERIC 0

In btd.h and btconfig.h. I also suggest we find away around duplicating the
#definitions in two different files.

--Gordon

>
> Benham
>
> -----Original Message-----
> From: Johan Zander [mailto:johan.zander@xxxxxxx.com]
> Sent: Tuesday, January 09, 2001 6:28 PM
> To: 'Chia Benham '
> Cc: bluetooth-dev@xxxxxxx.sg'
> Subject: RE: [bluetooth-dev] New release
>
> Hi,
>
> Only functions corresponding to Ericsson, Digianswer and CSR HW is
> implememted in hci_vendor.c. Copying the HW_CSR function stubs to an new
> HW_NOINIT section in this file will do the trick for now. This will be fixed
> for the next release.
>
> Regards,
> Johan
> Axis Bluetooth Team
>
> -----Original Message-----
> From: Chia Benham [mailto:chiabenham@xxxxxxx.com]
> Sent: Tuesday, January 09, 2001 9:11 AM
> To: bluetooth-dev@xxxxxxx.com
> Subject: RE: [bluetooth-dev] New release
>
> Hi,
>
> I tried the 20010108 release without hardware. I change the HW_CURRENT
> defined in btconfig.h and btd.h to "#define HW_CURRENT HW_NOINIT" and I
> enable the HCI_EMULATION. When I try to make, it gives compilation error.
> Anyone knows what is the problem?
>
> Benham
>
> -----Original Message-----
> From: owner-bluetooth-dev@xxxxxxx.com
> [mailto:owner-bluetooth-dev@xxxxxxx.com]On Behalf Of Mattias Ågren
> Sent: Tuesday, January 09, 2001 1:23 AM
> To: 'bluetooth-dev@xxxxxxx.com'
> Subject: [bluetooth-dev] New release
>
> Hi All,
> A new release is now available on our web site
> http://developer.axis.com/download/bluetooth/bluetooth_20010108.tgz
>
> See attached README.txt for details
>
> =======
> brgds
> Axis Bluetooth Team
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> -
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @xxxxxxx.com">http://mail.yahoo.com
>
> -
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com

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