|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
43 #define DUCC_Success (0x00000000U)
44 #define ERR_NotImplemented (0x00010000U)
45 #define ERR_InvalidArgument (0x00010001U)
46 #define ERR_NoPendingIMG (0x00010002U)
47 #define ERR_PathNotExist (0x00010003U)
48 #define ERR_OperationNotPermitted (0x00010004U)
49 #define ERR_BufferTooSmall (0x00010005U)
50 #define ERR_OperationRestrictedByConfig (0x00010006U)
51 #define ERR_Busy (0x00010007U)
52 #define ERR_UnableConnect (0x00020000U)
53 #define ERR_ConnectionLost (0x00020001U)
54 #define ERR_NoActiveConnection (0x00020002U)
55 #define ERR_InvalidResponse (0x00020003U)
62 #define PA_RUNLEVEL (1U)
63 #define PA_USERACTION (2U)
70 #define STATE_DORMANT (0U)
72 #define STATE_NO_CONNECTIVITY (1U)
74 #define STATE_UP_TO_DATE (2U)
76 #define STATE_UPDATE_AVAILABLE (3U)
78 #define STATE_UPDATE_IN_PROGRESS (4U)
80 #define STATE_UPDATE_FAILED (5U)
82 #define STATE_FATAL_ERROR (6U)
83 #define NUM_DUCC_STATES (7U)
90 #define DUCC_LOC_US (0U)
95 #define DUCC_IMG_CURRENT (0U)
97 #define DUCC_IMG_PENDING (1U)
100 #define PR_NONE (101U)
102 #define PR_MAX (100U)
104 #define FILEPATH_MAX (512U)
110 #define DUCC_USERACTION_DEFAULT_SELECTION (0)
608 uint32_t *pVersionBufsize
struct infoBuffer infoBuffer
Refer to optionBuffer struct memory layout.
NVIDIA DRIVE® Update DU-Transport library interface.
uint32_t numEntries
Number of entries in this buffer.
uint32_t nameOffset
Offset to start of name string.
uint32_t numEntries
Number of entries in this buffer.
uint32_t contentLen
Length of content string.
uint32_t numEntries
Number of entries in this buffer.
uint32_t nameLen
Length of name string.
uint32_t pendingActionArgs
Pending action argument.
versionEntry * pEntry
Pointer to first versionEntry.
uint32_t contentOffset
Offset to start of content string.
infoEntry * pEntry
Pointer to first infoEntry.
uint32_t nameOffset
Offset to start of name string.
optionEntry * pEntry
Pointer to first optionEntry.
struct versionEntry versionEntry
Defines the entry inside version buffer header.
Buffer for storing options.
uint32_t nameLen
Length of name string.
DUCC_Error DUCC_Get_Versions(PDUCC pDuccInfo, DUCC_Image image, versionBuffer *pVersionBuf, uint32_t *pVersionBufsize)
DUCC_Error DUCC_Request_RunLevel(PDUCC pDuccInfo, DU_RUN_LEVEL reqRunLevel)
uint32_t DUCC_State
States defined by DRIVE Update C&C interface.
DUTR_TR_TYPE
Defines DU-Transport back-end transport protocols.
struct optionBuffer optionBuffer
Buffer for storing options.
DUCC_Error DUCC_Init(DUTR_TR_TYPE trType, DUTR_SEC_TYPE seType, const PDUTR_TR_PARAM pTrParam, const PDUTR_SEC_PARAM pSeParam, PDUCC *ppDucc)
uint32_t DUCC_Image
Defines the image installation states.
struct versionBuffer versionBuffer
Refer to optionBuffer struct memory layout.
DU_RUN_LEVEL
Defines the run level.
DUCC_Error DUCC_Close(PDUCC pDuccInfo)
void * PDUTR_TR_PARAM
Holds the pointer to parameter of DU-Transport back-end protocols.
uint32_t versionLen
Length of version string.
uint32_t DUCC_Locale
Defines the locales used to get content.
uint32_t progress
Current progress of DRIVE Update. It indicates progress %, or nothing in progress (when not set).
struct DUCC * PDUCC
Defines the DRIVE Update C&C handle.
struct optionEntry optionEntry
Defines the entry inside option buffer header.
uint32_t DUCC_Error
Defines the return codes of DRIVE Update C&C library function calls.
uint32_t contentLen
Length of content string.
DUCC_PendingAction pendingAction
Pending action of DRIVE Update. If set and applicable, it indicates that the installation progress re...
DUTR_SEC_TYPE
Defines DU-Transport security protocols.
Refer to optionBuffer struct memory layout.
struct infoEntry infoEntry
Defines the entry inside info buffer header.
typedef void(WFD_APIENTRY PFNWFDBINDSOURCETOPIPELINEWITHTIMESTAMPNV)(const WFDDevice device
DUCC_Error DUCC_Get_Current_RunLevel(PDUCC pDuccInfo, DU_RUN_LEVEL *pRunLevel)
uint32_t userActionID
ID of userAction, use this to return user selection.
uint32_t DUCC_PendingAction
Type of pending actions defined by DRIVE Update C&C interface.
DUCC_Error DUCC_Get_Current_Status(PDUCC pDuccInfo, DUCC_Status *pStatus)
Defines the entry inside option buffer header.
Defines the entry inside info buffer header.
uint32_t contentOffset
Offset to start of content string.
Defines the DRIVE Update status structure returned from library function call.
struct DUCC_Status DUCC_Status
Defines the DRIVE Update status structure returned from library function call.
Defines the entry inside version buffer header.
DUCC_State state
Current state of DRIVE Update. It indicates operational state of Drive Update stack.
void(* DUCCCallback)(void *pObj, const DUCC_Status *pStatus)
Callback function when status changed.
DUCC_Error DUCC_Get_API_Version(PDUCC pDuccInfo, uint32_t *pVersion)
Common definitions and declarations for NVIDIA DRIVE® Update.
uint32_t versionOffset
Offset to start of version string.
Refer to optionBuffer struct memory layout.