47#ifndef DW_CORE_HEALTH_SIGNALS_H_
48#define DW_CORE_HEALTH_SIGNALS_H_
80#define DW_MAX_HEALTH_BYTEARRAY_SIZE 1000
102#define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE 64
118static_assert(
sizeof(
dwHealthSignal) == 1024UL,
"The size of dwHealthSignal should be 1024. Adjust the size of the field \"data\" if necessary.");
NVIDIA DriveWorks API: Core Types
uint32_t errorID
module defined error
uint32_t count
Number of health signals present in the array.
uint32_t errorID
module defined error
dwTime_t timestamp
timestamp at which the health status was last updated, filled by module
uint16_t sourceID
module id, automatically filled
dwHealthSignal signal[DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE]
The individual signals.
uint8_t data[DW_MAX_HEALTH_BYTEARRAY_SIZE]
optional byte array for additional information
dwTime_t timestamp
timestamp at which the error occured, filled by module
uint16_t sourceID
module id, automatically filled
size_t dataSize
bytes used in the optional byte array
#define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE
The maximum number of individual dwHealthSignal that can be stored in a dwHealthSignalArray.
#define DW_MAX_HEALTH_BYTEARRAY_SIZE
The size of the dta field in dwHealthSignal.
Basic error signal that gets reported only when there is an error.
Basic health signal that describes the health status of a particular software element.
Represents an array of health signals.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.