Esempio n. 1
0
def list_devices(cmd,
                 app_id: str,
                 token=None,
                 central_dns_suffix=CENTRAL_ENDPOINT):
    provider = CentralDeviceProvider(cmd=cmd, app_id=app_id, token=token)
    return provider.list_devices()
Esempio n. 2
0
def list_devices(cmd,
                 app_id: str,
                 token=None,
                 central_dns_suffix="azureiotcentral.com"):
    provider = CentralDeviceProvider(cmd=cmd, app_id=app_id, token=token)
    return provider.list_devices()