Linux bluetooth development
 help / color / mirror / Atom feed
* RE: [Bluez-users] DB aliases (wishlist)
@ 2003-04-10 13:26 EXT-Somil.Asthana
  2003-04-10 14:32 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: EXT-Somil.Asthana @ 2003-04-10 13:26 UTC (permalink / raw)
  To: maxk, tomi, bluez-users

Hi Max
  Just a thought !! Do you really think this is necessary feature because I=
 added a simple cmd in hcitool -i hciX lname <local_name> which calls issue=
s HCI_CMD to write local name. It was nothing more than cut & paste from hc=
id/main.c file which writes local name...

regards
Somil


-----Original Message-----
From: ext Max Krasnyansky [mailto:maxk@qualcomm.com]
Sent: Monday, April 07, 2003 4:02 PM
To: Dr. Thomas Bengs; bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] DB aliases (wishlist)


At 02:20 PM 4/4/2003, Dr. Thomas Bengs wrote:

>Hello Paul Hedderly,
>
>You wrote on 04/04/03:
>> I would love to be able to populate a file like /etc/bluetooth/aliases
>> which would be like /etc/hosts, ie:
>> 00:E0:03:25:08:72     pauls-laptop
>> Any chance?
>
>me too :)
Next major version of bluez utils might have something like that.=20

Max



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:=20
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!=20
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger=
=20
for complex code. Debugging C/C++ programs can leave you feeling lost and=20
disoriented. TotalView can help you find your way. Available on major UNIX=20
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: [Bluez-users] DB aliases (wishlist)
@ 2003-04-15 14:40 EXT-Somil.Asthana
  0 siblings, 0 replies; 3+ messages in thread
From: EXT-Somil.Asthana @ 2003-04-15 14:40 UTC (permalink / raw)
  To: marcel; +Cc: bluez-users

Hi Marcel=20
  I am still not able to get feature of keeping remote list of devices. I w=
ent through the email thread but could nt get much (unless its something re=
lated to rfcomm) . Since bluetooth is for adhoc scenarios remote devices wi=
ll come and go. The list of remote devices can never be accurate at any giv=
en time. Of course its possible to run a process whose sole purpose is to u=
pdate this device list file. May be I am nt able to understand big picture =
because you agree that this approach , having a separate process, has a maj=
or flaw -- devices will only do inq & paging & page scanning no useful work=
 . I am nt sure how can be develop this feature. Actually I need something =
like this feature. Each devices know about the other devices in the piconet=
  atleast their names so I can run m-DNS over it and make connections on IP=
 what ever.

I have few more doubts may be this is good time to get cleared. I have two =
separate piconet which are using different pins which means different link =
key now I want to join them ,scatternet. suppose A-->B master A of piconet =
A conn to master B of piconet B. A has /bin/bluepin (echo PIN:XXXX) which i=
s pin of B piconet  and during the connection after PIN exchange link key w=
ill be generated & stored as /etc/bluetooth/link_key (hope you are with me)=
. So at A I believe there should be two link_key one for its own piconet an=
d one for being a part of B's piconet. But this doesnt seems to work. I cou=
ldnt connect A-->B ;I got weird errors on hcidump A : No Connection and on =
B : LMP PDU not allowed. I went and deleted link_key on A & gave a shot aga=
in it works fine. Sometimes with iPAQs I have to delete link_key file (beca=
use they become stale ??). Have you tested these scenarios ...

When I do ps I see kbnepd bnep0 etc which is some kind of daemon running on=
 it but I never got the code where is kbnep implemented. The reason why I w=
ant to know this because I want to distinguish two cases. Disconnection don=
e by devices explicitly and Disconnection occurred because device got out o=
f range.

regards
Somil  =20

-----Original Message-----
From: ext Marcel Holtmann [mailto:marcel@rvs.uni-bielefeld.de]
Sent: Thursday, April 10, 2003 10:33 AM
To: Asthana Somil (EXT-NRC/Boston)
Cc: Max Krasnyansky; tomi@virago.in-chemnitz.de; BlueZMailing List
Subject: RE: [Bluez-users] DB aliases (wishlist)


Hi Somil,

>   Just a thought !! Do you really think this is necessary feature because=
 I added a simple cmd in hcitool -i hciX lname <local_name> which calls iss=
ues HCI_CMD to write local name. It was nothing more than cut & paste from =
hcid/main.c file which writes local name...

we don't need this, because you can use

	hciconfig hci0 name <local-name>

and I don't see what this have to do with the mail from Paul. Such an
aliases, hosts or devices file is for the remote devices, not the local
ones.

Regards

Marcel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-15 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-10 13:26 [Bluez-users] DB aliases (wishlist) EXT-Somil.Asthana
2003-04-10 14:32 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2003-04-15 14:40 EXT-Somil.Asthana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox