how to programatically determine Bluetooth master/slave roles?
问题 So in a bluetooth piconet, there is one master with upto seven slaves. The master sets the clock and frequency hop that the slaves sync with. But is there a way to determine which device is the master and which is the slave? I'm mainly interested in portable devices (Android,iPhone) but beggars can't be choosers, if anybody has info in this field I would be interested. Thanks 回答1: I don't think it's possible to do it programatically.The master/slave roles which a device assumes is invisible