libqmi-glib,nas: BCD encoded strings should be read as arrays

The BCD encoded PLMN strings in the "NAS Get Cell Location Info"
message should be read as byte arrays, and then processed by the user
to read the BCD encoded string. Attempting to read this kind of fields
as a standard ASCII strings will fail UTF-8 validation, and the whole
TLV will be skipped.

Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/47
6 files changed