Thingy:91X doesn't connect with nRF Cloud

I am currently trying to get hello nRF Cloud example running.
However, my Thingy:91X doesn't connect with the nRF Cloud.
According to the logs of the cellular monitor application, the device is not connecting to the mobile network.
I tried the two included SIM cards (conexa and onomondo) as well as third SIM card from soracom (plan01s).
The device won't get provisioned.
 

Parents
  • Modem team had a look and is asking now;

    Can it be that the app/user has locked the PLMN with +COPS. The modem log is not from the boot so cannot confirm that.

    In the NBIOT system it looks like there is manual selection configured with MCC 204 MNC16 belongs to Netherlands T-Mobile. Device is Japan, so this then does not work. Can it be some build config that is now set wrongly?

  • I set AT+COPS=0 and it went online within a second.
    Thanks to you and the modem team!

    There is one more thing I would like to ask:
    After restarting, the device is stuck again.
    So, the setting is not permanent. 

    I don't completely understand why this problem exists, because I reloaded and updated the modem firmware via QuickStart several times, and therefore, the device should have been in its original state.  

Reply
  • I set AT+COPS=0 and it went online within a second.
    Thanks to you and the modem team!

    There is one more thing I would like to ask:
    After restarting, the device is stuck again.
    So, the setting is not permanent. 

    I don't completely understand why this problem exists, because I reloaded and updated the modem firmware via QuickStart several times, and therefore, the device should have been in its original state.  

Children
  • Thank you for your reply.

    Not, I havent tried issuing the command yet.
    I tried it today and it seems to have failed.

    uart:~$ > at AT+XFACTORYRESET=1
    at AT+XFACTORYRESET=1
    ERROR

  • It should be AT%XFACTORYRESET=1 since this a proprietary command, and not "AT+XFACTORYRESET=1" as you wrote.

  • Thank you for your help.
    It still does not work.

    uart:~$ > at AT%XFACTORYRESET=1
    at AT%XFACTORYRESET=1
    ERROR
    
    [00:01:36.267,425] <dbg> trigger: trigger_work_fn: Sending data sample trigger
    [00:01:36.267,822] <dbg> app: app_task: Trigger received
    [00:01:36.267,913] <dbg> battery: state_sampling_run: Data sample trigger received, getting battery data
    [00:01:36.268,005] <dbg> trigger: trigger_poll_work_fn: Sending shadow/fota poll trigger
    [00:01:36.268,493] <inf> nrf_cloud_fota_poll: Checking for FOTA job...
    [00:01:36.270,050] <dbg> environmental_module: state_sampling_run: Data sample trigger received, getting environmental data
    [00:01:36.270,141] <dbg> environmental_module: sample: temp: 24.359111; press: 102062.695312; humidity: 16.691154; iaq: 200; CO2: 1883.093750; VOC: 11.507160
    [00:01:36.270,355] <dbg> environmental_module: sample: Submitting payload
    [00:01:36.270,690] <dbg> location_module: location_task: Trigger received
    [00:01:36.270,721] <dbg> location_module: handle_trigger_chan: Data sample trigger received, getting location
    [00:01:36.270,751] <dbg> location_module: trigger_location_update: GNSS disabled
    [00:01:36.270,782] <dbg> location_module: trigger_location_update: location library initialized
    [00:01:36.270,874] <inf> location: Wi-Fi and cellular methods combined
    [00:01:36.271,148] <dbg> led: poll_running: poll_running
    [00:01:36.271,179] <dbg> led: led_not_set_running: led_not_set_running
    [00:01:36.271,209] <dbg> led: running_run: running_run
    [00:01:36.271,270] <dbg> trigger: trigger_callback: Received message on channel LOCATION_CHAN
    [00:01:36.271,301] <dbg> trigger: trigger_callback: Location search started
    [00:01:36.271,301] <dbg> trigger: trigger_callback: Running SMF
    [00:01:36.271,331] <dbg> trigger: frequent_poll_run: frequent_poll_run
    [00:01:36.271,362] <dbg> trigger: frequent_poll_run: Location search started, going into blocked state
    [00:01:36.271,362] <dbg> trigger: frequent_poll_exit: frequent_poll_exit
    [00:01:36.271,514] <dbg> led: led_pattern_update_work_fn: Setting LED effect: LED_LOCATION_SEARCHING
    [00:01:36.271,545] <dbg> app_led_pwm: led_pwm_set_effect: Power state: 0
    [00:01:36.271,667] <dbg> location_module: location_task: Trigger received
    [00:01:36.271,728] <dbg> location_module: location_task: Trigger received
    [00:01:36.271,850] <dbg> network: state_sampling_run: Data sample trigger received, getting network quality data
    [00:01:36.272,064] <dbg> app: app_task: Trigger received
    [00:01:36.272,094] <dbg> app: app_task: Poll trigger received
    [00:01:36.272,247] <dbg> app: shadow_get: Requesting device configuration from the device shadow
    [00:01:36.272,430] <dbg> transport: state_connected_ready_run: state_connected_ready_run
    [00:01:36.272,460] <dbg> transport: state_connected_ready_run: Payload
                                        9f bf 21 68 31 34 32 30  35 2f 30 2f 00 61 30 02 |..!h1420 5/0/.a0.
                                        fb 40 38 5b ee b2 d0 a2  44 22 1a 69 89 a5 f0 ff |.@8[.... D".i....
    [00:01:36.279,937] <dbg> battery: sample: State of charge: 100.000000
    [00:01:36.279,998] <dbg> battery: sample: The battery is charging
    [00:01:36.280,700] <inf> wifi_nrf_bus: SPIM spi@b000: freq = 8 MHz
    [00:01:36.280,731] <inf> wifi_nrf_bus: SPIM spi@b000: latency = 0
    [00:01:40.117,980] <inf> nrf_cloud_fota_poll: No pending FOTA job
    [00:01:40.490,051] <dbg> transport: state_running_run: state_running_run
    [00:01:40.490,173] <dbg> transport: state_connected_ready_run: state_connected_ready_run
    [00:01:40.490,203] <dbg> transport: state_connected_ready_run: Payload
                                        9f bf 21 68 31 34 32 30  32 2f 30 2f 00 61 30 02 |..!h1420 2/0/.a0.
                                        18 64 22 1a 69 89 a5 f0  ff bf 00 61 31 02 fb 40 |.d".i... ...a1..@
    [00:01:40.907,989] <dbg> app: shadow_get: No shadow delta changes available
    [00:01:40.908,081] <dbg> app: app_task: Trigger received
    [00:01:41.339,691] <dbg> transport: state_running_run: state_running_run
    [00:01:41.907,958] <dbg> location_module: location_event_handler: Got location: lat: 35.884443, lon: 139.503266, acc: 83.000000, method: 4
    [00:01:41.908,020] <dbg> led: poll_running: poll_running
    [00:01:41.908,050] <dbg> led: poll_entry: poll_entry
    [00:01:41.908,142] <dbg> trigger: trigger_callback: Received message on channel LOCATION_CHAN
    [00:01:41.908,172] <dbg> trigger: trigger_callback: Location search done
    [00:01:41.908,172] <dbg> trigger: trigger_callback: Running SMF
    [00:01:41.908,203] <dbg> trigger: blocked_run: blocked_run
    [00:01:41.908,233] <dbg> trigger: blocked_run: Going into frequent poll state
    [00:01:41.908,447] <dbg> trigger: frequent_poll_entry: frequent_poll_entry
    [00:01:41.908,294] <dbg> led: led_pattern_update_work_fn: Setting LED effect: LED_POLL_MODE
    [00:01:41.908,355] <dbg> app_led_pwm: led_pwm_set_effect: Power state: 0
    [00:01:41.908,447] <dbg> trigger: frequent_poll_entry: Location search done
    [00:02:11.908,599] <dbg> trigger: trigger_poll_work_fn: Sending shadow/fota poll trigger
    [00:02:11.909,149] <inf> nrf_cloud_fota_poll: Checking for FOTA job...
    [00:02:11.910,583] <dbg> app: app_task: Trigger received
    [00:02:11.910,614] <dbg> app: app_task: Poll trigger received
    [00:02:11.910,766] <dbg> app: shadow_get: Requesting device configuration from the device shadow
    [00:02:11.911,132] <dbg> location_module: location_task: Trigger received
    [00:02:11.911,193] <dbg> location_module: location_task: Trigger received
    [00:02:13.478,454] <inf> nrf_cloud_fota_poll: No pending FOTA job
    [00:02:13.829,193] <dbg> app: shadow_get: No shadow delta changes available
    [00:02:13.829,284] <dbg> app: app_task: Trigger received


    Anyway, it works now.
    Thank you very much for your support!

Related