-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: update document especially available_ecu_ids #248
Conversation
docs/README.md
Outdated
Only the main ECU should have this information. | ||
If this field is not specified, value of `ecu_id` is used as this value. | ||
For compatibility, if this `available_ecu_ids` filed does not exist, the ecu_id of the main ecu is considered the entry for available_ecu_ids. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this line should also prefixed with NOTE(or even WARNING), as user might think empty available_ecu_ids
means not update any ECUs.
Also, I think this is backward-compatibility
?
docs/README.md
Outdated
If this field is not specified, value of `ecu_id` is used as this value. | ||
For compatibility, if this `available_ecu_ids` filed does not exist, the ecu_id of the main ecu is considered the entry for available_ecu_ids. | ||
|
||
NOTE: The OTA client user (e.g. Agent) has responsibility for filtering out update requests by using this ecu list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as otaclient can work not only with web.auto agent, but also other implementation that using otaclient. For other implementation, they can use other kinds of implementation to generate the update request. The use of available_ecu_ids
is required by web.auto agent, but it is not a requirement to other implementation that uses otaclient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@obi-t4 After some consideration, I agree that all OTA client user should follow the spec of available_ecu_ids
, a.k.a, available_ecu_ids
should represent the ECUs to be updated, but the use of available_ecu_ids
is not mandatory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
( We can add another line says that alternative client implementation can also use available_ecu_ids yield, but it is not mandatory.
@Bodong-Yang |
@obi-t4 I have some more questions, please have a check, thank you! What if some ECUs presented in Another question is, should we expect that |
OTA client doesn't have a ECU filtering policy.
they are the independent information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates!
Commits from v3.5.1 to v3.6.0 * Bug fix 1. [Fix] boot_ctrl.cboot: post_update error handling #240 2. [Fix] otaclient_stub: fix always export self ECU id in available_ecu_ids #250 * Features 1. [Feature] extend ota-file-cache-control header #244 2. [Feature & Refinement] otaproxy: OTA file sha256 aware, support new header #245 3. [Feature & Refinement] otaproxy, otaclient: introduce external cache dev support #246 * Chore 1. doc: update document especially available_ecu_ids #248 2. [Chore] tools: add new OTA status monitor #251 3. [Chore] tools: add offline OTA image builder #252 * Deps 1. Bump grpcio from 1.40.0 to 1.53.0 in /tools/emulator #241 2. [Deps] bumps grpcio to 1.53.1 #243 3. Bump aiohttp from 3.8.1 to 3.8.5 in /otaclient #247
Description
Update document especially availale_ecu_ids.
Also docs/SERVICES.md has been updated according to DEVELOPMENT.md
Check list
N/A (no test are needed)
Bug fix
Current behavior
Current specification for available_ecu_ids is unclear.
Behaivor after fix
This PR adds more descriptions.
And adds the description who need to filtering out the update reqest.
Related links & ticket