Skip to main contentOpen topic with navigation
Iso11783IL_TIMDeactivateServer
CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_TIMDeactivateServer
Valid for: CANoe DE • CANoe4SW DE
Function Syntax
long Iso11783IL_TIMDeactivateServer(); // form 1
long Iso11783IL_TIMDeactivateServer(dword options); // form 2
long Iso11783IL_TIMDeactivateServer(dbNode server); // form 3
long Iso11783IL_TIMDeactivateServer(dbNode server, dword options); // form 4
Description
Deactivates the TIM server.
For a graceful shutdown, the TIM server gracefully releases all TIM functions being in automation. Then it sends three times in a row the Heartbeat counter value Graceful shutdown. And at the end, it stops sending any messages (including TIM_ServerStatus_Msg).
For a non-graceful shutdown, the TIM server stops sending any message at once, including TIM_ServerStatus_Msg.
Parameters
-
options: Additional options.
- Graceful shutdown:
01h - Server is gracefully shutdown
-
server: TIM server node.
Return Values
- 0: Property has been set successfully
- < 0: An error has occurred, see error codes
Example
—