Skip to contentSkip to conversation

testing Bleuz/SCO with hsplay

Bluez-devel Stefan de Konink 3 participants 4 messages Sep 28, 2004 – Sep 30, 2004 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello,

For the Asterisk PABX I'm testing the Bluetooth functionality of a Nokia phone to be used as phone channel. Still in the basic stage I allready have a problem.

attest works, I get the complete list of the phonenumbers and names. So heading straight for hsplay. The phone is connected by bluetooth, the little headset icon is on the phone's display, but when I call out with the phone I still have no MP3 playing on my ear.

Some output of hciconfig:
hci0: Type: USB

        BD Address: 00:02:8A:DB:39:04 ACL MTU: 192:8  SCO MTU: 64:8
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot 

offset>
<timing accuracy> <role switch> <hold mode> <sniff mode> <park state> <RSSI> <channel quality> <SCO link> <HV2
packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <paging
scheme>
<power control> <transparent SCO>

hci0: Type: USB

        BD Address: 00:02:8A:DB:39:04 ACL MTU: 192:8  SCO MTU: 64:8
        HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP 

Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)

hci0: Type: USB
BD Address: 00:02:8A:DB:39:04 ACL MTU: 192:8 SCO MTU: 64:8 HCI 16.4
Chip version: BlueCore02
Max key size: 56 bit
SCO mapping: HCI

Anyone some pointers to look at?

Greetings,

Stefan de Konink

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Stefan,

Quoted 8 lines

For the Asterisk PABX I'm testing the Bluetooth functionality of a Nokia phone to be used as phone channel. Still in the basic stage I allready have a problem.

attest works, I get the complete list of the phonenumbers and names. So heading straight for hsplay. The phone is connected by bluetooth, the little headset icon is on the phone's display, but when I call out with the phone I still have no MP3 playing on my ear.

I think this is a thinko. Pair your headset with your PC and then use hstest or hsplay to get music on the headset.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

maintainer
#3 lore raw

Hi Stefan,

Quoted 8 lines
Quoted 2 lines

I think this is a thinko. Pair your headset with your PC and then use hstest or hsplay to get music on the headset.

Probably I told it the wrong way, I want my pc to act as a headset for my phone. I know I'm odd.

Does this Harry Potter stuff require some magic to the code or is this not possible?

you can't do that with hstest.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw

[Bluez-devel] Compiling Bluez into suse 9.1 pro

I downloaded from cvs the source of bluez
I can compile only libs, sdp and hcidump
the others (pan, utils, obex, bluefw and hciemu) are giving errors

1 --------------------- running bootstrap give an error
"bad interpreter: no such file or directory" So I proceded running the contents of the file itself (copy-paste in the command line, excluding "#!/bin/sh") for every bootstrap file.

doing so I obtain a configure file, so I can proceeds running configure, than make and after make install.

These are the problems encountered during configure or make phase of compilation.

2 --------------------- for pan and for hciemu, running configure I obtains "configure: error: cannot run /bin/sh ./config.sub"
3 --------------------- for utils,
make fails, this is the output:
make all-recursive
make[1]: Entering directory `/home/maxc/prj/4/utils' Making all in hcid
make[2]: Entering directory `/home/maxc/prj/4/utils/hcid'
make[2]: Nothing to be done for all'. make[2]: Leaving directory /home/maxc/prj/4/utils/hcid'
Making all in tools
make[2]: Entering directory `/home/maxc/prj/4/utils/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include
-I/usr/include -Wall -O2 -c sdptool.c sdptool.c: In function `add_audio_source':
sdptool.c:1583: error: `AUDIO_SOURCE_SVCLASS_ID' undeclared (first use in this function) sdptool.c:1583: error: (Each undeclared identifier is reported only once
sdptool.c:1583: error: for each function it appears in.)
sdptool.c:1587: error: ADVANCED_AUDIO_PROFILE_ID' undeclared (first use in this function) sdptool.c:1598: error: AVDTP_UUID' undeclared (first use in this function)
sdptool.c: In function `add_audio_sink':
sdptool.c:1642: error: AUDIO_SINK_SVCLASS_ID' undeclared (first use in this function) sdptool.c:1646: error: ADVANCED_AUDIO_PROFILE_ID' undeclared (first use in this function) sdptool.c:1657: error: `AVDTP_UUID' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1706: error: `AUDIO_SOURCE_SVCLASS_ID' undeclared here (not in a function) sdptool.c:1706: error: initializer element is not constant
sdptool.c:1706: error: (near initialization for `service[13].class')
sdptool.c:1706: error: initializer element is not constant
sdptool.c:1706: error: (near initialization for `service[13]')
sdptool.c:1707: error: `AUDIO_SINK_SVCLASS_ID' undeclared here (not in a function) sdptool.c:1707: error: initializer element is not constant
sdptool.c:1707: error: (near initialization for `service[14].class')
sdptool.c:1707: error: initializer element is not constant
sdptool.c:1707: error: (near initialization for `service[14]')
sdptool.c:1709: error: initializer element is not constant
sdptool.c:1709: error: (near initialization for `service[15]')
make[2]: *** [sdptool.o] Error 1
make[2]: Leaving directory `/home/maxc/prj/4/utils/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/maxc/prj/4/utils'
make: *** [all] Error 2

4 --------------------- for bluefw,
doing make I obtain this output:
"/usr/src/linux/include/linux/usbdevice_fs.h:49
variable or field '__user' declared void"
5 --------------------- for obex,
during make, the "gcc ... -o btobex ..."
say: "./obex.c: undefined reference to
'OBEX_SetTransportMTU'"

How to solve these problems?
Can you help me?

thanks for your time

(sorry for cross posting, similar mails was sent to bluez-users list, maybe this is a better place for these problems)

__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel