def _get_technologies():
    '''
    Returns the technologies of connman
    '''
    tech = ''
    technologies = pyconnman.ConnManager().get_technologies()
    for path, params in technologies:
        tech += '{0}\n\tName = {1}\n\tType = {2}\n\tPowered = {3}\n\tConnected = {4}\n'.format(
            path, params['Name'], params['Type'], params['Powered'] == 1, params['Connected'] == 1)
    return tech
def _get_technologies ( ) : tech = '' technologies = pyconnman . ConnManager ( ) . get_technologies ( ) for path , params in technologies : tech += '{0}\n\tName = {1}\n\tType = {2}\n\tPowered = {3}\n\tConnected = {4}\n' . format ( path , params [ 'Name' ] , params [ 'Type' ] , params [ 'Powered' ] == 1 , params [ 'Connected' ] == 1 ) return tech
Returns the technologies of connman