This function unit has only one service Id 0x31 “Remote Activation Of Routine“. This service is used by the client to perform various project specific functions through OEM-specific routine Identifier.
|Service||Request ServiceID||Response ServiceID||Sub-Function|
|Routine Control Service||0x31||0x71||Yes
There are Basically three SUB-function under this service –
Start routine – Initiate any service and used to indicate start/completion of any service
Stop routine – Through this sub-function Client can interrupt running service at any time inside server.
Requestroutineresult– It is basically a request message by client to get the result of service from server.
So Basically this service is used for –
Suppose you want to erase data of flash memory prior to download.let as per OEM specification –
Routine Identifier for Erase memory Function = 0xAABB then
Request(Client—>Server) = 0x31 01 0xAA 0xBB ….. ……. ……
if memory erase successfully then
Pos. Response(client<——-Server)= 0x71 01 0xAA 0xBB … …. …. …
Negative Response(client<——-Server)= 0x7F 0x31 01 0xAA 0xBB … …. …. …
Like this Client can perform the various function inside UDS enabled server through different identifier and these data