18 lines
445 B
Markdown
18 lines
445 B
Markdown
# DSL Syntax Guide: DiagnosticService
|
|
|
|
To define a diagnostic service in the OTX/ODX abstraction layer, use the `DiagnosticService` keyword.
|
|
|
|
## Syntax
|
|
```dsl
|
|
DiagnosticService <ServiceName> {
|
|
request: <HexCode>
|
|
response: <HexCode>
|
|
timeout: <Integer> ms
|
|
}
|
|
```
|
|
|
|
## Rules
|
|
* The service name must be UpperCamelCase.
|
|
* Timeouts are strictly defined in milliseconds.
|
|
* Use the `extends` keyword to inherit properties from a base service.
|