[update] fix scan error
This commit is contained in:
@@ -1995,6 +1995,9 @@ class CC2650SingleMasterCentralDevice(CC2650MasterDevice, Synchronized):
|
||||
# self._interface.flush()
|
||||
return False
|
||||
|
||||
if len(scan_response) <= 1:
|
||||
print('len(scan) <= 1, scan_response:', list(scan_response))
|
||||
return False
|
||||
# instruction format:
|
||||
# ins[0]: get_scan_response = 0x04
|
||||
# ins[1]: number of scanned device=0; a certain device = device_id (could be 1~8)
|
||||
|
||||
Reference in New Issue
Block a user