Skip to contentSkip to conversation

Bluetooth v2

Bluez-devel Peter Robinson 3 participants 12 messages May 14, 2005 – May 29, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi All,

Was having a bit of a look online for a BT2 dongle of some description. Does anyone know of a bt2 dongle that works well with the bluez stack that's readily available? Or aren't they really out yet?

Pete

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Pete,

Quoted 3 lines

Was having a bit of a look online for a BT2 dongle of some description. Does anyone know of a bt2 dongle that works well with the bluez stack that's readily available? Or aren't they really out yet?

do you mean Bluetooth 2.0 + EDR? No dongle that I know of is available. You can only order Dell or Apple notebooks with CSR BlueCore4 chips.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Hi Marcel,

Quoted 6 lines
Quoted 3 lines

Was having a bit of a look online for a BT2 dongle of some description. Does anyone know of a bt2 dongle that works well with the bluez stack that's readily available? Or aren't they really out yet?

=20
do you mean Bluetooth 2.0 + EDR? No dongle that I know of is available. You can only order Dell or Apple notebooks with CSR BlueCore4 chips.

Yes. I knew about the apple, although not of the Dell. I'm looking to get a bluetooth dongle and thought seeing as the 2 standard was out that I should probably get the latest and greatest but it seems its not quite there yet. Any idea when we should start seeing the newer ones and is it supported by bluez?

Pete

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#3 lore raw

Hi Pete,

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

Was having a bit of a look online for a BT2 dongle of some description. Does anyone know of a bt2 dongle that works well with the bluez stack that's readily available? Or aren't they really out yet?

Quoted 8 lines
Quoted 2 lines

do you mean Bluetooth 2.0 + EDR? No dongle that I know of is available. You can only order Dell or Apple notebooks with CSR BlueCore4 chips.

Yes. I knew about the apple, although not of the Dell. I'm looking to get a bluetooth dongle and thought seeing as the 2 standard was out that I should probably get the latest and greatest but it seems its not quite there yet. Any idea when we should start seeing the newer ones and is it supported by bluez?

no one has announced an EDR dongle so far. And yes, it is fully supported by BlueZ.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw

[Bluez-devel] RSSI from rfcomm

I'm using pretty standard sockets to create a bluetooth connection. I can communicate fine with my J2ME app however I was wondering if it is at all possible to read the RSSI from an RFCOMM layer connection. I can read it fine if I make a lower level connection, but this is not at all suited to my application..

So, how can I read the RSSI when I dont have access to all the data I need to pass to the hci_read_rssi() method??

Thanks.

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#5 lore raw

Re: [Bluez-devel] RSSI from rfcomm

Hi Michael,

Quoted 8 lines

I'm using pretty standard sockets to create a bluetooth connection. I can communicate fine with my J2ME app however I was wondering if it is at all possible to read the RSSI from an RFCOMM layer connection. I can read it fine if I make a lower level connection, but this is not at all suited to my application..

So, how can I read the RSSI when I dont have access to all the data I need to pass to the hci_read_rssi() method??

you only need the ACL connection handle and you can get this with a getsockopt() call through RFCOMM. Check rctest for an example.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#6 lore raw

Re: [Bluez-devel] RSSI from rfcomm

Thanks for that. I think I have code that will work now. This is the line that I pass to the hci_read_rssi() method: hci_read_rssi(client_sock, htobs(rfconn.hci_handle), &rssi, 25000)

My app doesn't have fancy error messages so I spent ages trying to work out why it doesnt work, no luck, but rctest gives the error "Can't get RFCOMM connection information: Protocol not available (92)"

Do you know what can cause this error, or give me a head start on how to track it down?

Im using a complete install of fedora core 3

Thank you
-michael

Quoted 20 lines · Marcel Holtmann

Hi Michael,

Quoted 5 lines

I'm using pretty standard sockets to create a bluetooth connection. I can communicate fine with my J2ME app however I was wondering if it is at all possible to read the RSSI from an RFCOMM layer connection. I can read it fine if I make a lower level connection, but this is not at all suited to my application..

So, how can I read the RSSI when I dont have access to all the data I need to pass to the hci_read_rssi() method??

you only need the ACL connection handle and you can get this with a getsockopt() call through RFCOMM. Check rctest for an example.

Regards

Marcel

Quoted 13 lines

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#7 lore raw

Re: [Bluez-devel] RSSI from rfcomm

Hi Michael,

Quoted 4 lines

Thanks for that. I think I have code that will work now. This is the line that I pass to the hci_read_rssi() method:
hci_read_rssi(client_sock, htobs(rfconn.hci_handle), &rssi, 25000)

Quoted 8 lines

My app doesn't have fancy error messages so I spent ages trying to work out why it doesnt work, no luck, but rctest gives the error "Can't get RFCOMM connection information: Protocol not available (92)"

Do you know what can cause this error, or give me a head start on how to track it down?

Im using a complete install of fedora core 3

maybe your kernel is too old. I added that feature to RFCOMM very late.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#8 lore raw

Re: [Bluez-devel] RSSI from rfcomm

Quoted 23 lines · Marcel Holtmann

Hi Michael,

Quoted 9 lines

Thanks for that. I think I have code that will work now. This is the line that I pass to the hci_read_rssi() method: hci_read_rssi(client_sock, htobs(rfconn.hci_handle), &rssi, 25000)

My app doesn't have fancy error messages so I spent ages trying to work out why it doesnt work, no luck, but rctest gives the error "Can't get RFCOMM connection information: Protocol not available (92)"

Do you know what can cause this error, or give me a head start on how to track it down?

Im using a complete install of fedora core 3

maybe your kernel is too old. I added that feature to RFCOMM very late.

Regards

Marcel

Quoted 13 lines

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

What version do I need to use this feature??

I'm using version 2.6.9-1.667

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#9 lore raw

Re: [Bluez-devel] RSSI from rfcomm

Hi Michael,

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

Thanks for that. I think I have code that will work now. This is the line that I pass to the hci_read_rssi() method:
hci_read_rssi(client_sock, htobs(rfconn.hci_handle), &rssi, 25000)

My app doesn't have fancy error messages so I spent ages trying to work out why it doesnt work, no luck, but rctest gives the error "Can't get RFCOMM connection information: Protocol not available (92)"

Do you know what can cause this error, or give me a head start on how to track it down?

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Im using a complete install of fedora core 3

maybe your kernel is too old. I added that feature to RFCOMM very late.

What version do I need to use this feature??

I'm using version 2.6.9-1.667

the first kernel would be 2.6.11 or 2.6.10-mh4.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#10 lore raw

Re: [Bluez-devel] RSSI from rfcomm

Quoted 23 lines · Marcel Holtmann

Hi Michael,

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Thanks for that. I think I have code that will work now. This is the line that I pass to the hci_read_rssi() method: hci_read_rssi(client_sock, htobs(rfconn.hci_handle), &rssi, 25000)

My app doesn't have fancy error messages so I spent ages trying to work out why it doesnt work, no luck, but rctest gives the error "Can't get RFCOMM connection information: Protocol not available (92)"

Do you know what can cause this error, or give me a head start on how to track it down?

Im using a complete install of fedora core 3

Quoted 9 lines
Quoted 4 lines

maybe your kernel is too old. I added that feature to RFCOMM very late.

What version do I need to use this feature??

I'm using version 2.6.9-1.667

Quoted 6 lines

the first kernel would be 2.6.11 or 2.6.10-mh4.

Regards

Marcel

I have upgraded to 2.6.11. Now getsockopt() works ok, but I can't call hci_read_rssi() without errors! It still says protocol not available.Is there another way to read the RSSI from RFCOMM?

If anyone is interested in looking over my code - please let me know.

Any help is greatly appreciated..

Thank you

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#11 lore raw

Re: [Bluez-devel] RSSI from rfcomm

Hi Michael,

Quoted 3 lines

I have upgraded to 2.6.11. Now getsockopt() works ok, but I can't call hci_read_rssi() without errors! It still says protocol not available.Is there another way to read the RSSI from RFCOMM?

the device descriptor for hci_read_rssi() comes from hci_open_dev().

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel