OPTIGA™ Trust M
Host Library Documentation
optiga_get_data_object Struct Reference

Specifies the data structure for data to be read from OPTIGA. More...

#include <optiga_lib_common.h>

Data Fields

uint16_t oid
 Object ID to be read. More...
 
uint16_t offset
 Offset of data with the object ID. More...
 
uint16_t bytes_to_read
 Data size to be read. More...
 
uint16_t accumulated_size
 Contains length of data received in across multiple transceive calls. Used for chaining purpose. More...
 
uint16_t last_read_size
 Contains the data length received in last transceive. Used for chaining purpose. More...
 
uint8_t data_or_metadata
 Read to data or metadata. More...
 
uint16_t * ref_bytes_to_read
 Pointer to the read buffer length. More...
 
uint8_t * buffer
 Read data buffer pointer. More...
 

Detailed Description

Specifies the data structure for data to be read from OPTIGA.

Definition at line 355 of file optiga_lib_common.h.

Field Documentation

◆ accumulated_size

uint16_t optiga_get_data_object::accumulated_size

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

Definition at line 364 of file optiga_lib_common.h.

◆ buffer

uint8_t* optiga_get_data_object::buffer

Read data buffer pointer.

Definition at line 372 of file optiga_lib_common.h.

◆ bytes_to_read

uint16_t optiga_get_data_object::bytes_to_read

Data size to be read.

Definition at line 362 of file optiga_lib_common.h.

◆ data_or_metadata

uint8_t optiga_get_data_object::data_or_metadata

Read to data or metadata.

Definition at line 368 of file optiga_lib_common.h.

◆ last_read_size

uint16_t optiga_get_data_object::last_read_size

Contains the data length received in last transceive. Used for chaining purpose.

Definition at line 366 of file optiga_lib_common.h.

◆ offset

uint16_t optiga_get_data_object::offset

Offset of data with the object ID.

Definition at line 360 of file optiga_lib_common.h.

◆ oid

uint16_t optiga_get_data_object::oid

Object ID to be read.

Definition at line 358 of file optiga_lib_common.h.

◆ ref_bytes_to_read

uint16_t* optiga_get_data_object::ref_bytes_to_read

Pointer to the read buffer length.

Definition at line 370 of file optiga_lib_common.h.