* [Bluez-users] get remote bt address
@ 2004-12-23 11:54 Manjunath Prabhu
2004-12-23 11:58 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Manjunath Prabhu @ 2004-12-23 11:54 UTC (permalink / raw)
To: bluez-users
Hi marcel,
I am using l2cap sockets. On the receiving side, i want to find out
the remote (sender's) bluetooth address. i do not have the dev_id or
handle of the sender which has already established a connection. I
want to get it in my c code, not using hcitool con or other means.
I am trying getpeername, but it doesn't seem to work. Hope you can
suggest something.
Thanx,
Regards,
Manjunath
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] get remote bt address
2004-12-23 11:54 [Bluez-users] get remote bt address Manjunath Prabhu
@ 2004-12-23 11:58 ` Marcel Holtmann
2004-12-23 12:18 ` Manjunath Prabhu
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-12-23 11:58 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Manjunath,
> I am using l2cap sockets. On the receiving side, i want to find out
> the remote (sender's) bluetooth address. i do not have the dev_id or
> handle of the sender which has already established a connection. I
> want to get it in my c code, not using hcitool con or other means.
> I am trying getpeername, but it doesn't seem to work. Hope you can
> suggest something.
the getpeername() is the right function and it works. If not, then your
code is wrong.
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] get remote bt address
2004-12-23 11:58 ` Marcel Holtmann
@ 2004-12-23 12:18 ` Manjunath Prabhu
2004-12-23 16:05 ` Jay Summet
2004-12-23 17:19 ` Erwin Authried
0 siblings, 2 replies; 5+ messages in thread
From: Manjunath Prabhu @ 2004-12-23 12:18 UTC (permalink / raw)
To: bluez-users
Hi marcel,
yup, getpeername() works.....had done something silly.
i have 2 questions about BT products,
the csr press release says BT-EDR chips are in market......have BT
dongles with EDR come into the market???
Also, which would be the best Bluetooth PCMCIA card , the ones with
linux drivers , for 2.6 kernels?
thanx once again,
regards,
manjunath
On Thu, 23 Dec 2004 12:58:29 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Manjunath,
>
> > I am using l2cap sockets. On the receiving side, i want to find out
> > the remote (sender's) bluetooth address. i do not have the dev_id or
> > handle of the sender which has already established a connection. I
> > want to get it in my c code, not using hcitool con or other means.
> > I am trying getpeername, but it doesn't seem to work. Hope you can
> > suggest something.
>
> the getpeername() is the right function and it works. If not, then your
> code is wrong.
>
> 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://productguide.itmanagersjournal.com/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] get remote bt address
2004-12-23 12:18 ` Manjunath Prabhu
@ 2004-12-23 16:05 ` Jay Summet
2004-12-23 17:19 ` Erwin Authried
1 sibling, 0 replies; 5+ messages in thread
From: Jay Summet @ 2004-12-23 16:05 UTC (permalink / raw)
To: bluez-users
Manjunath Prabhu wrote:
> Also, which would be the best Bluetooth PCMCIA card , the ones with
> linux drivers , for 2.6 kernels?
I'm using a Zoom bluetooth adapter (Class 1, w/ 100m claimed range and pop-out
antenna) with 2.6.8 and am very happy with it. (It's also inexpensive to buy
online...)
Keep in mind that I only need it to do 6kbps to talk with my phone, so I've
never tested it under a high-throughput situation, but I know of no reason it
wouldn't work as well as any other bluetooth card...
more comments:
http://www.summet.com/x31/zoom.html
Jay
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] get remote bt address
2004-12-23 12:18 ` Manjunath Prabhu
2004-12-23 16:05 ` Jay Summet
@ 2004-12-23 17:19 ` Erwin Authried
1 sibling, 0 replies; 5+ messages in thread
From: Erwin Authried @ 2004-12-23 17:19 UTC (permalink / raw)
To: bluez-users@lists.sourceforge.net
Am Don, den 23.12.2004 schrieb Manjunath Prabhu um 13:18:
> Also, which would be the best Bluetooth PCMCIA card , the ones with
> linux drivers , for 2.6 kernels?
>
the Conceptronic CBT100C is a class 1 card for < EUR 50,-.
I have used it with 2.4.20uc1 (uClinux) with success. With "regular"
Linux (2.4.22), the socket driver needed a small patch because the card
is encoded as a low voltage+3.3V card and wasn't powered up at all.
Regards,
Erwin
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-12-23 17:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-23 11:54 [Bluez-users] get remote bt address Manjunath Prabhu
2004-12-23 11:58 ` Marcel Holtmann
2004-12-23 12:18 ` Manjunath Prabhu
2004-12-23 16:05 ` Jay Summet
2004-12-23 17:19 ` Erwin Authried
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox