Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
during bluetooth_ble matching, convert major and minor to hexadecimal
The background/bluetooth_ble data type has "major" and "minor" as decimal integers. (e-mission/e-mission-docs#1062 (comment)) But in the vehicle_identities spec, we have major:minor pairs as hexadecimal strings. So we will need to convert. decimalToHex handles this and allows us to add padding, ensuring the converted major and minor are always 4 hex characters. (so 1 becomes "0001", 255 becomes "00ff", etc.)
- Loading branch information