@@ -244,6 +244,16 @@ class rpc_struct_thread_stats(VLACompatLittleEndianStruct):
244244 _pack_ = 1
245245
246246
247+ class rpc_struct_data_logger_flushed (VLACompatLittleEndianStruct ):
248+ """IPv6 address"""
249+
250+ _fields_ = [
251+ ("logger" , ctypes .c_uint8 ),
252+ ("num" , ctypes .c_uint16 ),
253+ ]
254+ _pack_ = 1
255+
256+
247257class rpc_enum_bt_le_addr_type (enum .IntEnum ):
248258 """Bluetooth LE address type"""
249259
@@ -279,6 +289,17 @@ class rpc_enum_data_logger(enum.IntEnum):
279289 UDP = 3
280290
281291
292+ class rpc_enum_tdf_data_logger (enum .IntEnum ):
293+ """TDF data Logger identifier"""
294+
295+ FLASH_ONBOARD = 1
296+ FLASH_REMOVABLE = 2
297+ SERIAL = 4
298+ UDP = 8
299+ BT_ADV = 16
300+ BT_PERIPH = 32
301+
302+
282303class rpc_enum_zperf_data_source (enum .IntEnum ):
283304 """Source for zperf data upload"""
284305
@@ -1039,6 +1060,29 @@ class response(VLACompatLittleEndianStruct):
10391060 _pack_ = 1
10401061
10411062
1063+ class tdf_data_logger_flush (RPCDefinitionBase ):
1064+ """Write an annotation to the device"""
1065+
1066+ NAME = "tdf_data_logger_flush"
1067+ HELP = "Write an annotation to the device"
1068+ DESCRIPTION = "Write an annotation to the device"
1069+ COMMAND_ID = 42
1070+
1071+ class request (VLACompatLittleEndianStruct ):
1072+ _fields_ = [
1073+ ("loggers" , ctypes .c_uint8 ),
1074+ ]
1075+ _pack_ = 1
1076+
1077+ class response (VLACompatLittleEndianStruct ):
1078+ _fields_ = [
1079+ ("num" , ctypes .c_uint8 ),
1080+ ]
1081+ vla_field = ("flushed" , 0 * rpc_struct_data_logger_flushed )
1082+ vla_counted_by = "num"
1083+ _pack_ = 1
1084+
1085+
10421086class bt_connect_infuse (RPCDefinitionBase ):
10431087 """Connect to an Infuse-IoT Bluetooth device"""
10441088
@@ -1371,6 +1415,7 @@ class response(VLACompatLittleEndianStruct):
13711415 coap_download_v2 .COMMAND_ID : coap_download_v2 ,
13721416 file_write_basic .COMMAND_ID : file_write_basic ,
13731417 annotate .COMMAND_ID : annotate ,
1418+ tdf_data_logger_flush .COMMAND_ID : tdf_data_logger_flush ,
13741419 bt_connect_infuse .COMMAND_ID : bt_connect_infuse ,
13751420 bt_disconnect .COMMAND_ID : bt_disconnect ,
13761421 bt_file_copy_basic .COMMAND_ID : bt_file_copy_basic ,
@@ -1406,10 +1451,12 @@ class response(VLACompatLittleEndianStruct):
14061451 "rpc_struct_data_logger_chunk" ,
14071452 "rpc_struct_public_key_info_256bit" ,
14081453 "rpc_struct_thread_stats" ,
1454+ "rpc_struct_data_logger_flushed" ,
14091455 "rpc_enum_bt_le_addr_type" ,
14101456 "rpc_enum_file_action" ,
14111457 "rpc_enum_infuse_bt_characteristic" ,
14121458 "rpc_enum_data_logger" ,
1459+ "rpc_enum_tdf_data_logger" ,
14131460 "rpc_enum_zperf_data_source" ,
14141461 "rpc_enum_key_id" ,
14151462 "rpc_enum_key_action" ,
@@ -1445,6 +1492,7 @@ class response(VLACompatLittleEndianStruct):
14451492 "coap_download_v2" ,
14461493 "file_write_basic" ,
14471494 "annotate" ,
1495+ "tdf_data_logger_flush" ,
14481496 "bt_connect_infuse" ,
14491497 "bt_disconnect" ,
14501498 "bt_file_copy_basic" ,
0 commit comments