nn::uds::CTR::Finalize Function

Syntax

void Finalize();

Arguments

None.

Return Values

None.

Description

Finalizes the UDS library. After executing, other communication features become usable.

This releases the communication device held by the Initialize function. Once this function has finished running, applications can access the receive buffer specified to the Initialize function. The event received by the Initialize function, used to send notifications of connection status updates, is finalized here. Each endpoint is destroyed if it hasn't been already. The buffer allocated by the Attach function is released.

This function is thread-unsafe.

Revision History

2011/10/14
Noted that the buffer assigned by the Attach function is released.
Noted that an endpoint that has not been destroyed will be destroyed.
2010/10/15
Revised the Description to make it easier to understand.
2010/09/27
Noted that the reception buffer specified in the Initialize function becomes accessible after this function completes.
2010/06/14
Initial version.

CONFIDENTIAL