Skip to contentSkip to conversation

dynamically change the local device name

DISCUSSION Ed Tsang 2 participants 2 messages Jan 25, 2010 Bluetooth drivers

lore
Share & tools
lore

Ed Tsang

author
#0 lore raw

Hi,
I am looking into if it is possible to change the local device name base on the bluetooth address of the remote device.
i.e. when a remote device request our name, we return a different name base on the the address of the remote device.
There seem to be a hci_write_local_name to store the local name, but I could not find something similar to hci_pin_code_request_reply which seem to allow us to return a different value each time.
Is there any work around??

Regards, Ed

      __________________________________________________________________

Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/

maintainer
#1 lore raw

Hi Ed,

Quoted 4 lines

I am looking into if it is possible to change the local device name base on the bluetooth address of the remote device.
i.e. when a remote device request our name, we return a different name base on the the address of the remote device.
There seem to be a hci_write_local_name to store the local name, but I could not find something similar to hci_pin_code_request_reply which seem to allow us to return a different value each time.
Is there any work around??

because there is nothing like this. This can not be done.

Regards

Marcel