SDDisconnect
Syntax
void SD_Disconnect(providedServiceRef * providedService)
vvoid 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);
SD_ConnectAsync