(Connection lost) 00> [00:00:00.397,033] LSM6DSO: Initialize device lsm6dso@6b 00> [00:00:00.404,602] LSM6DSO: chip id 0x6a 00> [00:00:00.409,973] nt3h2111: I2C read failed: -5 00> [00:00:00.416,168] nt3h2111: Failed to read configuration: -5 00> [00:00:00.423,522] nt3h2111: NT3H2111 may not be physically connected, continuing with defaults 00> [00:00:00.439,453] veml6030: VEML6030 initialized successfully 00> *** Booting My Application v1.0.0-704e3ba7cb7b *** 00> *** Using nRF Connect SDK v3.0.2-89ba1294ac9b *** 00> *** Using Zephyr OS v4.0.99-f791c49f492c *** 00> [00:00:00.460,021] main_app: Starting Multi-Sensor IoT Device Firmware 00> [00:00:00.467,895] main_app: Skipping config manager init for debugging 00> [00:00:00.475,860] main_app: Data transmission interval set to 60 seconds 00> [00:00:00.484,039] battery_monitor: Battery monitor initialized (LTC4060 charger) 00> [00:00:00.492,919] main_app: Battery m[00:00:02.648,162] main_app: Calling nrf_modem_lib_init()... 00> [00:00:02.902,191] modem_antenna: Failed to set configuration (err: 65536) 00> [00:00:02.911,254] modem_antenna: Failed to set configuration (err: 65536) 00> [00:00:02.926,391] modem_antenna: Failed to set configuration (err: 65536) 00> [00:00:02.941,467] modem_antenna: Failed to set configuration (err: 65536) 00> [00:00:02.956,573] modem_antenna: Failed to set configuration (err: 65536) 00> [00:00:02.986,389] main_app: nrf_modem_lib_init() returned: 0 00> [00:00:02.993,469] main_app: Modem library initialized successfully 00> [00:00:03.001,098] main_app: Waiting for modem to be fully ready... 00> [00:00:13.008,728] main_app: Modem ready timeout - proceeding anyway 00> [00:00:16.016,754] main_app: Testing AT interface (attempt 2)... 00> [00:00:16.030,456] main_app: Modem responding: OK 00> 00> [00:00:16.036,651] main_app: Getting modem information... 00> [00:00:16.049,926] main_app: Failed to get modem info (err=65536) 00> [00:00:16.064,147] main_app: Manufacturer: Nordic Semiconductor ASA 00> OK 00> 00> [00:00:16.078,765] main_app: Modem firmware version: mfw_nrf91x1_2.0.2 00> OK 00> 00> [00:00:16.087,219] main_app: === CHECKING RFFE COMMAND SUPPORT === 00> [00:00:16.101,379] main_app: XMIPIRFFEDEV not supported (err=65536) 00> [00:00:16.115,936] main_app: XMIPIRFFE not supported (err=65536) 00> [00:00:16.130,218] main_app: XRFTEST not supported (err=65536) 00> [00:00:16.144,317] main_app: %XRFTEST not supported (err=65536) 00> [00:00:16.158,477] main_app: %XMIPIRFFE not supported (err=65536) 00> [00:00:16.166,198] main_app: === END RFFE COMMAND CHECK === 00> [00:00:16.173,095] main_app: ==================================== 00> [00:00:16.180,786] main_app: CRITICAL HARDWARE ISSUE DETECTED! 00> [00:00:16.188,232] main_app: ==================================== 00> [00:00:16.195,953] main_app: QM13345 antenna switch requires RFFE 2.1 protocol 00> [00:00:16.204,833] main_app: nRF9151 modem firmware 2.0.2 does NOT support RFFE 00> [00:00:16.213,806] main_app: Without RFFE, the antenna switch cannot be controlled 00> [00:00:16.223,052] main_app: The switch may be in an undefined/OFF state 00> [00:00:16.231,384] main_app: 00> [00:00:16.235,839] main_app: WORKAROUND ATTEMPT: 00> [00:00:16.242,004] main_app: The QM13345 ID pin configuration may set a default state 00> [00:00:16.251,525] main_app: Your board has ID pin connected to solder bridge SB1/SBI2 00> [00:00:16.261,138] main_app: Check if the solder bridge routes to GND (USID=0x7) 00> [00:00:16.270,172] main_app: ==================================== 00> [00:00:16.284,301] main_app: CFUN state check succeeded: +CFUN: 0 00> OK 00> 00> [00:00:16.292,297] main_app: Modem is in offline/airplane mode - needs activation! 00> [00:00:16.301,544] main_app: Configuring cellular connection for Telnyx (APN: data00.telnyx)... 00> [00:00:16.311,676] main_app: Following Nordic forum recommended sequence... 00> [00:00:16.320,007] main_app: Step 1: Setting CFUN=0 to disable radio... 00> [00:00:16.365,478] main_app: Radio disabled: OK 00> 00> [00:00:17.371,520] main_app: Step 2: Setting automatic operator selection (AT+COPS=0)... 00> [00:00:17.387,542] main_app: Operator selection set to automatic: OK 00> 00> [00:00:17.395,446] main_app: Step 3: Setting system mode (LTE-M and NB-IoT)... 00> [00:00:17.410,705] main_app: System mode config failed (err=65536) 00> [00:00:17.418,518] main_app: Step 4: Configuring Telnyx APN (data00.telnyx)... 00> [00:00:17.433,685] main_app: APN configured: OK 00> 00> [00:00:17.439,666] main_app: Step 7: Activating modem (AT+CFUN=1)... 00> [00:00:17.447,387] main_app: No search commands active - safe to activate! 00> [00:00:17.500,762] main_app: CFUN=1 set successfully: OK 00> 00> [00:00:17.507,568] main_app: Waiting for modem to stabilize... 00> [00:00:20.514,801] main_app: Verifying modem state... 00> [00:00:20.521,484] main_app: SUCCESS: Modem is in full functionality mode 00> [00:00:20.529,632] main_app: Enabling SIM card power supply... 00> [00:00:20.536,773] main_app: Forcing SIM card power enable... 00> [00:00:20.544,219] main_app: Network registration notifications enabled: OK 00> 00> [00:00:20.553,283] main_app: XSIM not supported (err=65536) 00> [00:00:20.560,455] main_app: Triggering SIM communication to enable power... 00> [00:00:20.569,274] main_app: IMSI read (forces SIM power): 222013423872426 00> OK 00> 00> [00:00:20.579,040] main_app: XICCID failed (err=65536) 00> [00:00:20.585,784] main_app: Ensuring modem is in full functionality mode... 00> [00:00:20.594,543] main_app: Current CFUN state: +CFUN: 1 00> OK 00> 00> [00:00:20.601,806] main_app: Querying SIM status multiple times to ensure power... 00> [00:00:21.111,236] main_app: SIM status attempt 1: +CPIN: READY 00> OK 00> 00> [00:00:21.119,049] main_app: SIM detected and powered! 00> [00:00:22.125,518] main_app: ===================================== 00> [00:00:22.133,026] main_app: SIM POWER STATUS: 00> [00:00:22.138,763] main_app: ===================================== 00> [00:00:22.146,270] main_app: IMPORTANT: Pin 19 (SIM_1V8) only outputs voltage during SIM communication! 00> [00:00:22.157,135] main_app: The voltage will appear when modem actively talks to SIM. 00> [00:00:22.166,473] main_app: RST showing -1.8V indicates partial SIM interface activation. 00> [00:00:22.176,147] main_app: Please measure NOW while firmware is running: 00> [00:00:22.184,387] main_app: - SIM VCC (pin C1): Should show 1.8V during communication 00> [00:00:22.193,908] main_app: - SIM RST (pin C2): -1.8V is normal (active low) 00> [00:00:22.202,575] main_app: ===================================== 00> [00:00:22.710,510] main_app: SIM detection after power enable: +CPIN: READY 00> OK 00> 00> [00:00:22.719,390] main_app: SUCCESS: SIM card detected and ready! 00> [00:00:22.726,928] main_app: ==================================== 00> [00:00:22.734,344] main_app: ANTENNA SWITCH ISSUE DETECTED! 00> [00:00:22.741,485] main_app: ==================================== 00> [00:00:22.748,931] main_app: QM13345 uses RFFE 2.1 protocol 00> [00:00:22.756,072] main_app: nRF9151 firmware 2.0.2 does NOT support RFFE commands 00> [00:00:22.765,319] main_app: The antenna switch cannot be properly controlled! 00> [00:00:22.774,200] main_app: Attempting workarounds... 00> [00:00:22.781,280] main_app: XMIPIRFFEDEV failed (err=65536) - device may already be configured 00> [00:00:22.792,449] main_app: XMIPIRFFECTRL INIT failed (err=65536) 00> [00:00:22.800,964] main_app: XMIPIRFFECTRL ON failed (err=65536) 00> [00:00:22.809,448] main_app: XMIPIRFFEDBG read failed (err=65536) 00> [00:00:22.818,115] main_app: XANTCFG failed (err=65536) 00> [00:00:22.824,951] main_app: ==================================== 00> [00:00:22.832,397] main_app: RFFE Configuration FAILED - Commands Not Supported! 00> [00:00:22.841,430] main_app: QM13345 antenna switch is NOT properly configured 00> [00:00:22.850,311] main_app: ==================================== 00> [00:00:22.857,727] main_app: Attempting alternative antenna configuration methods... 00> [00:00:22.867,431] main_app: MAGPIO not available (err=65536) 00> [00:00:22.875,335] main_app: Cannot get antenna tuning (err=65536) 00> [00:00:22.883,148] main_app: ==================================== 00> [00:00:22.890,594] main_app: CRITICAL: HARDWARE INCOMPATIBILITY 00> [00:00:22.898,101] main_app: ==================================== 00> [00:00:22.905,792] main_app: Problem: QM13345 antenna switch requires RFFE 2.1 protocol 00> [00:00:22.915,496] main_app: Issue: nRF9151 firmware 2.0.2 does NOT support RFFE 00> [00:00:22.924,530] main_app: Result: Antenna switch stuck in unknown/OFF state 00> [00:00:22.933,380] main_app: 00> [00:00:22.937,835] main_app: POSSIBLE SOLUTIONS: 00> [00:00:22.944,030] main_app: 1. Hardware modification: Bypass QM13345 (connect RFC to RF1 directly) 00> [00:00:22.954,772] main_app: 2. Add pull-up resistor on V1 (pin 8) to force RF1 selection 00> [00:00:22.964,660] main_app: 3. Wait for Nordic to release RFFE-enabled firmware 00> [00:00:22.973,693] main_app: 4. Use external GPIO to control V1-V4 pins (requires PCB rework) 00> [00:00:22.983,917] main_app: ==================================== 00> [00:00:23.092,803] main_app: Checking RF test mode capabilities... 00> [00:00:23.100,982] main_app: RF test mode not available (err=65536) 00> [00:00:23.109,252] main_app: Radio functionality: +CFUN: 1 00> OK 00> 00> [00:00:23.116,607] main_app: Radio is enabled (CFUN=1) 00> [00:00:23.123,626] main_app: RF switch configuration attempts completed 00> [00:00:23.131,591] main_app: ==================================== 00> [00:00:23.139,038] main_app: ==================================== 00> [00:00:23.146,453] main_app: QUICK SIGNAL CHECK BEFORE ATTACHMENT 00> [00:00:23.153,869] main_app: ==================================== 00> [00:00:23.161,743] main_app: Signal strength: +CSQ: 99,99 00> OK 00> 00> [00:00:23.169,006] main_app: NO SIGNAL DETECTED (CSQ: 99,99) 00> [00:00:23.176,239] main_app: Check antenna connection! 00> [00:00:23.183,288] main_app: SIM status: +CPIN: READY 00> OK 00> 00> [00:00:23.190,185] main_app: ==================================== 00> [00:00:23.197,631] main_app: Step 8: Waiting for network attachment (AT+CGATT)... 00> [00:00:23.206,909] main_app: [Attempt 1/30] Not attached yet: +CGATT: 0 00> OK 00> (Connection lost)