PdcommSecsInfo
Struct
Summary of a SECS-II item, filled by pdcomm_secs_info().
typedef struct PdcommSecsInfo { ... } PdcommSecsInfoMembers
count
Field
Number of child items for a List; number of elements (payload bytes divided by element width) for a primitive.
size_t countdepth
Field
Nesting depth: 1 for a primitive or an empty List.
size_t depthencoded_length
Field
Length of the minimal SECS-II encoding of the whole item, headers included.
size_t encoded_lengthformat
Field
Format code of the item, one of the PDCOMM_SECS_* format macros.
uint8_t formatnode_count
Field
Number of items in the tree, including this item.
size_t node_countstruct_size
Field
Structure size in bytes.
size_t struct_sizeSet it to sizeof(PdcommSecsInfo) or larger before the call. On success the library stores the size of the layout it wrote.