nn::uds::CTR::Initialize Function

Syntax

nn::Result Initialize(
     nn::os::Event * pStatusUpdateEvent,
     void * receiveBuffer,
     const size_t bufferSize
);

nn::Result Initialize(
     nn::os::Event * pStatusUpdateEvent,
     void * receiveBuffer,
     const size_t bufferSize,
     nn::cfg::UserName * pUserName
);

List of Overloaded Member Functions

Initialize ( nn::os::Event *, void *, const size_t ) Initializes the UDS library. Initialization fails if any other communication features are already in use.
Initialize ( nn::os::Event *, void *, const size_t, nn::cfg::UserName * ) Initializes the UDS library. Initialization fails if any other communication features are already in use.

Description of Initialize ( nn::os::Event *, void *, const size_t )

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. Always call the Finalize function to release the communication device after you have finished using the UDS library. This function is thread-unsafe.

Description of Initialize ( nn::os::Event *, void *, const size_t, nn::cfg::UserName * )

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. Always call the Finalize function to release the communication device after you have finished using the UDS library. Handle the user name given by pUserName according to UGC guidelines. This function is thread-unsafe.


CONFIDENTIAL