diff --git a/pyproject.toml b/pyproject.toml index 4c81ddf..e9ac9dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "infuse_iot" -version = "0.5.0" +version = "0.6.0" authors = [{name = "Embeint Holdings Pty Ltd", email = "support@embeint.com"}] description = "Infuse-IoT Platform python package" classifiers = [ diff --git a/src/infuse_iot/generated/kv_definitions.py b/src/infuse_iot/generated/kv_definitions.py index 1412f3d..0a05c51 100644 --- a/src/infuse_iot/generated/kv_definitions.py +++ b/src/infuse_iot/generated/kv_definitions.py @@ -206,6 +206,17 @@ class board_target(VLACompatLittleEndianStruct): vla_field = ("board_target", structs.kv_string) _pack_ = 1 + class secondary_remote_public_key(VLACompatLittleEndianStruct): + """Storage of secondary remote public key""" + + NAME = "SECONDARY_REMOTE_PUBLIC_KEY" + BASE_ID = 8 + RANGE = 1 + _fields_ = [ + ("public_key", 32 * ctypes.c_uint8), + ] + _pack_ = 1 + class fixed_location(VLACompatLittleEndianStruct): """Fixed global location of the device""" @@ -551,6 +562,7 @@ class secure_storage_reserved(VLACompatLittleEndianStruct): 5: infuse_application_id, 6: application_active, 7: board_target, + 8: secondary_remote_public_key, 10: fixed_location, 20: wifi_ssid, 21: wifi_psk, diff --git a/src/infuse_iot/generated/rpc_definitions.py b/src/infuse_iot/generated/rpc_definitions.py index 63ea244..b9f9e89 100644 --- a/src/infuse_iot/generated/rpc_definitions.py +++ b/src/infuse_iot/generated/rpc_definitions.py @@ -272,6 +272,7 @@ class rpc_enum_key_id(enum.IntEnum): NETWORK_KEY = 0 SECONDARY_NETWORK_KEY = 1 + SECONDARY_REMOTE_PUBLIC_KEY = 2 class rpc_enum_key_action(enum.IntEnum): diff --git a/src/infuse_iot/tools/localhost/index.html b/src/infuse_iot/tools/localhost/index.html index 90f5916..6bf88c8 100644 --- a/src/infuse_iot/tools/localhost/index.html +++ b/src/infuse_iot/tools/localhost/index.html @@ -155,7 +155,6 @@