DPP/DLT functionality #36
|
@ -118,20 +118,20 @@ def register_device_dlt(chid, phid, ev_uuid, user):
|
||||||
|
|
||||||
|
|
||||||
# TODO is neccesary?
|
# TODO is neccesary?
|
||||||
# if settings.get('ID_FEDERATED'):
|
if settings.get('ID_FEDERATED'):
|
||||||
# cny = 1
|
cny = 1
|
||||||
# while cny:
|
while cny:
|
||||||
# try:
|
try:
|
||||||
# api.add_service(
|
api.add_service(
|
||||||
# chid,
|
chid,
|
||||||
# 'DeviceHub',
|
'DeviceHub',
|
||||||
# settings.get('ID_FEDERATED'),
|
settings.get('ID_FEDERATED'),
|
||||||
# 'Inventory service',
|
'Inventory service',
|
||||||
# 'Inv',
|
'Inv',
|
||||||
# )
|
)
|
||||||
# cny = 0
|
cny = 0
|
||||||
# except Exception:
|
except Exception:
|
||||||
# time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
||||||
|
|
||||||
def register_passport_dlt(chid, phid, ev_uuid, user):
|
def register_passport_dlt(chid, phid, ev_uuid, user):
|
||||||
|
|
Loading…
Reference in a new issue