OPTIGA™ Trust M
Host Library Documentation
optiga_set_data_object Struct Reference

Specifies the data structure for data to be written to OPTIGA. More...

#include <optiga_lib_common.h>

Data Fields

uint16_t oid
 Object ID to be written. More...
 
uint16_t offset
 Offset of data with the object ID. More...
 
uint16_t size
 Write data size. More...
 
uint16_t written_size
 Contains length of data written in across multiple transceive calls. Used for chaining purpose. More...
 
const uint8_t * buffer
 Wrtie data buffer pointer. More...
 
uint8_t data_or_metadata
 Write to data or metadata. More...
 
uint8_t write_type
 Type of write - Write only or Erase and write. More...
 
uint8_t count
 Count value. More...
 

Detailed Description

Specifies the data structure for data to be written to OPTIGA.

Definition at line 378 of file optiga_lib_common.h.

Field Documentation

◆ buffer

const uint8_t* optiga_set_data_object::buffer

Wrtie data buffer pointer.

Definition at line 389 of file optiga_lib_common.h.

◆ count

uint8_t optiga_set_data_object::count

Count value.

Definition at line 395 of file optiga_lib_common.h.

◆ data_or_metadata

uint8_t optiga_set_data_object::data_or_metadata

Write to data or metadata.

Definition at line 391 of file optiga_lib_common.h.

◆ offset

uint16_t optiga_set_data_object::offset

Offset of data with the object ID.

Definition at line 383 of file optiga_lib_common.h.

◆ oid

uint16_t optiga_set_data_object::oid

Object ID to be written.

Definition at line 381 of file optiga_lib_common.h.

◆ size

uint16_t optiga_set_data_object::size

Write data size.

Definition at line 385 of file optiga_lib_common.h.

◆ write_type

uint8_t optiga_set_data_object::write_type

Type of write - Write only or Erase and write.

Definition at line 393 of file optiga_lib_common.h.

◆ written_size

uint16_t optiga_set_data_object::written_size

Contains length of data written in across multiple transceive calls. Used for chaining purpose.

Definition at line 387 of file optiga_lib_common.h.