Can't register eSIM for our private 5G CBRS network

Tachyon OS: 1.0.161
particle-tachyon-ril: 0.4.5-1

Hello,

We are attempting to use an eSim for our own private 5G CBRS network on the Tachyon. The core is Magma and we are using Simlessly (SM-DP+ | World's #1 RSP-as-a-Service in Subscription Model for MVNOs and beyond) to generate the eSims. We are able to download the eSim onto the Tachyon and switch to the new profile, however it seems to get stuck in a loop during registration (see below journalctl output). We have also verified that Magma does see the connection attempt from its logs, however the Tachyon never proceeds past this point.

To get phones to connect to this network, we have had to force them to use NR_Only mode (new radio) using the Android testing/debugging menu (*#*#4636#*#*). Perhaps we need to do a similar thing on the Tachyon? Is there a corresponding AT command we can run to force NR_Only?

Regards,

Tom

Jun 08 12:03:05 heisenberg particle-tachyon-rild[64815]: State command received 
Jun 08 12:03:05 heisenberg particle-tachyon-rild[64815]: ModemVitals command received 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: Processing: CONNECT 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: Registering to Cellular Network... 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: ICCID currently active: 8988211000000690000 (Twilio Super SIM) 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: Active SIM: 1 (INTERNAL) 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: Using APN: "star" 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: Command: AT+QNVR=5280,0, Response: 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: +QNVR: "0102000000000000" 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]:  
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: Command: ATE0, Response: 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: Command: AT+QNVFR="/nv/item_files/ims/IMS_enable", Response: +QNVFR: 
Jun 08 12:03:06 heisenberg particle-tachyon-rild[64815]: 00 
Jun 08 12:03:07 heisenberg particle-tachyon-rild[64815]: Command: AT+QNVFR="/nv/item_files/modem/mmode/sms_only", Response: Command: AT+QNVFR="/nv/item_files/modem/mmode/s
ms_only", Response: 
Jun 08 12:03:07 heisenberg particle-tachyon-rild[64815]: ERROR 
Jun 08 12:03:07 heisenberg particle-tachyon-rild[64815]: Command: AT+QNVFR="/nv/item_files/modem/mmode/ue_usage_setting", Response: Command: AT+QNVFR="/nv/item_files/modem
/mmode/ue_usage_setting", Response: 
Jun 08 12:03:07 heisenberg particle-tachyon-rild[64815]: ERROR 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: Command: ATE1, Response: 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: Get Preferred network type: 24 (NR5G TD-SCDMA LTE CDMA EVDO GSM WCDMA) 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: Command: AT+CGDCONT?, Response: 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: +CGDCONT: 1,"IP","star","0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]:  
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: Command: AT+CEREG=2, Response: 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: Command: AT+COPS?, Response: 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: +COPS: 0 
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]:  
Jun 08 12:03:08 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:09 heisenberg particle-tachyon-rild[64815]: Command: AT+CEREG?, Response: 
Jun 08 12:03:09 heisenberg particle-tachyon-rild[64815]: +CEREG: 2,0 
Jun 08 12:03:09 heisenberg particle-tachyon-rild[64815]:  
Jun 08 12:03:09 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:09 heisenberg particle-tachyon-rild[64815]: State command received 
Jun 08 12:03:09 heisenberg particle-tachyon-rild[64815]: ModemVitals command received 
Jun 08 12:03:14 heisenberg particle-tachyon-rild[64815]: Command: AT+CEREG?, Response: 
Jun 08 12:03:14 heisenberg particle-tachyon-rild[64815]: +CEREG: 2,0 
Jun 08 12:03:14 heisenberg particle-tachyon-rild[64815]:  
Jun 08 12:03:14 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:19 heisenberg particle-tachyon-rild[64815]: Command: AT+CEREG?, Response: 
Jun 08 12:03:19 heisenberg particle-tachyon-rild[64815]: +CEREG: 2,0 
Jun 08 12:03:19 heisenberg particle-tachyon-rild[64815]:  
Jun 08 12:03:19 heisenberg particle-tachyon-rild[64815]: OK 
Jun 08 12:03:24 heisenberg particle-tachyon-rild[64815]: Command: AT+CEREG?, Response: 
Jun 08 12:03:24 heisenberg particle-tachyon-rild[64815]: +CEREG: 2,0 
Jun 08 12:03:24 heisenberg particle-tachyon-rild[64815]:  
Jun 08 12:03:24 heisenberg particle-tachyon-rild[64815]: OK




Any word on this? Does anyone know the proper AT commands for forcing 5G only for this Qualcomm chipset?

Did you make any progress on this?
The LPA shipped with the tachyon won't accept the auth code if that's required to install the SIM; I have a patch for that, but it's not part of the official tooling yet.

Hi @no1089 ,

Here is where we are at. We have no problem downloading the SIM. The problem occurs when trying to connect to our 5G CBRS network, which is standalone (SA).

The modem does register successfully on our SA-only network. particle-tachyon-rild just never notices, because its connect logic only ever polls LTE/EPS registration (AT+CEREG?) and has no code path for a 5GS-SA-only registration (AT+C5GREG?). As a result ril-ctl vitals/state never reflect the real registration, and no data session ever comes up.

Below is how we arrived at this conclusion:

  1. The modem does register on the network — confirmed at both ends. After a reboot, AT+C5GREG? returned +C5GREG: 0,1 (registered, home network) — stable across 90+ seconds of repeated polling. Corroborated on the network side: our Magma AGW's MME log shows a real S6A-UPDATE_LOCATION_REQUEST/ANSWER (StatusCode 2001, success) for this device's IMSI at the matching timestamp.

  2. AT+CEREG? correctly shows 2,0 — expected, since this network has no LTE/EPS core at all. It's SA-only by design.

  3. ril-ctl vitals/state never reflect the successful registration — data_connection: 0, empty ifname/addresses, stale signal fields, registration_state stuck.

  4. Root cause, found via journalctl -u particle-tachyon-rild during ril-ctl connect: the daemon's CONNECT handler checks AT+CEREG? once, then enters a polling loop (2+ minutes, every ~5s) that only ever queries AT+CEREG?, never AT+C5GREG? — waiting for LTE/EPS registration that structurally can never happen on an SA-only network.

  5. Tried various anual workaround attempts, none of which worked:

  • AT+CGACT=1,1 → +CME ERROR: no network service
  • Fresh PDP context (CGDCONT=2 + CGACT=1,2) — same error, rules out stuck-context.
  • ip addr/ip link on-device — all rmnet_dataN interfaces DOWN, no IPs.
  • Tailed the MME log while running CGACT live — zero activity, confirming the refusal is purely local to the modem; it never signals the core over NGAP.

So it appears that the fix needs to happen in particle-tachyon-ril's connect logic (currently 0.4.5-1) — it needs to check AT+C5GREG? in addition to AT+CEREG?, and treat C5GREG: 0,1/0,5 as sufficient to bring up a data session, rather than blocking indefinitely on EPS registration that will never come on an SA-only deployment.

Do you have a version of the ril that addresses this issue that I could try out?

Regards,
Tom

Having the same problem over here. Has there been a resolution?

@sbrajovic No. It doesn't look like they have the particle-tachyon-ril-ctl utility on their github, so editing the source is not possible. And switching your CBRS network from SA to NSA may not be feasible as I think the actual radio hardware you have deployed may dictate whether or not that is possible from the core.