usdot-fhwa-OPS / V2X-Hub

V2X Hub is a message handler that acts as a translator and data aggregator/disseminator for infrastructure components of a connected vehicle deployment.
Apache License 2.0
123 stars 69 forks source link

CARMACloudPlugin: Fix the issue to unzip the compressed TCMs #602

Closed dan-du-car closed 7 months ago

dan-du-car commented 7 months ago

PR Details

Description

Fix issue with CARMACloudPlugin unzip the compressed TCM payload. The unzip function did not append the correct numbers of characters. Add 32 to WinBits to allow header detection. Remove toLocal8Bit() conversion as the xml is by default sent as utf-8 encoding.

Related Issue

https://github.com/usdot-fhwa-OPS/V2X-Hub/issues/601

Motivation and Context

How Has This Been Tested?

Local integration test

Types of changes

Checklist:

sonarcloud[bot] commented 7 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Line Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud