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): |