nn::uds::CTR::Initialize Functionnn::Result Initialize( nn::os::Event * pStatusUpdateEvent, void * receiveBuffer, const size_t bufferSize );
| Name | Description | |
|---|---|---|
| out | pStatusUpdateEvent | Event used to notify about connection state updates. This is initialized as an auto-reset event within the library. |
| in | receiveBuffer | Pointer indicating the head of the receive buffer used by the UDS library. The UDS library requires this buffer to store data received via wireless communication from the time it is actually received until the application obtains it. Specify a buffer aligned to 4096 bytes. Device memory cannot be used. |
| in | bufferSize | Size of the receive buffer. Specify a value that is a multiple of 4096. |
Initializes the UDS library. Initialization fails if any other communication features are already in use. This function may block for a long time because it finalizes communications in the background and the UDS library takes control of the communication device until Finalize is run.
Finalize completes.
CONFIDENTIAL