src/eric7/MicroPython/Devices/CircuitPythonDevices.py

branch
eric7
changeset 11167
a3f5af773bc7
parent 11090
f5f5f5803935
child 11174
ab097070aedf
equal deleted inserted replaced
11166:fd914f897dcf 11167:a3f5af773bc7
1906 advType = ADV_SCAN_IND 1906 advType = ADV_SCAN_IND
1907 scanResults[address].update(advType, res["rssi"], res["advertisement"]) 1907 scanResults[address].update(advType, res["rssi"], res["advertisement"])
1908 1908
1909 return scanResults, "" 1909 return scanResults, ""
1910 1910
1911 def supportsDeviceScan(self):
1912 """
1913 Public method to indicate, that the Bluetooth implementation supports
1914 scanning for devices.
1915
1916 @return flag indicating that the scanning function is supported
1917 @rtype bool
1918 """
1919 return True
1920
1911 ################################################################## 1921 ##################################################################
1912 ## Methods below implement NTP related methods 1922 ## Methods below implement NTP related methods
1913 ################################################################## 1923 ##################################################################
1914 1924
1915 def hasNetworkTime(self): 1925 def hasNetworkTime(self):

eric ide

mercurial