Skip to content

Commit c9c2176

Browse files
committed
generated: regenerate definitions
Regenerate definitions from infuse-sdk. Signed-off-by: Jordan Yates <jordan@embeint.com>
1 parent 2cce4ab commit c9c2176

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

src/infuse_iot/generated/kv_definitions.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,17 @@ class board_target(VLACompatLittleEndianStruct):
206206
vla_field = ("board_target", structs.kv_string)
207207
_pack_ = 1
208208

209+
class secondary_remote_public_key(VLACompatLittleEndianStruct):
210+
"""Storage of secondary remote public key"""
211+
212+
NAME = "SECONDARY_REMOTE_PUBLIC_KEY"
213+
BASE_ID = 8
214+
RANGE = 1
215+
_fields_ = [
216+
("public_key", 32 * ctypes.c_uint8),
217+
]
218+
_pack_ = 1
219+
209220
class fixed_location(VLACompatLittleEndianStruct):
210221
"""Fixed global location of the device"""
211222

@@ -551,6 +562,7 @@ class secure_storage_reserved(VLACompatLittleEndianStruct):
551562
5: infuse_application_id,
552563
6: application_active,
553564
7: board_target,
565+
8: secondary_remote_public_key,
554566
10: fixed_location,
555567
20: wifi_ssid,
556568
21: wifi_psk,

src/infuse_iot/generated/rpc_definitions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ class rpc_enum_key_id(enum.IntEnum):
272272

273273
NETWORK_KEY = 0
274274
SECONDARY_NETWORK_KEY = 1
275+
SECONDARY_REMOTE_PUBLIC_KEY = 2
275276

276277

277278
class rpc_enum_key_action(enum.IntEnum):

0 commit comments

Comments
 (0)