- libopenpu : validation VIN, modèles JSON (getAvailableUpdate, devices), classification ecuType -> type/guide, sélection des mises à jour - couche Transport abstraite + implémentation libcurl (proxy env, redirections, streaming, timeout d'inactivité) - tolérance au EOF TLS sans close_notify de la passerelle Majestic, limitée aux corps délimités par la fermeture (ni Content-Length ni chunked) - openpu-cli : check / raw-devices / raw-updates - tests doctest (VIN, parsing, classification, client API avec faux transport), fixtures dont une capture réelle anonymisée (NAC wave 2) - qualité : presets CMake (debug, asan, tidy), .clang-tidy, tools/check.sh (tests, ASan/UBSan, valgrind, clang-tidy, cppcheck) - validé contre l'API réelle sur 3 véhicules (NAC w4, RCC, NAC w2) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"installerURL": "https://majestic.mpsa.com/mjf00-web/rest/UpdateDownload?updateId=005000000000000001&uin=00000000000000000000&type=fw",
|
|
"requestResult": "OK",
|
|
"software": [
|
|
{
|
|
"currentSoftwareVersion": "4.0.2-r0",
|
|
"softwareType": "map-eur",
|
|
"update": [
|
|
{
|
|
"licenseURL": "",
|
|
"updateDate": "2026-07-27 07:52:53.0",
|
|
"updateId": "005000000000000002",
|
|
"updateSize": "10475161600",
|
|
"updateURL": "https://download-cde.tomtom.com/OEM/PSA/MAP/PSA_map-eur_31.0.0-r0-NAC_EUR_WAVE2.tar",
|
|
"updateVersion": "31.0.0-r0"
|
|
}
|
|
],
|
|
"updateRequestResult": "OK"
|
|
},
|
|
{
|
|
"currentSoftwareVersion": "21.05.90.42_NAC-r0",
|
|
"softwareType": "ovip-int-firmware-version",
|
|
"update": [
|
|
{
|
|
"licenseURL": "https://majestic-web.mpsa.com/mjf00-web/rest/LicenseDownload?mediaVersion=005000000000000003&uin=00000000000000000000",
|
|
"updateDate": "2026-06-30 12:48:06.0",
|
|
"updateId": "005000000000000003",
|
|
"updateSize": "2728908800",
|
|
"updateURL": "https://majestic-web.mpsa.com/mjf00-web/rest/UpdateDownload?updateId=005000000000000003&uin=00000000000000000000&type=fw",
|
|
"updateVersion": "21.08.90.52_NAC-r0"
|
|
}
|
|
],
|
|
"updateRequestResult": "OK"
|
|
}
|
|
],
|
|
"vin": "VF3XXXXXXXXXXXXXX"
|
|
}
|