* [Bluez-devel] gumstix+infineon can't scan/connect
@ 2005-05-05 5:10 Brad Midgley
2005-05-05 5:56 ` Brad Midgley
0 siblings, 1 reply; 2+ messages in thread
From: Brad Midgley @ 2005-05-05 5:10 UTC (permalink / raw)
To: BlueZ Mailing List
Hi
I think there must be some defaults/settings that aren't right on this
gumstix (using infineon hardware). Can anyone see any reason the basics
won't work?
hcitool scan
returns immediately with no results; when run on the desktop, it finds
the headset without any problems.
sdptool browse 00:0D:44:2A:5C:A3
fails with "Failed to connect to SDP server on 00:0D:44:2A:5C:A3:
Connection refused" but again it works on the desktop.
finally, a2play fails to connect (I have it ignore the sdp problem)
a2play 00:0D:44:2A:5C:A3 /mnt/mmc/charm.au
reports "Can't connect to A3:5C:2A:44:0D:00. Connection refused(111)
cannot open psm_cmd = 25" so it fails in the connect call:
connect(sk, (struct sockaddr *) &addr, sizeof(addr))
Here's how things look...
# grep -v ^$ /etc/bluetooth/hcid.conf |grep -v ^.*#
options {
autoinit yes;
security auto;
pairing multi;
pin_helper /etc/bluetooth/bluepin;
}
device {
name "Gumstix (%d)";
class 0x820116;
iscan enable; pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}
# /etc/bluetooth/bluepin
PIN:0000
# hciconfig
hci0: Type: UART
BD Address: 00:80:37:21:61:42 ACL MTU: 672:8 SCO MTU: 64:0
UP RUNNING PSCAN ISCAN
RX bytes:30107175 acl:59964 sco:0 events:19745 errors:0
TX bytes:1959214 acl:19657 sco:0 commands:38 errors:0
# hciconfig hci0 revision
hci0: Type: UART
BD Address: 00:80:37:21:61:42 ACL MTU: 672:8 SCO MTU: 64:0
Generated: Nov 28 2003 16:59:35
Comment: R2D
Brad
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Bluez-devel] gumstix+infineon can't scan/connect
2005-05-05 5:10 [Bluez-devel] gumstix+infineon can't scan/connect Brad Midgley
@ 2005-05-05 5:56 ` Brad Midgley
0 siblings, 0 replies; 2+ messages in thread
From: Brad Midgley @ 2005-05-05 5:56 UTC (permalink / raw)
To: bluez-devel
hmmm
this was all done by ssh'ing into the gumstix over a PAN connection. I
guess this radio is like those in cellphones... it can only handle one
connection at a time (argh).
the good news is a2play is able to run with a load of 1.6. this is with
too short a usleep delay and soft double-precision fp. so things can
only improve with real timing and maybe using single-precision soft fp
and eventually integer-only ops.
things are still pretty flakey with infineon bluetooth. sometimes
something like avdtp negotiation won't work but after resetting the
stick it works fine.
brad
Brad Midgley wrote:
> Hi
>
> I think there must be some defaults/settings that aren't right on this
> gumstix (using infineon hardware). Can anyone see any reason the basics
> won't work?
>
> hcitool scan
>
> returns immediately with no results; when run on the desktop, it finds
> the headset without any problems.
>
> sdptool browse 00:0D:44:2A:5C:A3
>
> fails with "Failed to connect to SDP server on 00:0D:44:2A:5C:A3:
> Connection refused" but again it works on the desktop.
>
> finally, a2play fails to connect (I have it ignore the sdp problem)
>
> a2play 00:0D:44:2A:5C:A3 /mnt/mmc/charm.au
>
> reports "Can't connect to A3:5C:2A:44:0D:00. Connection refused(111)
> cannot open psm_cmd = 25" so it fails in the connect call:
>
> connect(sk, (struct sockaddr *) &addr, sizeof(addr))
>
> Here's how things look...
>
> # grep -v ^$ /etc/bluetooth/hcid.conf |grep -v ^.*#
> options {
> autoinit yes;
> security auto;
> pairing multi;
> pin_helper /etc/bluetooth/bluepin;
> }
> device {
> name "Gumstix (%d)";
> class 0x820116;
> iscan enable; pscan enable;
> lm accept;
> lp rswitch,hold,sniff,park;
> }
> # /etc/bluetooth/bluepin
> PIN:0000
> # hciconfig
> hci0: Type: UART
> BD Address: 00:80:37:21:61:42 ACL MTU: 672:8 SCO MTU: 64:0
> UP RUNNING PSCAN ISCAN
> RX bytes:30107175 acl:59964 sco:0 events:19745 errors:0
> TX bytes:1959214 acl:19657 sco:0 commands:38 errors:0
>
> # hciconfig hci0 revision
> hci0: Type: UART
> BD Address: 00:80:37:21:61:42 ACL MTU: 672:8 SCO MTU: 64:0
>
> Generated: Nov 28 2003 16:59:35
> Comment: R2D
>
> Brad
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-05 5:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-05 5:10 [Bluez-devel] gumstix+infineon can't scan/connect Brad Midgley
2005-05-05 5:56 ` Brad Midgley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.