API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBTDATAELEMENT

Brew Release
Brew MP 1.0.2
See Also
None
Description
This is a generic interface to add and retrieve data elements to/from a data element sequence. Each element in the sequence is a basic type such as int, string and so on, and has an ID associated with it.
------------------------------- .. -------------------------------
| | | | | | | | | Element | Element | Element | | Element | Element | Element | | 0 | 1 | 2 | | n-3 | n-2 | n-1 | ------------------------------- .. -------------------------------
| | | | | | | ------------------------------ -------------
| | | | Data ID | Data Value | | | | | j Octets | k Octets | ------------------------------

An element can be added to the sequence at a particular index. Adding an element at index AEEBT_DATA_ELEMENT_MAX, appends the element to the sequence.
The caller can retrieve a list of data element IDs that are present in the sequence by invoking IBTDataElement_RetrieveNumberOfElements(), followed by IBTDataElement_RetrieveDataID(). Each element can then be retrieved by calling individual APIs such as IBTDataElement_RetrieveU32() and so on, depending on the data type.
A data element can be deleted by calling IBTDataElement_Delete().

Usage
For a list of data element IDs and usage, see class header file.