This commit is contained in:
jaydee
2022-12-30 12:56:03 +01:00

View File

@@ -15,7 +15,7 @@ _IMP_FILE = "/share/external/DEV3304_1/auto_import"
_DEV_DATA = "/share/external/DEV3304_1/MISC/version.txt" _DEV_DATA = "/share/external/DEV3304_1/MISC/version.txt"
print("###############")
#sys.exit() #sys.exit()
while True: while True:
@@ -37,6 +37,8 @@ while True:
print("--------------") print("--------------")
print(strValue) print(strValue)
_DEV_CONT = json.loads(strValue) _DEV_CONT = json.loads(strValue)
print(_DEV_CONT)
print(_DEV_CONT["wifi mac"])
wifimac = _DEV_CONT["wifi mac"] wifimac = _DEV_CONT["wifi mac"]
if wifimac == "2474f742c017": if wifimac == "2474f742c017":
_DEV = "gopro9_1" _DEV = "gopro9_1"