This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem connecting Thingy:91 to cloud

I'm having trouble connecting Thingy:91 to cloud.

I've installed both the modem and HEX image in the board successfully.

I've added the SIM card successfully to the cloud account.

The problem is that when I turn on the device for it to connect to the cloud and wait for user association, it never does so, the LED is blue and continuously blinking, never changes to yellow.

Thanks in advance.

Parents
  • Hello Saul,

    no need to do that. In the log, the Asset Tracker is falling back to NB-IoT automatically:

    2021-07-13T13:37:34.535Z DEBUG modem << [00:10:00.428,680] [0m<inf> lte_lc: Using fallback network mode[0m
    2021-07-13T13:38:24.864Z DEBUG modem << +CEREG: 2,"B8CE","00060D71",9

    Value 9 is:

    <AcT>
    9 – E-UTRAN NB-S1

    which is NB-IoT.

    That ends of course with the recject cause 15:

    2021-07-13T13:38:27.538Z DEBUG modem << +CEREG: 2,"B8CE","00060D71",9,0,15

    Cause #15 – No suitable cells in tracking area This EMM cause is sent to the UE if it requests service, or if the network initiates a detach request, in a tracking
    area where the UE, by subscription, is not allowed to operate, but when it should find another allowed tracking area or location area in the same PLMN or an 
    equivalent PLMN.

    But I’m a little bit confused what is happening here honestly:

    2021-07-13T13:27:34.344Z DEBUG modem << [00:00:00.335,144] [0m<inf> asset_tracker: Connecting to LTE network.[0m
    2021-07-13T13:27:34.347Z DEBUG modem << [00:00:00.341,613] [0m<inf> asset_tracker: This may take several minutes.[0m
    2021-07-13T13:28:07.711Z DEBUG modem << +CEREG: 4
    2021-07-13T13:28:07.784Z DEBUG modem << [00:00:33.807,861] [0m<inf> asset_tracker: LTE cell changed: Cell ID: -1, Tracking area: -1[0m
    2021-07-13T13:37:34.291Z DEBUG modem << [00:10:00.402,832] [0m<inf> lte_lc: Network connection attempt timed out[0m
    2021-07-13T13:37:34.502Z DEBUG modem << +CEREG: 0

    I can not see any more information on the connection attempt. It should be as much as when trying to connect to a NB-IoT network.

    Are you using the default configuraiton of the Asset Tracker, or have you changed anything?

    Regards,

    Markus

Reply
  • Hello Saul,

    no need to do that. In the log, the Asset Tracker is falling back to NB-IoT automatically:

    2021-07-13T13:37:34.535Z DEBUG modem << [00:10:00.428,680] [0m<inf> lte_lc: Using fallback network mode[0m
    2021-07-13T13:38:24.864Z DEBUG modem << +CEREG: 2,"B8CE","00060D71",9

    Value 9 is:

    <AcT>
    9 – E-UTRAN NB-S1

    which is NB-IoT.

    That ends of course with the recject cause 15:

    2021-07-13T13:38:27.538Z DEBUG modem << +CEREG: 2,"B8CE","00060D71",9,0,15

    Cause #15 – No suitable cells in tracking area This EMM cause is sent to the UE if it requests service, or if the network initiates a detach request, in a tracking
    area where the UE, by subscription, is not allowed to operate, but when it should find another allowed tracking area or location area in the same PLMN or an 
    equivalent PLMN.

    But I’m a little bit confused what is happening here honestly:

    2021-07-13T13:27:34.344Z DEBUG modem << [00:00:00.335,144] [0m<inf> asset_tracker: Connecting to LTE network.[0m
    2021-07-13T13:27:34.347Z DEBUG modem << [00:00:00.341,613] [0m<inf> asset_tracker: This may take several minutes.[0m
    2021-07-13T13:28:07.711Z DEBUG modem << +CEREG: 4
    2021-07-13T13:28:07.784Z DEBUG modem << [00:00:33.807,861] [0m<inf> asset_tracker: LTE cell changed: Cell ID: -1, Tracking area: -1[0m
    2021-07-13T13:37:34.291Z DEBUG modem << [00:10:00.402,832] [0m<inf> lte_lc: Network connection attempt timed out[0m
    2021-07-13T13:37:34.502Z DEBUG modem << +CEREG: 0

    I can not see any more information on the connection attempt. It should be as much as when trying to connect to a NB-IoT network.

    Are you using the default configuraiton of the Asset Tracker, or have you changed anything?

    Regards,

    Markus

Children
  • Hello Markus,

    For now I'm using the default config until I have it fully working, I will most likely do modifications after it is working though.

    EDIT: I also sent an email to iBasis to check the validity of the SIM Card, seems some people had problems with that aswell.

    EDI #2: I've also tried the asset tracker v2, here is the log.

     

    2021-07-14T08:32:30.696Z DEBUG modem << [00:01:11.466,156] [0m<inf> event_manager: MODEM_EVT_LTE_DISCONNECTED[0m
    2021-07-14T08:32:30.699Z DEBUG modem << [00:01:11.473,205] [0m<inf> event_manager: MODEM_EVT_LTE_CELL_UPDATE[0m
    2021-07-14T08:32:40.694Z DEBUG modem << +CEREG: 2
    2021-07-14T08:32:40.698Z DEBUG modem << [00:01:21.475,402] [0m<inf> event_manager: MODEM_EVT_LTE_DISCONNECTED[0m
    2021-07-14T08:33:13.696Z DEBUG modem << +CEREG: 4
    2021-07-14T08:33:13.700Z DEBUG modem << [00:01:54.477,081] [0m<inf> event_manager: MODEM_EVT_LTE_DISCONNECTED[0m
    2021-07-14T08:33:19.515Z DEBUG modem << [00:02:00.285,705] [0m<inf> event_manager: APP_EVT_DATA_GET_ALL[0m
    2021-07-14T08:33:19.524Z DEBUG modem << [00:02:00.292,236] [0m<inf> event_manager: APP_EVT_DATA_GET - Requested data types (MOD_DYN, BAT, ENV, GNSS, MOD_STAT)[0m
    2021-07-14T08:33:23.695Z DEBUG modem << +CEREG: 2
    2021-07-14T08:33:55.664Z DEBUG modem << +CEREG: 4
    2021-07-14T08:34:15.680Z DEBUG modem << +CEREG: 2
    2021-07-14T08:34:20.367Z DEBUG modem << *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    2021-07-14T08:34:20.402Z DEBUG modem << [00:00:00.244,934] [0m<inf> event_manager: APP_EVT_START[0m
    2021-07-14T08:34:20.451Z DEBUG modem << [00:00:00.271,209] [0m<inf> event_manager: DATA_EVT_CONFIG_INIT[0m
    2021-07-14T08:34:20.454Z DEBUG modem << [00:00:00.277,679] [0m<inf> app_module: Device mode: Active[0m
    2021-07-14T08:34:20.456Z DEBUG modem << [00:00:00.283,294] [0m<inf> app_module: Start data sample timer: 120 seconds interval[0m
    2021-07-14T08:34:20.458Z DEBUG modem << [00:00:00.291,290] [0m<inf> event_manager: APP_EVT_ACTIVITY_DETECTION_DISABLE[0m
    2021-07-14T08:34:20.530Z DEBUG modem << [00:00:00.371,246] [0m<inf> event_manager: MODEM_EVT_LTE_CONNECTING[0m
    2021-07-14T08:35:25.329Z DEBUG modem << +CEREG: 4
    2021-07-14T08:35:25.332Z DEBUG modem << [00:01:05.164,337] [0m<inf> event_manager: MODEM_EVT_LTE_DISCONNECTED[0m
    2021-07-14T08:35:25.334Z DEBUG modem << [00:01:05.171,386] [0m<inf> event_manager: MODEM_EVT_LTE_CELL_UPDATE[0m
    2021-07-14T08:36:20.459Z DEBUG modem << [00:02:00.291,320] [0m<inf> event_manager: APP_EVT_DATA_GET_ALL[0m
    2021-07-14T08:36:20.462Z DEBUG modem << [00:02:00.297,851] [0m<inf> event_manager: APP_EVT_DATA_GET - Requested data types (MOD_DYN, BAT, ENV, GNSS, MOD_STAT)[0m
    2021-07-14T08:36:20.489Z DEBUG modem << [00:02:00.315,246] [0m<inf> event_manager: GPS_EVT_ACTIVE[0m
    2021-07-14T08:36:20.495Z DEBUG modem << [00:02:00.321,258] [0m<inf> event_manager: GPS_EVT_AGPS_NEEDED[0m
    2021-07-14T08:36:20.498Z DEBUG modem << [00:02:00.330,505] [0m<inf> event_manager: SENSOR_EVT_ENVIRONMENTAL_DATA_READY[0m
    2021-07-14T08:36:20.505Z DEBUG modem << [00:02:00.339,813] [1;31m<err> modem_info_params: Link data not obtained: 9 -14[0m
    2021-07-14T08:36:20.509Z DEBUG modem << [00:02:00.347,839] [1;31m<err> modem_info_params: Link data not obtained: 9 -14[0m
    2021-07-14T08:36:20.557Z DEBUG modem << [00:02:00.357,635] [1;31m<err> modem_info_params: Link data not obtained: 5 -22[0m
    2021-07-14T08:36:20.561Z DEBUG modem << [00:02:00.365,753] [1;31m<err> modem_info_params: Link data not obtained: 5 -22[0m
    2021-07-14T08:36:20.566Z DEBUG modem << [00:02:00.373,992] [1;31m<err> modem_info_params: Link data not obtained: 8 -22[0m
    2021-07-14T08:36:20.568Z DEBUG modem << [00:02:00.382,141] [1;31m<err> modem_info_params: Link data not obtained: 8 -22[0m
    2021-07-14T08:36:20.571Z DEBUG modem << [00:02:00.390,350] [1;31m<err> modem_info_params: Link data not obtained: 3 -22[0m
    2021-07-14T08:36:20.573Z DEBUG modem << [00:02:00.398,742] [1;31m<err> modem_info_params: Link data not obtained: 3 -22[0m
    2021-07-14T08:36:20.668Z DEBUG modem << [00:02:00.412,384] [1;31m<err> modem_info_params: Link data not obtained: 21 -22[0m
    2021-07-14T08:36:20.673Z DEBUG modem << [00:02:00.420,562] [1;31m<err> modem_info_params: Link data not obtained: 21 -22[0m
    2021-07-14T08:36:20.676Z DEBUG modem << [00:02:00.428,771] [1;31m<err> modem_info_params: Link data not obtained: 20 -5[0m
    2021-07-14T08:36:20.679Z DEBUG modem << [00:02:00.436,096] [1;31m<err> modem_info_params: Network data not obtained: -107[0m
    2021-07-14T08:36:20.681Z DEBUG modem << [00:02:00.443,634] [1;31m<err> modem_module: modem_info_params_get, error: -11[0m
    2021-07-14T08:36:20.683Z DEBUG modem << [00:02:00.451,019] [0m<inf> event_manager: MODEM_EVT_MODEM_STATIC_DATA_NOT_READY[0m
    2021-07-14T08:36:20.686Z DEBUG modem << [00:02:00.459,655] [1;31m<err> modem_info_params: Link data not obtained: 20 -5[0m
    2021-07-14T08:36:20.688Z DEBUG modem << [00:02:00.466,979] [1;31m<err> modem_info_params: Network data not obtained: -107[0m
    2021-07-14T08:36:20.691Z DEBUG modem << [00:02:00.474,548] [1;31m<err> nrf_cloud_agps: Could not obtain cell information[0m
    2021-07-14T08:36:20.694Z DEBUG modem << [00:02:00.482,025] [1;31m<err> nrf_cloud_agps: Failed to add modem info to A-GPS request: -11[0m
    2021-07-14T08:36:20.696Z DEBUG modem << [00:02:00.490,722] [1;31m<err> agps: nRF Cloud A-GPS request failed, error: -11[0m
    2021-07-14T08:36:20.699Z DEBUG modem << [00:02:00.498,107] [1;33m<wrn> cloud_module: Failed to request A-GPS data, error: -11[0m
    2021-07-14T08:36:20.701Z DEBUG modem << [00:02:00.506,011] [1;33m<wrn> cloud_module: This is expected to fail if we are not in a connected state[0m
    2021-07-14T08:36:20.748Z DEBUG modem << [00:02:00.517,730] [1;31m<err> modem_info_params: Link data not obtained: 9 -14[0m
    2021-07-14T08:36:20.751Z DEBUG modem << [00:02:00.526,580] [1;31m<err> modem_info_params: Link data not obtained: 5 -22[0m
    2021-07-14T08:36:20.755Z DEBUG modem << [00:02:00.534,698] [1;31m<err> modem_info_params: Link data not obtained: 8 -22[0m
    2021-07-14T08:36:20.758Z DEBUG modem << [00:02:00.542,877] [1;31m<err> modem_info_params: Link data not obtained: 3 -22[0m
    2021-07-14T08:36:20.761Z DEBUG modem << [00:02:00.553,771] [1;31m<err> modem_info_params: Link data not obtained: 21 -22[0m
    2021-07-14T08:36:20.763Z DEBUG modem << [00:02:00.562,011] [1;31m<err> modem_info_params: Link data not obtained: 20 -5[0m
    2021-07-14T08:36:20.766Z DEBUG modem << [00:02:00.569,335] [1;31m<err> modem_info_params: Network data not obtained: -107[0m
    2021-07-14T08:36:20.769Z DEBUG modem << [00:02:00.576,873] [1;31m<err> modem_module: modem_info_params_get, error: -11[0m
    2021-07-14T08:36:20.771Z DEBUG modem << [00:02:00.584,259] [0m<inf> event_manager: MODEM_EVT_MODEM_DYNAMIC_DATA_NOT_READY[0m
    2021-07-14T08:36:20.808Z DEBUG modem << [00:02:00.594,390] [1;31m<err> modem_info_params: Link data not obtained: 9 -14[0m
    2021-07-14T08:36:20.813Z DEBUG modem << [00:02:00.603,271] [1;31m<err> modem_info_params: Link data not obtained: 5 -22[0m
    2021-07-14T08:36:20.815Z DEBUG modem << [00:02:00.611,358] [1;31m<err> modem_info_params: Link data not obtained: 8 -22[0m
    2021-07-14T08:36:20.818Z DEBUG modem << [00:02:00.619,415] [1;31m<err> modem_info_params: Link data not obtained: 3 -22[0m
    2021-07-14T08:36:20.822Z DEBUG modem << [00:02:00.630,767] [1;31m<err> modem_info_params: Link data not obtained: 21 -22[0m
    2021-07-14T08:36:20.828Z DEBUG modem << [00:02:00.638,854] [1;31m<err> modem_info_params: Link data not obtained: 20 -5[0m
    2021-07-14T08:36:20.832Z DEBUG modem << [00:02:00.646,179] [1;31m<err> modem_info_params: Network data not obtained: -107[0m
    2021-07-14T08:36:20.835Z DEBUG modem << [00:02:00.653,747] [1;31m<err> modem_module: modem_info_params_get, error: -11[0m
    2021-07-14T08:36:20.838Z DEBUG modem << [00:02:00.661,132] [0m<inf> event_manager: MODEM_EVT_BATTERY_DATA_NOT_READY[0m
    2021-07-14T08:36:29.146Z DEBUG modem << +CEREG: 2
    2021-07-14T08:36:29.149Z DEBUG modem << [00:02:08.989,532] [0m<inf> event_manager: MODEM_EVT_LTE_DISCONNECTED[0m
    2021-07-14T08:37:35.482Z DEBUG modem << [00:03:15.328,002] [0m<inf> event_manager: DATA_EVT_DATA_READY[0m
    2021-07-14T08:38:00.574Z DEBUG modem << [00:03:40.408,111] [0m<inf> event_manager: GPS_EVT_TIMEOUT[0m
    2021-07-14T08:38:00.578Z DEBUG modem << [00:03:40.413,940] [0m<inf> event_manager: GPS_EVT_INACTIVE[0m
    2021-07-14T08:38:00.580Z DEBUG modem << [00:03:40.419,921] [0m<inf> event_manager: DATA_EVT_DATA_READY[0m
    2021-07-14T08:38:04.669Z DEBUG modem << +CEREG: 4
    2021-07-14T08:38:04.672Z DEBUG modem << [00:03:44.515,045] [0m<inf> event_manager: MODEM_EVT_LTE_DISCONNECTED[0m
    2021-07-14T08:38:20.455Z DEBUG modem << [00:04:00.291,320] [0m<inf> event_manager: APP_EVT_DATA_GET_ALL[0m
    2021-07-14T08:38:20.459Z DEBUG modem << [00:04:00.297,821] [0m<inf> event_manager: APP_EVT_DATA_GET - Requested data types (MOD_DYN, BAT, ENV, GNSS)[0m
    2021-07-14T08:38:20.522Z DEBUG modem << [00:04:00.370,269] [0m<inf> event_manager: GPS_EVT_ACTIVE[0m
    2021-07-14T08:38:20.557Z DEBUG modem << 
    2021-07-14T08:38:20.567Z DEBUG modem << [00:04:00.378,967] [1;31m<err> modem_info_params: Link data not obtained: 9 -14[0m
    2021-07-14T08:38:20.571Z DEBUG modem << [00:04:00.387,695] [0m<inf> event_manager: SENSOR_EVT_ENVIRONMENTAL_DATA_READY[0m
    2021-07-14T08:38:20.574Z DEBUG modem << [00:04:00.395,568] [1;31m<err> modem_info_params: Link data not obtained: 5 -22[0m
    2021-07-14T08:38:20.580Z DEBUG modem << [00:04:00.403,625] [1;31m<err> modem_info_params: Link data not obtained: 8 -22[0m
    2021-07-14T08:38:20.584Z DEBUG modem << [00:04:00.411,712] [1;31m<err> modem_info_params: Link data not obtained: 3 -22[0m
    2021-07-14T08:38:20.636Z DEBUG modem << [00:04:00.422,393] [1;31m<err> modem_info_params: Link data not obtained: 21 -22[0m
    2021-07-14T08:38:20.642Z DEBUG modem << [00:04:00.430,480] [1;31m<err> modem_info_params: Link data not obtained: 20 -5[0m
    2021-07-14T08:38:20.646Z DEBUG modem << [00:04:00.437,805] [1;31m<err> modem_info_params: Network data not obtained: -107[0m
    2021-07-14T08:38:20.650Z DEBUG modem << [00:04:00.445,465] [1;31m<err> modem_module: modem_info_params_get, error: -11[0m
    2021-07-14T08:38:20.654Z DEBUG modem << [00:04:00.452,850] [0m<inf> event_manager: MODEM_EVT_MODEM_DYNAMIC_DATA_NOT_READY[0m
    2021-07-14T08:38:20.661Z DEBUG modem << [00:04:00.463,012] [1;31m<err> modem_info_params: Link data not obtained: 9 -14[0m
    2021-07-14T08:38:20.734Z DEBUG modem << [00:04:00.471,832] [1;31m<err> modem_info_params: Link data not obtained: 5 -22[0m
    2021-07-14T08:38:20.741Z DEBUG modem << [00:04:00.479,980] [1;31m<err> modem_info_params: Link data not obtained: 8 -22[0m
    2021-07-14T08:38:20.747Z DEBUG modem << [00:04:00.488,006] [1;31m<err> modem_info_params: Link data not obtained: 3 -22[0m
    2021-07-14T08:38:20.754Z DEBUG modem << [00:04:00.498,687] [1;31m<err> modem_info_params: Link data not obtained: 21 -22[0m
    2021-07-14T08:38:20.757Z DEBUG modem << [00:04:00.506,774] [1;31m<err> modem_info_params: Link data not obtained: 20 -5[0m
    2021-07-14T08:38:20.761Z DEBUG modem << [00:04:00.514,221] [1;31m<err> modem_info_params: Network data not obtained: -107[0m
    2021-07-14T08:38:20.765Z DEBUG modem << [00:04:00.521,759] [1;31m<err> modem_module: modem_info_params_get, error: -11[0m
    2021-07-14T08:38:20.771Z DEBUG modem << [00:04:00.529,144] [0m<inf> event_manager: MODEM_EVT_BATTERY_DATA_NOT_READY[0m
    2021-07-14T08:38:37.475Z DEBUG modem << +CEREG: 2
    2021-07-14T08:38:37.477Z DEBUG modem << [00:04:17.321,044] [0m<inf> event_manager: MODEM_EVT_LTE_DISCONNECTED[0m

    Best regards,

    Saúl Carvalho

Related