B402 "no network service"

Does anybody know why I get these logs in my B402 after I issue Cellular.connect()?
I am using a 3rd party SIM. It works with the Boron but not with B402.
Device OS 3.0.0

0000012153 [system.nm] INFO: State changed: IFACE_DOWN -> IFACE_REQUEST_UP
0000012154 [net.ppp.client] TRACE: PPP thread event ADM_UP
0000012154 [net.ppp.client] TRACE: State NONE -> READY
0000012157 [ncp.at] TRACE: > AT+CFUN=1,0
0000012157 [system.nm] INFO: State changed: IFACE_REQUEST_UP -> IFACE_UP
0000012163 [ncp.at] TRACE: < OK
0000012164 [ncp.at] TRACE: > AT+CGDCONT=1,"IP","iot.secure"
0000012186 [ncp.at] TRACE: < OK
0000012187 [ncp.at] TRACE: > AT+CFUN=1,0
0000012191 [ncp.at] TRACE: < OK
0000012192 [ncp.at] TRACE: > AT+CEREG=2
0000012197 [ncp.at] TRACE: < OK
0000012197 [ncp.client] TRACE: NCP connection state changed: 1
0000012197 [net.pppncp] TRACE: NCP event 2
0000012197 [net.pppncp] TRACE: State changed event: 1
0000012198 [net.ppp.client] TRACE: PPP thread event LOWER_DOWN
0000012199 [ncp.at] TRACE: > AT+COPS?
0000012203 [ncp.at] TRACE: < +COPS: 0
0000012204 [ncp.at] TRACE: < OK
0000012204 [ncp.at] TRACE: > AT+CEREG?
0000012210 [ncp.at] TRACE: < +CEREG: 2,0
0000012210 [ncp.at] TRACE: < OK
0000027210 [ncp.at] TRACE: > AT+CEREG?
0000027216 [ncp.at] TRACE: < +CEREG: 2,0
0000027216 [ncp.at] TRACE: < OK
0000027217 [ncp.at] TRACE: > AT+UCGED=5
0000027221 [ncp.at] TRACE: < OK
0000027222 [ncp.at] TRACE: > AT+UCGED?
0000027227 [ncp.at] TRACE: < +CME ERROR: no network service
0000027327 [ncp.client] TRACE: Sticky not registering EPS state for 15 s, PLMN reselection
0000027328 [ncp.at] TRACE: > AT+COPS=0,2
0000027340 [ncp.at] TRACE: < OK
0000031340 [ncp.at] TRACE: < +CEREG: 2
0000042240 [ncp.at] TRACE: > AT+CEREG?
0000042248 [ncp.at] TRACE: < +CEREG: 2,2
0000042248 [ncp.at] TRACE: < OK
0000042249 [ncp.at] TRACE: > AT+UCGED=5
0000042252 [ncp.at] TRACE: < +CEREG: 0
0000042254 [ncp.at] TRACE: < OK
0000042255 [ncp.at] TRACE: > AT+UCGED?
0000042261 [ncp.at] TRACE: < +CME ERROR: no network service
0000057361 [ncp.at] TRACE: > AT+CEREG?
0000057368 [ncp.at] TRACE: < +CEREG: 2,0
0000057369 [ncp.at] TRACE: < OK
0000057369 [ncp.at] TRACE: > AT+UCGED=5
0000057375 [ncp.at] TRACE: < OK
0000057376 [ncp.at] TRACE: > AT+UCGED?
0000057383 [ncp.at] TRACE: < +CME ERROR: no network service

Sketch:

#include "CellularHelper.h"
#include "dct.h"

SYSTEM_MODE(MANUAL);
SerialLogHandler logHandler(LOG_LEVEL_ALL);

void setup() {
  const uint8_t val = 0x01;
  dct_write_app_data(&val, DCT_SETUP_DONE_OFFSET, 1);

  Serial.begin();
  waitFor(Serial.isConnected, 60000);
  delay(1000);
  Serial.println("Started");

  Serial.println("On");
  Cellular.on();
  delay(100);
  Cellular.setCredentials("iot.secure");

  //delay(2000);
  Cellular.setActiveSim(EXTERNAL_SIM);
  delay(1000);

  Serial.println("Connect");
  Cellular.connect();
  waitUntil(Cellular.ready);
  Serial.println("Connected");
}

void loop() {
  

}

Hi @lympik , this might be due to a variety of reasons, such as cellular quality. I recommend that you log a ticket at support.particle.io , referencing this post and we will take it from there. Thank you!

Thank you for your response. The device is not registered at the particle cloud. We just want to connect it to the CAT M1 to test it.
With the Boron LTE it works flawlessly. Seems to be something wrong with the B402.

The B402 does not support 3rd-party SIM cards. While there are pins on the M.2 for a SIM card, there is no SIM card switch on the SoM module, so you’d just end up with both SIMs connected to the same port, which does not work.

It would require a hardware modification on the SoM itself to remove the MFF2 SIM in order to use a 3rd-party SIM card with the B402 or any B Series SoM, which is impractical and not a supported configuration.

Thanks, yes we know that. We did the modification, AT+CCID returns the correct ICCID so it should work right? I understand that you don’t offer support for this but we are using it just to test the CAT M1 capabilities. I don’t see the big difference between these two devices (I mean it is the same modem).

Yes, the Boron LTE (BRN402) and B402 have the same modem and it should work similarly. You may need to also set the MNO profile (AT+UMNOPROF) when using a 3rd-party SIM and a SARA-R410M-02-B device.

The requirement for setting the MNO profile should be the same for both the BRN402 and B402, however if you tested on different versions of Device OS, the MNO profile is handled differently in different versions of Device OS.

Thank you very much! AT+UMNOPROF=2 was the solution to get it working!
I need to check now if it is possible to get any other carriers than AT&T as well.