nerves-networking/vintage_net_qmi

MNC not decoded correctly

Closed this issue · 0 comments

Here's the MCC/MNC as reported by VintageNetQMI:

{["interface", "wwan0", "mobile", "mcc"], "214"},
{["interface", "wwan0", "mobile", "mnc"], <<48, 55, 255>>},

The MNC should be "07", so it seems that trailing non-ASCII digit characters need to be trimmed. I'm not sure if 255 is guaranteed to be a termination character.

Unsurprisingly, this also affects the provider lookup.