2017-11-22 7 views

答えて

0

はい、私たちは

bluetooth = Bluetooth() 
bluetooth.start_scan(5) 
while bluetooth.isscanning(): 
adv = bluetooth.get_adv() 
if adv: 
if(str(binascii.hexlify(adv.mac).decode()) == '78a50454b267'): 
conn = bluetooth.connect(adv.mac) 
print(type(conn)) 
を使用してMACアドレスを持つすべてのBluetoothセンサーを接続することができます
関連する問題