Exemplo n.º 1
0
def is_bt_up():
    if connman.is_technology_available('bluetooth') == False:
        journallog('No bluetooth hardware available.')
        #exit()
        return False
    if connman.is_technology_enabled('bluetooth') == False:
        journallog('Bluetooth is disabled.')
        #exit()
        return False
    return True
Exemplo n.º 2
0
def is_bluetooth_available():
    return connman.is_technology_available("bluetooth")
Exemplo n.º 3
0
def is_bluetooth_available():
    return connman.is_technology_available('bluetooth')
Exemplo n.º 4
0
def is_wifi_available():
    return connman.is_technology_available('wifi')
Exemplo n.º 5
0
def is_wifi_available():
    return connman.is_technology_available('wifi')