* [Bluez-users] bluetooth serial vs. audio connection
@ 2005-03-27 11:27 Andreas Fehr
2005-03-27 11:37 ` Marcel Holtmann
0 siblings, 1 reply; 15+ messages in thread
From: Andreas Fehr @ 2005-03-27 11:27 UTC (permalink / raw)
To: Bluez-users
Hi
I have a problem connecting to my phone with my computer. With Linux, I
only get an 'audio' connection, on the same computer (using VMware) I
get a 'serial' connection. With this audio connection, I'm not able to
read data from my mobile phone. How is it possible to get a serial
connection? Is there some 'howto' on this?
I use bluez-libs-2.15 & bluez-utils-2.15 and connect to my phone with
rfcomm (what else is needed to analyze this problem?).
Any help / information / useful link very appreciated!
Andreas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 11:27 [Bluez-users] bluetooth serial vs. audio connection Andreas Fehr
@ 2005-03-27 11:37 ` Marcel Holtmann
2005-03-27 12:01 ` Andreas Fehr
0 siblings, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2005-03-27 11:37 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Andreas,
> I have a problem connecting to my phone with my computer. With Linux, I
> only get an 'audio' connection, on the same computer (using VMware) I
> get a 'serial' connection. With this audio connection, I'm not able to
> read data from my mobile phone. How is it possible to get a serial
> connection? Is there some 'howto' on this?
in general you only do:
rfcomm connect 0 <bdaddr> <channel>
and then /dev/rfcomm0 is your serial port of the phone. However you may
have to check with "sdptool browse <bdaddr>" what's the channel for the
serial port or dialup networking profile.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 11:37 ` Marcel Holtmann
@ 2005-03-27 12:01 ` Andreas Fehr
2005-03-27 12:35 ` Marcel Holtmann
0 siblings, 1 reply; 15+ messages in thread
From: Andreas Fehr @ 2005-03-27 12:01 UTC (permalink / raw)
To: BlueZ Mailing List
On Sun, 27 Mar 2005, 13:37, Marcel Holtmann (as MH) wrote:
>MH: > I have a problem connecting to my phone with my computer. With
>MH: > Linux, I only get an 'audio' connection, on the same computer
>MH: > (using VMware) I get a 'serial' connection. With this audio
>MH: > connection, I'm not able to read data from my mobile phone. How
>MH: > is it possible to get a serial connection? Is there some 'howto'
>MH: > on this?
>MH:
>MH: in general you only do:
>MH:
>MH: rfcomm connect 0 <bdaddr> <channel>
>MH:
>MH: and then /dev/rfcomm0 is your serial port of the phone. However you
>MH: may have to check with "sdptool browse <bdaddr>" what's the channel
>MH: for the serial port or dialup networking profile.
Hmm, in theory... yes. But as soon as rfcomm comes up, my phone asks me,
if I want an 'audio' connection. If I connect with the windows software,
the mobile asks me, if I want a 'serial' connection.
sdptool browse 00:xx gives no information. Just the line "Browsing 00:xx
..." Any idea on that?
Thanks for the fast reply,
Andreas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 12:01 ` Andreas Fehr
@ 2005-03-27 12:35 ` Marcel Holtmann
2005-03-27 15:40 ` Andreas Fehr
0 siblings, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2005-03-27 12:35 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Andreas,
> >MH: > I have a problem connecting to my phone with my computer. With
> >MH: > Linux, I only get an 'audio' connection, on the same computer
> >MH: > (using VMware) I get a 'serial' connection. With this audio
> >MH: > connection, I'm not able to read data from my mobile phone. How
> >MH: > is it possible to get a serial connection? Is there some 'howto'
> >MH: > on this?
> >MH:
> >MH: in general you only do:
> >MH:
> >MH: rfcomm connect 0 <bdaddr> <channel>
> >MH:
> >MH: and then /dev/rfcomm0 is your serial port of the phone. However you
> >MH: may have to check with "sdptool browse <bdaddr>" what's the channel
> >MH: for the serial port or dialup networking profile.
>
> Hmm, in theory... yes. But as soon as rfcomm comes up, my phone asks me,
> if I want an 'audio' connection. If I connect with the windows software,
> the mobile asks me, if I want a 'serial' connection.
>
> sdptool browse 00:xx gives no information. Just the line "Browsing 00:xx
> ..." Any idea on that?
then do "sdptool search --bdaddr <bdaddr> {sp|dun}".
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 12:35 ` Marcel Holtmann
@ 2005-03-27 15:40 ` Andreas Fehr
2005-03-27 15:45 ` Marcel Holtmann
0 siblings, 1 reply; 15+ messages in thread
From: Andreas Fehr @ 2005-03-27 15:40 UTC (permalink / raw)
To: BlueZ Mailing List
On Sun, 27 Mar 2005, 14:35, Marcel Holtmann (as MH) wrote:
Hi Macel,
>MH: > >MH: rfcomm connect 0 <bdaddr> <channel>
>MH: > >MH:
>MH: > >MH: and then /dev/rfcomm0 is your serial port of the phone.
>MH: > >MH: However you may have to check with "sdptool browse <bdaddr>"
>MH: > >MH: what's the channel for the serial port or dialup networking
>MH: > >MH: profile.
>MH: >
>MH: > Hmm, in theory... yes. But as soon as rfcomm comes up, my phone
>MH: > asks me, if I want an 'audio' connection. If I connect with the
>MH: > windows software, the mobile asks me, if I want a 'serial'
>MH: > connection.
>MH: >
>MH: > sdptool browse 00:xx gives no information. Just the line
>MH: > "Browsing 00:xx ..." Any idea on that?
>MH:
>MH: then do "sdptool search --bdaddr <bdaddr> {sp|dun}".
Ok, I see... this could lead to something. I've the following output:
root@notebook:/home/andreas > sdptool search --bdaddr 00:xx sp
Searching for sp on 00:xx ...
Service Name: Serial Port
Service RecHandle: 0x10003
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
root@notebook:/home/andreas > sdptool search --bdaddr 00:xx dun
Searching for dun on 00:xx ...
Service Name: Dial-up networking
Service RecHandle: 0x10002
Service Class ID List:
"Dialup Networking" (0x00001103)
Protocol Descriptor List:
"L2CAP" (0x00000100)
"RFCOMM" (0x00000003)
Channel: 4
Segmentation fault
root@notebook:/home/andreas >
(note the last 'Segmentation fault', this might be the reason, the
browse command does not work as expected)
Thanks so far, but how to proceed? (I've still the same problem,
connecting with bluez 'only' gives an 'audio' connection, not the
expected 'serial' as I got from Windows).
Thanks, Andreas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 15:40 ` Andreas Fehr
@ 2005-03-27 15:45 ` Marcel Holtmann
2005-03-27 15:56 ` Andreas Fehr
0 siblings, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2005-03-27 15:45 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Andreas,
> >MH: then do "sdptool search --bdaddr <bdaddr> {sp|dun}".
>
>
> Ok, I see... this could lead to something. I've the following output:
>
> root@notebook:/home/andreas > sdptool search --bdaddr 00:xx sp
> Searching for sp on 00:xx ...
> Service Name: Serial Port
> Service RecHandle: 0x10003
> Service Class ID List:
> "Serial Port" (0x1101)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 3
>
> root@notebook:/home/andreas > sdptool search --bdaddr 00:xx dun
> Searching for dun on 00:xx ...
> Service Name: Dial-up networking
> Service RecHandle: 0x10002
> Service Class ID List:
> "Dialup Networking" (0x00001103)
> Protocol Descriptor List:
> "L2CAP" (0x00000100)
> "RFCOMM" (0x00000003)
> Channel: 4
> Segmentation fault
> root@notebook:/home/andreas >
>
> (note the last 'Segmentation fault', this might be the reason, the
> browse command does not work as expected)
what kind of phone is this?
> Thanks so far, but how to proceed? (I've still the same problem,
> connecting with bluez 'only' gives an 'audio' connection, not the
> expected 'serial' as I got from Windows).
What happens if you connect to channel 3 or channel 4?
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 15:45 ` Marcel Holtmann
@ 2005-03-27 15:56 ` Andreas Fehr
2005-03-27 16:06 ` Marcel Holtmann
2005-03-27 16:12 ` Andreas Fehr
0 siblings, 2 replies; 15+ messages in thread
From: Andreas Fehr @ 2005-03-27 15:56 UTC (permalink / raw)
To: BlueZ Mailing List
On Sun, 27 Mar 2005, 17:45, Marcel Holtmann (as MH) wrote:
>MH: > root@notebook:/home/andreas > sdptool search --bdaddr 00:xx dun
>MH: > Searching for dun on 00:xx ...
>MH: > Service Name: Dial-up networking
>MH: > Service RecHandle: 0x10002
>MH: > Service Class ID List:
>MH: > "Dialup Networking" (0x00001103)
>MH: > Protocol Descriptor List:
>MH: > "L2CAP" (0x00000100)
>MH: > "RFCOMM" (0x00000003)
>MH: > Channel: 4
>MH: > Segmentation fault
>MH: > root@notebook:/home/andreas >
>MH: >
>MH: > (note the last 'Segmentation fault', this might be the reason, the
>MH: > browse command does not work as expected)
>MH:
>MH: what kind of phone is this?
If I just run sdptool browse 00:xx, I don't get any output, I'm not
sure, this is the normal behavior. I see this as a problem, as there
are some supported services. But then, I didn't check the code of this
tool.
>MH: > Thanks so far, but how to proceed? (I've still the same problem,
>MH: > connecting with bluez 'only' gives an 'audio' connection, not the
>MH: > expected 'serial' as I got from Windows).
>MH:
>MH: What happens if you connect to channel 3 or channel 4?
Duh.... well... thanks for the hint... of course, if I use channel 3 (as
given in the output of "sdptool search .. sp" it does work, I get a
'serial' connection. I'll test this with minicom, whether I can use all
the commands I need, but I'm confident.
Now, I wonder, whether there is some information on service <=> channel
pairs that I should have read?
Thanks!
Andreas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 15:56 ` Andreas Fehr
@ 2005-03-27 16:06 ` Marcel Holtmann
2005-03-27 16:21 ` Andreas Fehr
2005-03-27 16:12 ` Andreas Fehr
1 sibling, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2005-03-27 16:06 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Andreas,
> >MH: > root@notebook:/home/andreas > sdptool search --bdaddr 00:xx dun
> >MH: > Searching for dun on 00:xx ...
> >MH: > Service Name: Dial-up networking
> >MH: > Service RecHandle: 0x10002
> >MH: > Service Class ID List:
> >MH: > "Dialup Networking" (0x00001103)
> >MH: > Protocol Descriptor List:
> >MH: > "L2CAP" (0x00000100)
> >MH: > "RFCOMM" (0x00000003)
> >MH: > Channel: 4
> >MH: > Segmentation fault
> >MH: > root@notebook:/home/andreas >
> >MH: >
> >MH: > (note the last 'Segmentation fault', this might be the reason, the
> >MH: > browse command does not work as expected)
> >MH:
> >MH: what kind of phone is this?
>
> If I just run sdptool browse 00:xx, I don't get any output, I'm not
> sure, this is the normal behavior. I see this as a problem, as there
> are some supported services. But then, I didn't check the code of this
> tool.
this does not answer my question. What kind of phone is this? Does
adding "--tree" before the "--bdaddr" parameter helps?
> >MH: > Thanks so far, but how to proceed? (I've still the same problem,
> >MH: > connecting with bluez 'only' gives an 'audio' connection, not the
> >MH: > expected 'serial' as I got from Windows).
> >MH:
> >MH: What happens if you connect to channel 3 or channel 4?
>
> Duh.... well... thanks for the hint... of course, if I use channel 3 (as
> given in the output of "sdptool search .. sp" it does work, I get a
> 'serial' connection. I'll test this with minicom, whether I can use all
> the commands I need, but I'm confident.
>
> Now, I wonder, whether there is some information on service <=> channel
> pairs that I should have read?
This phone have the serial port profile service on channel 3 and the
dialup networking profile service on channel 4. You can see everything
in the sdptool output.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 15:56 ` Andreas Fehr
2005-03-27 16:06 ` Marcel Holtmann
@ 2005-03-27 16:12 ` Andreas Fehr
1 sibling, 0 replies; 15+ messages in thread
From: Andreas Fehr @ 2005-03-27 16:12 UTC (permalink / raw)
To: BlueZ Mailing List
On Sun, 27 Mar 2005, 17:56, Andreas Fehr (as AF) wrote:
>AF: >MH: > Thanks so far, but how to proceed? (I've still the same
>AF: >MH: > problem, connecting with bluez 'only' gives an 'audio'
>AF: >MH: > connection, not the expected 'serial' as I got from
>AF: >MH: > Windows).
>AF: >MH:
>AF: >MH: What happens if you connect to channel 3 or channel 4?
>AF:
>AF: Duh.... well... thanks for the hint... of course, if I use channel
>AF: 3 (as given in the output of "sdptool search .. sp" it does work, I
>AF: get a 'serial' connection. I'll test this with minicom, whether I
>AF: can use all the commands I need, but I'm confident.
Hi Marcel
Ok, the first test showed positive results! Great, thanks for the Easter
support!
:-)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 16:06 ` Marcel Holtmann
@ 2005-03-27 16:21 ` Andreas Fehr
2005-03-27 16:58 ` Marcel Holtmann
0 siblings, 1 reply; 15+ messages in thread
From: Andreas Fehr @ 2005-03-27 16:21 UTC (permalink / raw)
To: BlueZ Mailing List
On Sun, 27 Mar 2005, 18:06, Marcel Holtmann (as MH) wrote:
>MH: > >MH: > "RFCOMM" (0x00000003)
>MH: > >MH: > Channel: 4
>MH: > >MH: > Segmentation fault
>MH: > >MH: > root@notebook:/home/andreas >
>MH: > >MH: >
>MH: > >MH: > (note the last 'Segmentation fault', this might be the
>MH: > >MH: > reason, the browse command does not work as expected)
>MH: > >MH:
>MH: > >MH: what kind of phone is this?
>MH: >
>MH: > If I just run sdptool browse 00:xx, I don't get any output, I'm
>MH: > not sure, this is the normal behavior. I see this as a problem,
>MH: > as there are some supported services. But then, I didn't check
>MH: > the code of this tool.
>MH:
>MH: this does not answer my question. What kind of phone is this? Does
>MH: adding "--tree" before the "--bdaddr" parameter helps?
Yes, I misread the question. This is a Samsung SGH-D500 (a nice phone
but crappy windows software...)
No difference. With or without --tree, there is only one line of output
"Browsing 00:xx ...", nothing else
>MH: > >MH: > Thanks so far, but how to proceed? (I've still the same
>MH: > >MH: > problem, connecting with bluez 'only' gives an 'audio'
>MH: > >MH: > connection, not the expected 'serial' as I got from
>MH: > >MH: > Windows).
>MH: > >MH:
>MH: > >MH: What happens if you connect to channel 3 or channel 4?
>MH: >
>MH: > Duh.... well... thanks for the hint... of course, if I use
>MH: > channel 3 (as given in the output of "sdptool search .. sp" it
>MH: > does work, I get a 'serial' connection. I'll test this with
>MH: > minicom, whether I can use all the commands I need, but I'm
>MH: > confident.
>MH: >
>MH: > Now, I wonder, whether there is some information on service <=>
>MH: > channel pairs that I should have read?
>MH:
>MH: This phone have the serial port profile service on channel 3 and
>MH: the dialup networking profile service on channel 4. You can see
>MH: everything in the sdptool output.
Yes, I see this now. But is it written somewhere in the documentation,
that these services are bound to different channels? I wasn't aware of
the fact.
Thanks anyway, it works now.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 16:21 ` Andreas Fehr
@ 2005-03-27 16:58 ` Marcel Holtmann
2005-03-28 7:11 ` Andreas Fehr
0 siblings, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2005-03-27 16:58 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Andreas,
> >MH: > If I just run sdptool browse 00:xx, I don't get any output, I'm
> >MH: > not sure, this is the normal behavior. I see this as a problem,
> >MH: > as there are some supported services. But then, I didn't check
> >MH: > the code of this tool.
> >MH:
> >MH: this does not answer my question. What kind of phone is this? Does
> >MH: adding "--tree" before the "--bdaddr" parameter helps?
>
> Yes, I misread the question. This is a Samsung SGH-D500 (a nice phone
> but crappy windows software...)
>
> No difference. With or without --tree, there is only one line of output
> "Browsing 00:xx ...", nothing else
I actually meant the "spdtool search" part to see if the segmentation
fault is still present then. However, again the bad Samsung phone. I
think I need one of these at home for fixing this thing.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-27 16:58 ` Marcel Holtmann
@ 2005-03-28 7:11 ` Andreas Fehr
2005-03-28 9:15 ` Andreas Fehr
0 siblings, 1 reply; 15+ messages in thread
From: Andreas Fehr @ 2005-03-28 7:11 UTC (permalink / raw)
To: BlueZ Mailing List
On Sun, 27 Mar 2005, 18:58, Marcel Holtmann (as MH) wrote:
Hi Marcel, I'm back again
>MH: > >MH: > If I just run sdptool browse 00:xx, I don't get any
>MH: > >MH: > output, I'm not sure, this is the normal behavior. I see
>MH: > >MH: > this as a problem, as there are some supported services.
>MH: > >MH: > But then, I didn't check the code of this tool.
>MH: > >MH:
>MH: > >MH: this does not answer my question. What kind of phone is
>MH: > >MH: this? Does adding "--tree" before the "--bdaddr" parameter
>MH: > >MH: helps?
>MH: >
>MH: > Yes, I misread the question. This is a Samsung SGH-D500 (a nice
>MH: > phone but crappy windows software...)
>MH: >
>MH: > No difference. With or without --tree, there is only one line of
>MH: > output "Browsing 00:xx ...", nothing else
>MH:
>MH: I actually meant the "spdtool search" part to see if the
>MH: segmentation fault is still present then. However, again the bad
>MH: Samsung phone. I think I need one of these at home for fixing this
>MH: thing.
Ok, with --tree, I get no segmentation fault:
root@notebook:~ > sdptool search --tree --bdaddr 00:xx DUN
Searching for DUN on 00:xx ...
Attribute Identifier : 0x0 - ServiceRecordHandle
Integer : 0x10002
Attribute Identifier : 0x1 - ServiceClassIDList
Data Sequence
UUID32 : 0x00001103 - DialupNetworking (DUN)
Attribute Identifier : 0x4 - ProtocolDescriptorList
Data Sequence
Data Sequence
UUID32 : 0x00000100 - L2CAP
Data Sequence
UUID32 : 0x00000003 - RFCOMM
Channel/Port (Integer) : 0x4
Attribute Identifier : 0x9 - BluetoothProfileDescriptorList
Data Sequence
UUID32 : 0x00001103 - DialupNetworking (DUN)
Attribute Identifier : 0x100
Text : "Dial-up networking"
root@notebook:~ >
Andreas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-28 7:11 ` Andreas Fehr
@ 2005-03-28 9:15 ` Andreas Fehr
2005-03-28 10:43 ` Marcel Holtmann
0 siblings, 1 reply; 15+ messages in thread
From: Andreas Fehr @ 2005-03-28 9:15 UTC (permalink / raw)
To: BlueZ Mailing List
On Mon, 28 Mar 2005, 09:11, Andreas Fehr (as AF) wrote:
>AF: >MH: > Yes, I misread the question. This is a Samsung SGH-D500 (a
>AF: >MH: > nice phone but crappy windows software...)
>AF: >MH: >
>AF: >MH: > No difference. With or without --tree, there is only one
>AF: >MH: > line of output "Browsing 00:xx ...", nothing else
>AF: >MH:
>AF: >MH: I actually meant the "spdtool search" part to see if the
>AF: >MH: segmentation fault is still present then. However, again the
>AF: >MH: bad Samsung phone. I think I need one of these at home for
>AF: >MH: fixing this thing.
Well, I tried to debug this segmentation fault, but the changes I made
in the code haven't been reflected in the binary. I'm not that
experienced as a programmer, so I don't know what happened (probably
due to the static declaration of the functions?)
Andreas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-28 9:15 ` Andreas Fehr
@ 2005-03-28 10:43 ` Marcel Holtmann
2005-03-28 11:13 ` Andreas Fehr
0 siblings, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2005-03-28 10:43 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Andreas,
> >AF: >MH: > Yes, I misread the question. This is a Samsung SGH-D500 (a
> >AF: >MH: > nice phone but crappy windows software...)
> >AF: >MH: >
> >AF: >MH: > No difference. With or without --tree, there is only one
> >AF: >MH: > line of output "Browsing 00:xx ...", nothing else
> >AF: >MH:
> >AF: >MH: I actually meant the "spdtool search" part to see if the
> >AF: >MH: segmentation fault is still present then. However, again the
> >AF: >MH: bad Samsung phone. I think I need one of these at home for
> >AF: >MH: fixing this thing.
>
> Well, I tried to debug this segmentation fault, but the changes I made
> in the code haven't been reflected in the binary. I'm not that
> experienced as a programmer, so I don't know what happened (probably
> due to the static declaration of the functions?)
what happens is quite clear. It is a Sequence against a Sequence of
Sequence clash. There is another thread in the mailing list with this
exact problem and a lot of explanation. However nobody fixed this so
far.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] bluetooth serial vs. audio connection
2005-03-28 10:43 ` Marcel Holtmann
@ 2005-03-28 11:13 ` Andreas Fehr
0 siblings, 0 replies; 15+ messages in thread
From: Andreas Fehr @ 2005-03-28 11:13 UTC (permalink / raw)
To: BlueZ Mailing List
On Mon, 28 Mar 2005, 12:43, Marcel Holtmann (as MH) wrote:
Hi Marcel,
>MH: > Well, I tried to debug this segmentation fault, but the changes I
>MH: > made in the code haven't been reflected in the binary. I'm not
>MH: > that experienced as a programmer, so I don't know what happened
>MH: > (probably due to the static declaration of the functions?)
>MH:
>MH: what happens is quite clear. It is a Sequence against a Sequence of
>MH: Sequence clash. There is another thread in the mailing list with
>MH: this exact problem and a lot of explanation. However nobody fixed
>MH: this so far.
Well, I'm happy this sounds clear for you... :-)))
But I'll leave it for that. The hint with the channel did the trick
(perhaps, something like that should be documented somewhere? or is it
already?)
Thanks for all your time to help me solving this problem.
Andreas
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-03-28 11:13 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-27 11:27 [Bluez-users] bluetooth serial vs. audio connection Andreas Fehr
2005-03-27 11:37 ` Marcel Holtmann
2005-03-27 12:01 ` Andreas Fehr
2005-03-27 12:35 ` Marcel Holtmann
2005-03-27 15:40 ` Andreas Fehr
2005-03-27 15:45 ` Marcel Holtmann
2005-03-27 15:56 ` Andreas Fehr
2005-03-27 16:06 ` Marcel Holtmann
2005-03-27 16:21 ` Andreas Fehr
2005-03-27 16:58 ` Marcel Holtmann
2005-03-28 7:11 ` Andreas Fehr
2005-03-28 9:15 ` Andreas Fehr
2005-03-28 10:43 ` Marcel Holtmann
2005-03-28 11:13 ` Andreas Fehr
2005-03-27 16:12 ` Andreas Fehr
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.