Skip to content

Commit 1bcc404

Browse files
committed
generated: regenerate definitions
Regenerate definitions from main repo. Signed-off-by: Jordan Yates <jordan@embeint.com>
1 parent 9d41ef1 commit 1bcc404

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

src/infuse_iot/generated/kv_definitions.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,18 @@ class memfault_disable(VLACompatLittleEndianStruct):
439439
]
440440
_pack_ = 1
441441

442+
class gateway_bluetooth_forward_options(VLACompatLittleEndianStruct):
443+
"""Forwarding configuration for Bluetooth advertising packets"""
444+
445+
NAME = "GATEWAY_BLUETOOTH_FORWARD_OPTIONS"
446+
BASE_ID = 55
447+
RANGE = 1
448+
_fields_ = [
449+
("flags", ctypes.c_uint8),
450+
("percent", ctypes.c_uint8),
451+
]
452+
_pack_ = 1
453+
442454
class gravity_reference(VLACompatLittleEndianStruct):
443455
"""Reference gravity vector for tilt calculations"""
444456

@@ -583,6 +595,7 @@ class secure_storage_reserved(VLACompatLittleEndianStruct):
583595
52: bluetooth_throughput_limit,
584596
53: led_disable_daily_time_range,
585597
54: memfault_disable,
598+
55: gateway_bluetooth_forward_options,
586599
60: gravity_reference,
587600
100: geofence,
588601
101: geofence,

src/infuse_iot/generated/tdf_definitions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class tdf_struct_eui48(TdfStructBase):
194194

195195
@property
196196
def val(self):
197-
return int.from_bytes(self._val, byteorder="little")
197+
return int.from_bytes(self._val, byteorder="big")
198198

199199
class tdf_struct_wifi_network_params(TdfStructBase):
200200
"""WiFi network parameters"""

0 commit comments

Comments
 (0)