开发者

responding to different device name for different Bluetooth discovery request

I want to write an application which respond different device name for different Bluetooth device discovery request. For example, I h开发者_如何学Pythonave two mobile phones A and B. I want to show my laptop Bluetooth device name as "device1" for "A" and as "device2" for "B"


Bluetooth software stacks generally (always?) cache the remote device names (and it can be very hard to get them to forget the old name and re-read it)...

So set your device to have device name "device1" get "A" to discover it, then change its name to "device2" and get "B" to discover it. "A" will always know it as "device1" and "B" will always know it as "device2". :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜