SDDisconnect
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
void SD_Disconnect(providedServiceRef * providedService)
void SD_Disconnect(consumedServiceRef * consumedService)
Function
Disconnects a service provider and consumer. You can call the function from both the provider and the consumer side. Note that you need this function only when you implement service discovery yourself. In most cases, there’s an internalCANoemodel for simulated endpoints which handles the protocol.
Parameters
providedService Endpoints, from provider side.
consumedService
Endpoints, from consumer side.
Return Values
—
SD_Disconnect(consumedService);
Related APIs
SD_ConnectAsync