3.3.11.3. Communication Parameters (ComParams)¶
Note Communication parameter handling is exposed through a Motivation When using the CDA to communicate with classic ECUs, a client needs the ability to modify the communication parameters like timeouts and retries on-the-fly. This API provides a way to do this. Retrieving & Modifying with a lock
These operations require a lock on the entity. Only one execution of communication parameters per entity is allowed.
|
Software Architecture: Retrieve Communication Parameters without Lock arch~sovd-api-comparams-without-lock
|
Note This is a small extension to the ISO standard To allow retrieving the communication parameters without a lock, a GET on Rationale Clients without a lock might want to log the current communication parameters for informational purposes, so they should be able to retrieve them. Handling this with the POST/GET semantic with only a single execution would make the handling extremely complicated for parallel clients with & without locks.
Example for directly retrieving communication parameters: {
"item": {
"id": "comparam",
"name": "Communication parameters",
"asynchronous_execution": true,
"proximity_proof_required": false
},
"parameters": {
"CP_P6Max": {
"value": "4500000",
"unit": {
"factor_to_si_unit": 1e-06
}
},
"CP_RC78Handling": {
"value": "Continue until RC78 timeout"
},
"...": {
"...": "..."
}
}
}
|