|
|
|
@ -43,6 +43,7 @@ class MeshMultiListener(MeshArgsParse): |
|
|
|
self.devices:List[MeshtDevice] = [] |
|
|
|
self.devicesUuidHashToUuid = {} |
|
|
|
self.defaultDeviceUUID = "" |
|
|
|
self.defaultDeviceUUIDHash = "" |
|
|
|
self.readConfig(args.change_workdir, args.mesh_config) |
|
|
|
|
|
|
|
''' |
|
|
|
@ -92,6 +93,7 @@ class MeshMultiListener(MeshArgsParse): |
|
|
|
|
|
|
|
#set default mesh |
|
|
|
self.defaultDeviceUUID = self.json_config[0]["uuid"] |
|
|
|
self.defaultDeviceUUIDHash = md5hash(self.defaultDeviceUUID) |
|
|
|
for device in self.devices: |
|
|
|
self.devicesUuidHashToUuid[md5hash(device.device_uuid)] = device.device_uuid |
|
|
|
|
|
|
|
|