We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80bc396 commit c02f4f7Copy full SHA for c02f4f7
datapoints.py
@@ -46,10 +46,10 @@
46
devices = proxy.listDevices()
47
48
for device in devices:
49
+ paramsets = {}
50
for i in range(len(device['PARAMSETS'])):
- ps = device['PARAMSETS'][i]
51
try:
52
- device['PARAMSETS'][i] = proxy.getParamsetDescription(device['ADDRESS'], ps)
+ paramsets[device['PARAMSETS'][i]] = proxy.getParamsetDescription(device['ADDRESS'], device['PARAMSETS'][i])
53
except Exception:
54
pass
55
if 'CHILDREN' in device:
@@ -63,6 +63,7 @@
63
device['PHYSICAL_ADDRESS'] = device['PHYSICAL_ADDRESS'] + r
64
if 'RF_ADDRESS' in device:
65
device['RF_ADDRESS'] = device['RF_ADDRESS'] + r
66
+ device['PARAMSETS'] = paramsets
67
68
if not outfile:
69
pprint.pprint(devices)
0 commit comments