OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
optiga_set_data_object Struct Reference

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

#include <optiga_lib_common.h>

Public Attributes

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.

Member Data Documentation

◆ buffer

const uint8_t* optiga_set_data_object::buffer

Wrtie data buffer pointer.

◆ count

uint8_t optiga_set_data_object::count

Count value.

◆ data_or_metadata

uint8_t optiga_set_data_object::data_or_metadata

Write to data or metadata.

◆ offset

uint16_t optiga_set_data_object::offset

Offset of data with the object ID.

◆ oid

uint16_t optiga_set_data_object::oid

Object ID to be written.

◆ size

uint16_t optiga_set_data_object::size

Write data size.

◆ write_type

uint8_t optiga_set_data_object::write_type

Type of write - Write only or Erase and write.

◆ written_size

uint16_t optiga_set_data_object::written_size

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


The documentation for this struct was generated from the following file: