BalenaFin and LTE with EC25 mPCIe

@dirk When you ran this, did you have to add any Account SID or Auth Tokens. I’ve flashed a new image on my BalenaFin board in a new application and attached an antenna to it. I added a Twilio Sim chip and tried to connect to it. The outputs below are for mmcli -m 0 and ModemManager

mmcli -m 0 output:

Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-pin2 (10), sim-puk (10), sim-puk2 (10)
| state: connecting
| power state: on
| access tech: lte
| signal quality: 76% (recent)

Modem Manager logs:
Jun 11 01:56:30 30cf246 ModemManager[686]: Simple connect started…
Jun 11 01:56:30 30cf246 ModemManager[686]: Simple connect state (4/8): Wait to get fully enabled
Jun 11 01:56:30 30cf246 ModemManager[686]: Simple connect state (5/8): Register
Jun 11 01:56:30 30cf246 ModemManager[686]: Simple connect state (6/8): Bearer
Jun 11 01:56:30 30cf246 ModemManager[686]: Simple connect state (7/8): Connect
Jun 11 01:56:30 30cf246 ModemManager[686]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered → connecting)
Jun 11 01:56:31 30cf246 ModemManager[686]: error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
Jun 11 01:56:31 30cf246 ModemManager[686]: call end reason (1): ‘generic-unspecified’
Jun 11 01:56:31 30cf246 ModemManager[686]: verbose call end reason (2,208): [internal] pdn-ipv4-call-disallowed
Jun 11 01:56:31 30cf246 ModemManager[686]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting → registered)

It looks like it’s trying to connect to the network, but it’s failing for some reason. I noticed on my Twilio account, there’s an Account SID and an Auth Token. I wasn’t sure if I had to add that to my file and if I do, where do I put it?

No other settings were needed. We did have to base our images off the new balenalib images, as opposed to the old resin ones, to get around the UDEV issue with detecting devices on startup.

My image is the latest and I still can’t connect to it. This works with the Hologram Sim card, as I have one of those up and running.