Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
12 changes: 12 additions & 0 deletions src/infuse_iot/generated/kv_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""

Expand Down Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions src/infuse_iot/generated/rpc_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
1 change: 0 additions & 1 deletion src/infuse_iot/tools/localhost/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ <h1>Infuse-IoT TDF Viewer</h1>
const currentRows = shownAppTable.getData();
const updatedData = apps.map((str, index) => {
const existingRow = currentRows.find(row => row.name === str);
console.log(str, existingRow);
return existingRow
? existingRow // Preserve the existing row if found
: { id: `row-${index}`, name: str, checked: true };
Expand Down