|
hsw-nbt 1.2.0
OPTIGA Authenticate NBT Host Library for C
|
Provides the library and module identifiers code of the library. More...
Go to the source code of this file.
Macros | |
| #define | NBT_APDU_LOG(logger_object, source_information, logger_level, formatter, ...) |
| APDU NBT library data log macro. | |
| #define | NBT_APDU_LOG_BYTES(logger_object, source_information, logger_level, delimeter_1, data, data_len, delimeter_2) |
| APDU NBT library array of bytes data log macro. | |
| #define | LIB_NBT_APDU UINT8_C(0x33) |
| apdu-nbt library module ID | |
Enumerations | |
| enum | nbt_module_id { NBT_APDU = IFX_MODULE(LIB_NBT_APDU, 0x01) , NBT_BUILD_APDU , NBT_BUILD_APDU_CONFIG , NBT_BUILD_APDU_PERSO , NBT_PARSE_RESP , NBT_CMD_CONFIG , NBT_CMD , NBT_CMD_PERSO } |
| Enumeration defines the NBT library module IDs. More... | |
Provides the library and module identifiers code of the library.
Definition in file nbt-apdu-lib.h.
| #define LIB_NBT_APDU UINT8_C(0x33) |
apdu-nbt library module ID
Definition at line 73 of file nbt-apdu-lib.h.
| #define NBT_APDU_LOG | ( | logger_object, | |
| source_information, | |||
| logger_level, | |||
| formatter, | |||
| ... ) |
APDU NBT library data log macro.
| [in] | logger_object | Logger object in which logging to be done. |
| [in] | source_information | Source information from where logs are originated. |
| [in] | logger_level | Log level |
| [in] | formatter | String with formatter for data passed as variable argument |
It maps to the ifx_logger_log function if NBT_APDU_LOG_ENABLE macro is defined other wise it defines IFX_SUCCESS.
Definition at line 61 of file nbt-apdu-lib.h.
| #define NBT_APDU_LOG_BYTES | ( | logger_object, | |
| source_information, | |||
| logger_level, | |||
| delimeter_1, | |||
| data, | |||
| data_len, | |||
| delimeter_2 ) |
APDU NBT library array of bytes data log macro.
| [in] | logger_object | Logger object in which logging to be done. |
| [in] | source_information | Source information from where logs are originated. |
| [in] | logger_level | Log level |
| [in] | delimeter_1 | Delimeter to differentiate log information and data. |
| [in] | data | Data to be log. |
| [in] | data_len | Length of the data |
| [in] | delimeter_2 | Delimeter to differentiate each data byte |
It maps to the ifx_logger_log_bytes function if NBT_APDU_LOG_ENABLE macro is defined other wise it defines IFX_SUCCESS.
Definition at line 64 of file nbt-apdu-lib.h.
| enum nbt_module_id |
Enumeration defines the NBT library module IDs.
Definition at line 78 of file nbt-apdu-lib.h.