get remote bt address
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Manjunath,
Quoted 6 lines
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_idor 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/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
Quoted 16 lines · Marcel Holtmann
Hi Manjunath,
Quoted 6 lines
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_idor 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
Quoted 10 lines
-------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 2 lines · Manjunath Prabhu
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Am Don, den 23.12.2004 schrieb Manjunath Prabhu um 13:18:
Quoted 3 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users