Hi,
I am trying to test the asset tracker code on the nRF9160DK from the precompiled hex files from [ images_dfu_hex/nrf9160dk_asset_tracker_dfu_2020-04-29_bc7ade8b.hex ]
And I am not able to visualize any output on the nRF Cloud and I get these errors
2020-07-15T16:48:57.566Z DEBUG modem << [00:01:00.658,782] \x1B[1;31m<err> nrf_cloud_codec: Deprecated state. Delete device from nrfCloud and update device with JITP certificates.\x1B[0m\x0D\x0A
2020-07-15T16:48:57.573Z DEBUG modem << [00:01:00.671,478] \x1B[1;31m<err> nrf_cloud_fsm: nrf_cloud_decode_requested_state Failed -134\x1B[0m\x0D
2020-07-15T16:48:57.585Z DEBUG modem << [00:01:00.680,084] \x1B[1;31m<err> nrf_cloud_fsm: Handler failed! state: 5, type: 3\x1B[0m\x0D\x0A
2020-07-15T16:48:57.588Z DEBUG modem << [00:01:00.687,744] \x1B[1;31m<err> nrf_cloud_transport: nct_input: failed -134\x1B[0m\x0D\x0A
Below is the entire log File
2020-07-15T16:47:56.216Z DEBUG modem << *** Booting Zephyr OS build v2.1.99-ncs1-1145-g13dc96f83bab ***\x0D\x0A 2020-07-15T16:47:56.223Z DEBUG modem << [00:00:00.007,202] \x1B[0m<inf> mcuboot: Starting bootloader\x1B[0m\x0D\x0A 2020-07-15T16:47:56.232Z DEBUG modem << [00:00:00.015,899] \x1B[0m<inf> mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3\x1B[0m\x0D\x0A 2020-07-15T16:47:56.237Z DEBUG modem << [00:00:00.029,693] \x1B[0m<inf> mcuboot: Boot source: none\x1B[0m\x0D 2020-07-15T16:47:56.243Z DEBUG modem << [00:00:00.037,170] \x1B[0m<inf> mcuboot: Swap type: none\x1B[0m\x0D\x0A 2020-07-15T16:47:56.579Z DEBUG modem << [00:00:00.452,484] \x1B[0m<inf> mcuboot: Bootloader chainload address offset: 0x10000\x1B[0m\x0D\x0A 2020-07-15T16:47:56.585Z DEBUG modem << [00:00:00.460,266] \x1B[0m<inf> mcuboot: Jumping to the first image slot\x1B[0m\x0D\x0A 2020-07-15T16:47:56.591Z DEBUG modem << *** Booting Zephyr OS build v2.1.99-ncs1-1145-g13dc96f83bab ***\x0D\x0A 2020-07-15T16:47:56.598Z DEBUG modem << Flash regions\x09\x09Domain\x09\x09Permissions\x0D\x0A 2020-07-15T16:47:56.599Z DEBUG modem << 00 02 0x00000 0x18000 \x09Secure\x09\x09rwxl\x0D\x0A 2020-07-15T16:47:56.601Z DEBUG modem << 03 31 0x18000 0x100000 \x09Non-Secure\x09rwxl\x0D 2020-07-15T16:47:56.608Z DEBUG modem << Non-secure callable region 0 placed in flash region 2 with size 32.\x0D\x0A\x0D\x0A 2020-07-15T16:47:56.780Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A 2020-07-15T16:47:56.787Z DEBUG modem << 00 07 0x00000 0x10000 \x09Secure\x09\x09rwxl\x0D\x0A 2020-07-15T16:47:56.787Z DEBUG modem << 08 31 0x10000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A 2020-07-15T16:47:56.789Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A 2020-07-15T16:47:56.793Z DEBUG modem << 00 NRF_P0 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.800Z DEBUG modem << 01 NRF_CLOCK Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.801Z DEBUG modem << 02 NRF_RTC0 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.802Z DEBUG modem << 03 NRF_RTC1 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.806Z DEBUG modem << 04 NRF_NVMC Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.815Z DEBUG modem << 05 NRF_UARTE1 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.816Z DEBUG modem << 06 NRF_UARTE2 Secure\x09\x09SKIP\x0D\x0A 2020-07-15T16:47:56.817Z DEBUG modem << 07 NRF_TWIM2 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.820Z DEBUG modem << 08 NRF_SPIM3 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.823Z DEBUG modem << 09 NRF_TIMER0 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.827Z DEBUG modem << 10 NRF_TIMER1 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.834Z DEBUG modem << 11 NRF_TIMER2 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.835Z DEBUG modem << 12 NRF_SAADC Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.837Z DEBUG modem << 13 NRF_PWM0 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.841Z DEBUG modem << 14 NRF_PWM1 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.849Z DEBUG modem << 15 NRF_PWM2 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.850Z DEBUG modem << 16 NRF_PWM3 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.851Z DEBUG modem << 17 NRF_WDT Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.854Z DEBUG modem << 18 NRF_IPC Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.858Z DEBUG modem << 19 NRF_VMC Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.866Z DEBUG modem << 20 NRF_FPU Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.867Z DEBUG modem << 21 NRF_EGU1 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.868Z DEBUG modem << 22 NRF_EGU2 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.872Z DEBUG modem << 23 NRF_DPPIC Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.875Z DEBUG modem << 24 NRF_GPIOTE1 Non-Secure\x09OK\x0D\x0A 2020-07-15T16:47:56.883Z DEBUG modem << 25 NRF_REGULATORS Non-Secure\x09OK\x0D\x0A\x0D\x0A 2020-07-15T16:47:56.883Z DEBUG modem << SPM: NS image at 0x1c200\x0D\x0A 2020-07-15T16:47:56.884Z DEBUG modem << SPM: NS MSP at 0x2002f080\x0D\x0A 2020-07-15T16:47:56.886Z DEBUG modem << SPM: NS reset vector at 0x252f1\x0D\x0A 2020-07-15T16:47:56.890Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A 2020-07-15T16:47:57.085Z DEBUG modem << *** Booting Zephyr OS build v2.1.99-ncs1-1145-g13dc96f83bab ***\x0D 2020-07-15T16:47:57.095Z DEBUG modem << [00:00:00.190,948] \x1B[0m<dbg> nrf9160_gps.setup: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577\x1B[0m\x0D\x0A 2020-07-15T16:47:57.103Z DEBUG modem << [00:00:00.199,890] \x1B[0m<dbg> nrf9160_gps.setup: COEX0 set: AT%XCOEX0=1,1,1570,1580\x1B[0m\x0D\x0A 2020-07-15T16:47:57.109Z DEBUG modem << [00:00:00.207,641] \x1B[0m<inf> asset_tracker: Asset tracker started\x1B[0m\x0D\x0A 2020-07-15T16:47:57.126Z DEBUG modem << [00:00:00.221,069] \x1B[0m<dbg> nrf_cloud_transport.nct_client_id_get: client_id = nrf-352656100371098\x1B[0m\x0D\x0A 2020-07-15T16:47:57.137Z DEBUG modem << [00:00:00.230,346] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_base_topic: $aws/things/nrf-352656100371098/shadow\x1B[0m\x0D\x0A 2020-07-15T16:47:57.149Z DEBUG modem << [00:00:00.242,095] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: accepted_topic: nrf-352656100371098/shadow/get/accepted\x1B[0m\x0D\x0A 2020-07-15T16:47:57.165Z DEBUG modem << [00:00:00.253,692] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: rejected_topic: $aws/things/nrf-352656100371098/shadow/get/rejected\x1B[0m\x0D\x0A 2020-07-15T16:47:57.174Z DEBUG modem << [00:00:00.266,326] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_delta_topic: $aws/things/nrf-352656100371098/shadow/update/delta\x1B[0m\x0D 2020-07-15T16:47:57.187Z DEBUG modem << [00:00:00.279,296] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_topic: $aws/things/nrf-352656100371098/shadow/update\x1B[0m\x0D\x0A 2020-07-15T16:47:57.199Z DEBUG modem << [00:00:00.291,198] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_get_topic: $aws/things/nrf-352656100371098/shadow/get\x1B[0m\x0D\x0A 2020-07-15T16:47:57.205Z DEBUG modem << [00:00:00.303,497] \x1B[0m<inf> asset_tracker: Connecting to LTE network. \x1B[0m\x0D 2020-07-15T16:47:57.216Z DEBUG modem << [00:00:00.310,302] \x1B[0m<inf> asset_tracker: This may take several minutes.\x1B[0m\x0D\x0A 2020-07-15T16:47:57.232Z DEBUG modem << [00:00:00.325,378] \x1B[0m<dbg> lte_lc.w_lte_lc_connect: Network mode: AT%XSYSTEMMODE=1,0,1,0\x1B[0m\x0D\x0A 2020-07-15T16:48:49.556Z DEBUG modem << +CEREG: 2,"620F","017F2903",7,0,0,"11100000","11100000"\x0D\x0A 2020-07-15T16:48:49.566Z DEBUG modem << [00:00:52.663,391] \x1B[0m<dbg> lte_lc.parse_nw_reg_status: Network registration status: 2\x1B[0m\x0D\x0A 2020-07-15T16:48:52.367Z DEBUG modem << +CEREG: 5,"620F","017F2903",7,,,"11100000","11100000"\x0D\x0A 2020-07-15T16:48:52.375Z DEBUG modem << [00:00:55.474,182] \x1B[0m<dbg> lte_lc.parse_nw_reg_status: Network registration status: 5\x1B[0m\x0D\x0A 2020-07-15T16:48:52.385Z DEBUG modem << [00:00:55.482,574] \x1B[0m<inf> asset_tracker: Connected to LTE network\x1B[0m\x0D\x0A 2020-07-15T16:48:52.559Z DEBUG modem << [00:00:55.658,203] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: IPv4 Address 0x1f97e503\x1B[0m\x0D 2020-07-15T16:48:52.570Z DEBUG modem << [00:00:55.666,320] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_connect: mqtt_connect requesting persistent session\x1B[0m\x0D\x0A 2020-07-15T16:48:56.978Z DEBUG modem << [00:01:00.074,920] \x1B[0m<dbg> aws_fota.aws_fota_mqtt_evt_handler: Previous session valid; skipping FOTA subscriptions\x1B[0m\x0D 2020-07-15T16:48:56.990Z DEBUG modem << [00:01:00.085,845] \x1B[0m<inf> aws_fota: Created notify_next_topic $aws/things/nrf-352656100371098/jobs/notify-next\x1B[0m\x0D\x0A 2020-07-15T16:48:57.001Z DEBUG modem << [00:01:00.096,466] \x1B[0m<inf> aws_fota: Created get_topic $aws/things/nrf-352656100371098/jobs/$next/get/#\x1B[0m\x0D\x0A 2020-07-15T16:48:57.007Z DEBUG modem << [00:01:00.106,323] \x1B[0m<inf> aws_fota: previously subscribed to notify-next topic\x1B[0m\x0D\x0A 2020-07-15T16:48:57.016Z DEBUG modem << [00:01:00.114,135] \x1B[0m<inf> aws_jobs: Publish topic: $aws/things/nrf-352656100371098/jobs/$next/get\x1B[0m\x0D\x0A 2020-07-15T16:48:57.023Z DEBUG modem << [00:01:00.123,535] \x1B[0m<inf> aws_jobs: Publish payload {"clientToken": ""}\x1B[0m\x0D\x0A 2020-07-15T16:48:57.033Z DEBUG modem << [00:01:00.132,263] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_CONNACK\x1B[0m\x0D\x0A 2020-07-15T16:48:57.041Z DEBUG modem << [00:01:00.140,502] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 2\x1B[0m\x0D\x0A 2020-07-15T16:48:57.049Z DEBUG modem << [00:01:00.148,254] \x1B[0m<dbg> nrf_cloud.event_handler: NRF_CLOUD_EVT_TRANSPORT_CONNECTED\x1B[0m\x0D\x0A 2020-07-15T16:48:57.055Z DEBUG modem << [00:01:00.156,494] \x1B[0m<inf> asset_tracker: CLOUD_EVT_CONNECTED\x1B[0m\x0D\x0A 2020-07-15T16:48:57.066Z DEBUG modem << [00:01:00.162,628] \x1B[0m<inf> asset_tracker: Persistent Sessions = 1\x1B[0m\x0D\x0A 2020-07-15T16:48:57.072Z DEBUG modem << [00:01:00.169,067] \x1B[0m<dbg> nrf_cloud_fsm.connection_handler: Previous session valid; skipping nct_cc_connect()\x1B[0m\x0D\x0A 2020-07-15T16:48:57.082Z DEBUG modem << [00:01:00.179,534] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 4\x1B[0m\x0D\x0A 2020-07-15T16:48:57.090Z DEBUG modem << [00:01:00.187,316] \x1B[0m<dbg> nrf_cloud_transport.nct_cc_send: mqtt_publish: id = 5678 opcode = 0 len = 0\x1B[0m\x0D\x0A 2020-07-15T16:48:57.099Z DEBUG modem << [00:01:00.197,967] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D\x0A 2020-07-15T16:48:57.395Z DEBUG modem << [00:01:00.491,668] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 5678 result = 0\x1B[0m\x0D\x0A 2020-07-15T16:48:57.403Z DEBUG modem << [00:01:00.501,770] \x1B[0m<dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 5\x1B[0m\x0D\x0A 2020-07-15T16:48:57.415Z DEBUG modem << [00:01:00.509,765] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBACK: id = 4282 result = 0\x1B[0m\x0D\x0A 2020-07-15T16:48:57.425Z DEBUG modem << [00:01:00.520,233] \x1B[0m<dbg> aws_fota.on_publish_evt: Received topic: $aws/things/nrf-352656100371098/jobs/$next/get/accepted\x1B[0m\x0D\x0A 2020-07-15T16:48:57.433Z DEBUG modem << [00:01:00.531,799] \x1B[0m<inf> aws_fota: Checking for an available job\x1B[0m\x0D\x0A 2020-07-15T16:48:57.441Z DEBUG modem << [00:01:00.538,452] \x1B[0m<dbg> aws_fota.get_job_execution: Job doc: {"clientToken":"","timestamp":1594831737}\x1B[0m\x0D\x0A 2020-07-15T16:48:57.449Z DEBUG modem << [00:01:00.548,675] \x1B[0m<dbg> aws_fota.get_job_execution: Got only one field\x1B[0m\x0D\x0A 2020-07-15T16:48:57.455Z DEBUG modem << [00:01:00.555,877] \x1B[0m<inf> aws_fota: No queued jobs for this device\x1B[0m\x0D 2020-07-15T16:48:57.527Z DEBUG modem << [00:01:00.624,298] \x1B[0m<dbg> aws_fota.on_publish_evt: Received topic: nrf-352656100371098/shadow/get/accepted\x1B[0m\x0D 2020-07-15T16:48:57.541Z DEBUG modem << [00:01:00.634,490] \x1B[0m<dbg> aws_fota.on_publish_evt: received an unhandled MQTT publish event on topic: nrf-352656100371098/shadow/get/accepted\x1B[0m\x0D\x0A 2020-07-15T16:48:57.551Z DEBUG modem << [00:01:00.647,766] \x1B[0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBLISH: id = 15404 len = 209\x1B[0m\x0D\x0A 2020-07-15T16:48:57.566Z DEBUG modem << [00:01:00.658,782] \x1B[1;31m<err> nrf_cloud_codec: Deprecated state. Delete device from nrfCloud and update device with JITP certificates.\x1B[0m\x0D\x0A 2020-07-15T16:48:57.573Z DEBUG modem << [00:01:00.671,478] \x1B[1;31m<err> nrf_cloud_fsm: nrf_cloud_decode_requested_state Failed -134\x1B[0m\x0D 2020-07-15T16:48:57.585Z DEBUG modem << [00:01:00.680,084] \x1B[1;31m<err> nrf_cloud_fsm: Handler failed! state: 5, type: 3\x1B[0m\x0D\x0A 2020-07-15T16:48:57.588Z DEBUG modem << [00:01:00.687,744] \x1B[1;31m<err> nrf_cloud_transport: nct_input: failed -134\x1B[0m\x0D\x0A
Here is the image of the nRF Cloud where its asking me to update the firmware (Although I did already update it)
I needed 2 solutions
1. How to resolve the issue?
2. Please help me out with the MQTT connections and broker settings. Ultimately I want to visualize ecg sensor signals on our own MQTT broker. Where can I change these setting?