2006-10-15 20:14:30

by Brad Midgley

[permalink] [raw]
Subject: [Bluez-devel] pskey gone, but bccmd won't build

Marcel

I noticed pskey disappear from utils/tools in cvs. Is bccmd preferred
for setting pskey values? bccmd won't build from the current utils.

bmidgley@med:~/src/bluez/utils/tools$ make bccmd
/bin/sh ../libtool --mode=link gcc -I/usr/local/include
-I/usr/local/include -Wall -O2 -D_FORTIFY_SOURCE=2 -o bccmd
gcc -I/usr/local/include -I/usr/local/include -Wall -O2
-D_FORTIFY_SOURCE=2 -o bccmd
gcc: no input files
make: *** [bccmd] Error 1

Brad

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2006-10-16 10:40:27

by Peter Wippich

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey gone, but bccmd won't build


Hi Brad,

inofficial answer below ......

On Sun, 15 Oct 2006, Brad Midgley wrote:

> Marcel
>
> I see a few values without a description. If someone knows where I can
> look these up, I'd give you a patch.
>
> # ./bccmd -t HCI psread

> // 0x00dc
Local Name 0 (only used by older FW)
> &00dc = 006d 0065 0064 002d 0030 0000 0000 0000 0000 0000 0000 0000 0000
> 0000

> // 0x00dd
Local Name 1 (only used by older FW)
> &00dd = 002e 0063 006f 006d 002d 0030 0000 0000 0000 0000 0000 0000 0000
> 0000

> // 0x00ee
Local Name Length
> &00ee = 0005

> // 0x0191
PSKEY_HOSTIO_UART_PS_BLOCK
> &0191 = 03b0 00a8 00fa 0014 0004 0000 0004 001e 0064 000a

All keys you asked for are only used by older CSR FW Versions (I think pre
1.2.18 or so).

Ciao,

Peter

| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: [email protected] |
| D-13355 Berlin / Germany |


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2006-10-15 23:00:05

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey gone, but bccmd won't build

Marcel

> Call configure with --enable-bccmd and then call make in the common and
> tools directory. That should work fine.

ok... there must have been some messed up files in my checkout.
re-checking it out resulted in a successful build including bccmd.

I see a few values without a description. If someone knows where I can
look these up, I'd give you a patch.

# ./bccmd -t HCI psread
// PSKEY_BDADDR
&0001 = 00a4 c9a3 0060 0010
// PSKEY_LC_POWER_TABLE
&001e = 0aff fa00 10ff fd00 14ff 0000 1aff 0300 22ff 0600 27ff 0900 30ff
0c00 36ff 0f00 3cff 1200
// PSKEY_LC_DEFAULT_TX_POWER
&0021 = 0006
// PSKEY_FREE_KEY_PIGEON_HOLE
&00c9 = 0001
// PSKEY_LINK_KEY_BD_ADDR0
&00ca = 0002 17a2 003a 000a 2b7e 82f0 0347 5799 227d 4bb6 c85e a3c8
// 0x00dc
&00dc = 006d 0065 0064 002d 0030 0000 0000 0000 0000 0000 0000 0000 0000
0000
// 0x00dd
&00dd = 002e 0063 006f 006d 002d 0030 0000 0000 0000 0000 0000 0000 0000
0000
// 0x00ee
&00ee = 0005
// 0x0191
&0191 = 03b0 00a8 00fa 0014 0004 0000 0004 001e 0064 000a
// PSKEY_ANA_FTRIM
&01f6 = 0023
// PSKEY_HOST_INTERFACE
&01f9 = 0002
// PSKEY_TX_OFFSET_HALF_MHZ
&0217 = fffc
// PSKEY_TX_PRE_LVL
&0240 = 0001
// PSKEY_RX_SINGLE_ENDED
&0242 = 0001
// PSKEY_MODULE_SECURITY_CODE
&025c = 7a55 456d 3555 676d 3976 3a6f 2c53 6340

Brad

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2006-10-15 21:29:21

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey gone, but bccmd won't build

Hi Brad,

> >> I noticed pskey disappear from utils/tools in cvs. Is bccmd preferred
> >> for setting pskey values? bccmd won't build from the current utils.
> >
> > bccmd is the successor of pskey and you should use --enable-bccmd to
> > build and install it correctly.
>
> (I can't do a toplevel make: there is a dbus problem on ubuntu and
> --disable-dbus doesn't really disable dbus)

the D-Bus is mandatory, so you can't disable it. However there is no
D-Bus problem with Ubuntu Dapper or Edgy. I tested both by myself.

> shouldn't this work?
>
> $ ./configure --enable-bccmd
> ...
> $ make -C common/
> ...
> $ make -C tools
> ...
> $ make -C tools bccmd
> make: Entering directory
> `/media/usbdisk/goo/home/bmidgley/src/bluez/utils/tools'
> /bin/sh ../libtool --mode=link gcc -I/usr/local/include
> -I/usr/local/include -Wall -O2 -D_FORTIFY_SOURCE=2 -o bccmd
> gcc -I/usr/local/include -I/usr/local/include -Wall -O2
> -D_FORTIFY_SOURCE=2 -o bccmd
> gcc: no input files
> make: *** [bccmd] Error 1
> make: Leaving directory
> `/media/usbdisk/goo/home/bmidgley/src/bluez/utils/tools'

Call configure with --enable-bccmd and then call make in the common and
tools directory. That should work fine.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2006-10-15 21:18:57

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey gone, but bccmd won't build

Marcel

>> I noticed pskey disappear from utils/tools in cvs. Is bccmd preferred
>> for setting pskey values? bccmd won't build from the current utils.
>
> bccmd is the successor of pskey and you should use --enable-bccmd to
> build and install it correctly.

(I can't do a toplevel make: there is a dbus problem on ubuntu and
--disable-dbus doesn't really disable dbus)

shouldn't this work?

$ ./configure --enable-bccmd
...
$ make -C common/
...
$ make -C tools
...
$ make -C tools bccmd
make: Entering directory
`/media/usbdisk/goo/home/bmidgley/src/bluez/utils/tools'
/bin/sh ../libtool --mode=link gcc -I/usr/local/include
-I/usr/local/include -Wall -O2 -D_FORTIFY_SOURCE=2 -o bccmd
gcc -I/usr/local/include -I/usr/local/include -Wall -O2
-D_FORTIFY_SOURCE=2 -o bccmd
gcc: no input files
make: *** [bccmd] Error 1
make: Leaving directory
`/media/usbdisk/goo/home/bmidgley/src/bluez/utils/tools'

Brad

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2006-10-15 20:21:03

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] pskey gone, but bccmd won't build

Hi Brad,

> I noticed pskey disappear from utils/tools in cvs. Is bccmd preferred
> for setting pskey values? bccmd won't build from the current utils.

bccmd is the successor of pskey and you should use --enable-bccmd to
build and install it correctly.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel