|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (ModusToolbox)
|
#include <optiga_trust_helpers.h>
Data Fields | |
| uint16_t | oid |
| bool | valid |
| uint16_t | manifest_anchor_oid |
| uint32_t | payload_version |
| uint16_t | used_size |
| uint8_t | data_type |
What an object's metadata says about how it may be written.
manifest_anchor_oid is non-zero once Protected Update has locked the object: the Change access condition reads Int(OID) and a plain write is refused from then on. payload_version is the chip's anti-rollback counter — the next manifest must carry a strictly greater value.
| uint16_t optiga_slot_info_t::oid |
| bool optiga_slot_info_t::valid |
| uint16_t optiga_slot_info_t::manifest_anchor_oid |
0 = still takes a plain write
| uint32_t optiga_slot_info_t::payload_version |
tag C1; 0 = never protected-updated
| uint16_t optiga_slot_info_t::used_size |
tag C5
| uint8_t optiga_slot_info_t::data_type |
tag E8; 0x11 trust anchor, 0x12 device cert