1508 @return flag indicating the new state of the Bluetooth interface |
1508 @return flag indicating the new state of the Bluetooth interface |
1509 @rtype bool |
1509 @rtype bool |
1510 """ |
1510 """ |
1511 return False |
1511 return False |
1512 |
1512 |
|
1513 def getDeviceScan(self, timeout=10): |
|
1514 """ |
|
1515 Public method to perform a Bluetooth device scan. |
|
1516 |
|
1517 @param timeout duration of the device scan in seconds (defaults |
|
1518 to 10) |
|
1519 @type int (optional) |
|
1520 @return tuple containing a dictionary with the scan results and |
|
1521 an error string |
|
1522 @rtype tuple of (dict, str) |
|
1523 """ |
|
1524 return {}, "" |
|
1525 |
1513 ################################################################## |
1526 ################################################################## |
1514 ## Methods below implement some utility methods |
1527 ## Methods below implement some utility methods |
1515 ################################################################## |
1528 ################################################################## |
1516 |
1529 |
1517 def bool2str(self, val, capitalized=True): |
1530 def bool2str(self, val, capitalized=True): |