Event data structure, containing the type and associated data. More...
#include <rpc_app.h>
Data Fields | ||
RpcAppSystemEventDataType | type | |
Type of the data. | ||
union { | ||
const char * string | ||
Pointer to a zero-terminated character string. | ||
int32_t i32 | ||
Signed 32-bit integer value. | ||
struct { | ||
const uint8_t * ptr | ||
Pointer to the byte array data. | ||
size_t size | ||
Size of the byte array, in bytes. | ||
} bytes | ||
Byte array of arbitrary length. | ||
}; | ||
Event data structure, containing the type and associated data.
All below fields except for type are valid only if the respective type is set.
RpcAppSystemEventDataType RpcAppSystemEventData::type |
Type of the data.
The meaning of other fields depends on this one.