Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/traconiq/tachoparser/llms.txt

Use this file to discover all available pages before exploring further.

ParseCard accepts the raw bytes of a tachograph driver card DDD file and returns a ParseCardResponse containing a single Card message with all decoded data. The server acquires the global mutex before parsing, so only one call executes at a time.

Proto definition

message ParseCardRequest {
  bytes data = 1;
}

message ParseCardResponse {
  Card card = 1;
}

Request fields

data
bytes
required
The raw binary content of the DDD driver card file. Read the file and pass its bytes directly — no base64 encoding is required when using a native gRPC client. When using grpcurl, encode the bytes as base64 in the JSON body.

Response fields

card
Card
The fully decoded driver card record. Fields for both first-generation (_1) and second-generation (_2) blocks are present; fields for the non-applicable generation will be empty.

Usage examples

Using dddclient
cat drivercard.ddd | ./dddclient -addr localhost:50055 -card
The client outputs the parsed Card message as JSON to stdout. Using grpcurl Encode the DDD file as base64, then pass it in the JSON body:
grpcurl -plaintext \
  -d "{\"data\": \"$(base64 -w 0 drivercard.ddd)\"}" \
  localhost:50055 proto.DDDParser/ParseCard

Build docs developers (and LLMs) love