Snapdragon® Telematics Application Framework (TelAF) Interface Specification
|
The Diag Routine Control service APIs are used by applications to handle routine control(0x31) requests from UDS clients.
All functions of this API are provided by the tafDiagSvc platform service.
The following example illustrates how to bind to the diag routine control service.
bindings: { clientExe.clientComponent.taf_diagRoutineCtrl -> tafDiagSvc.taf_diagRoutineCtrl }
A diag routine control service reference can be retrieved using taf_diagRoutineCtrl_GetService() with the identifier passed as a parameter.
After getting a reference, an application registers a message handler using taf_diagRoutineCtrl_AddRxMsgHandler(). Once a routine control request message is received, the handler will be called indicating the new message.
An application can send a response by using taf_diagRoutineCtrl_SendResp().
The following APIs are provided for diag routine control service.