nRF Connect SDK with External GSM 7600 with nRF52840

Hi,
I am working on nRF52840. Previously I was using the nRF SDK as there was no library available for external GSM(MQTT) so I am moving to nRF Connect SDK. I have successfully set up the environment now I want to communicate nRF52840 with external GSM(SIMCOM 7600G) and send data over the MQTT library. How can I start? Is there any tutorial? 

Parents
  • Hi,

     

    There's no direct tutorial to do exactly what you need, but in general you should start to build your application piece-by-piece, and verify each step along the way, to ensure that the different blocks/modules are working.

    Given the other thread that you have open:   FATAL ERROR: command exited with status 1 

    I think that this is a good starting point, to get the communication with the external device, then add networking capabilities to this sample.

     

    To get the basics up-and-running, I can strongly recommending doing the nordic developer academy courses:

    https://academy.nordicsemi.com/

     

    Kind regards,

    Håkon

  • Hi,

    Can I use this example to connect and send data to the MQTT server?

    MQTT Publisher

  • Try moving the callback functions outside of this if preprocessor check.

    Yes, I have removed it as shown in the above reply but still getting above issues

  • Hi  
    I have made changes but getting the above issues now. Can you please check?

  • Can you please post the updated compile log?

     

    Kind regards,

    Håkon

  • Hi  ,

    Here are the updated logs.

     *  Executing task: nRF Connect: Build: mqtt_publisher_test/build (active) 
    
    Building mqtt_publisher_test
    west build --build-dir f:\Development\nordicsemi\Myapps\mqtt_publisher_test\build f:\Development\nordicsemi\Myapps\mqtt_publisher_test
    
    [0/1] Re-running CMake...
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: F:/Development/nordicsemi/Myapps/mqtt_publisher_test
    -- Cache files will be written to: F:/Development/nordicsemi/v2.1.2/zephyr/.cache
    -- Zephyr version: 3.1.99 (F:/Development/nordicsemi/v2.1.2/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf52840dk_nrf52840
    -- Found host-tools: zephyr 0.14.1 (F:/Development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk)
    -- Found dtc: F:/Development/nordicsemi/toolchains/v2.1.2/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: zephyr 0.14.1 (F:/Development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk)
    -- Found BOARD.dts: F:/Development/nordicsemi/v2.1.2/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
    -- Found devicetree overlay: f:/Development/nordicsemi/Myapps/mqtt_publisher_test/nrf52840dk_nrf52840.overlay
    -- Generated zephyr.dts: F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/dts.cmake
    Parsing F:/Development/nordicsemi/Myapps/mqtt_publisher_test/Kconfig
    Loaded configuration 'F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/.config'
    Configuration saved to 'F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/.config'
    Kconfig header saved to 'F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/include/generated/autoconf.h'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build
    [1/330] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [2/330] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [3/330] Generating include/generated/offsets.h
    [4/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
    [5/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
    [6/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [7/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [8/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [9/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [10/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [11/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
    [12/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [13/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
    [14/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
    [15/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [16/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
    [17/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [18/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
    [19/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
    [20/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
    [21/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [22/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [23/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [24/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
    [25/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [26/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [27/330] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [28/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [29/330] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [30/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [31/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [32/330] Building C object zephyr/CMakeFiles/zephyr.dir/lib/util/fnmatch/fnmatch.c.obj
    [33/330] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [34/330] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [35/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/debug/thread_info.c.obj
    [36/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_backend_rtt.c.obj
    [37/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
    [38/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
    [39/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cmds.c.obj
    [40/330] Building C object CMakeFiles/app.dir/src/main.c.obj
    FAILED: CMakeFiles/app.dir/src/main.c.obj 
    F:\Development\nordicsemi\toolchains\v2.1.2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DMBEDTLS_CONFIG_FILE=\"config-tls-generic.h\" -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -IF:/Development/nordicsemi/v2.1.2/zephyr/include/zephyr -IF:/Development/nordicsemi/v2.1.2/zephyr/include -Izephyr/include/generated -IF:/Development/nordicsemi/v2.1.2/zephyr/soc/arm/nordic_nrf/nrf52 -IF:/Development/nordicsemi/v2.1.2/zephyr/lib/util/fnmatch/. -IF:/Development/nordicsemi/v2.1.2/zephyr/soc/arm/nordic_nrf/common/. -IF:/Development/nordicsemi/v2.1.2/zephyr/subsys/net/lib/sockets/. -IF:/Development/nordicsemi/v2.1.2/nrf/include -IF:/Development/nordicsemi/v2.1.2/modules/hal/cmsis/CMSIS/Core/Include -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/drivers/include -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/mdk -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/hal_nordic/nrfx/. -IF:/Development/nordicsemi/v2.1.2/modules/debug/segger/SEGGER -IF:/Development/nordicsemi/v2.1.2/modules/debug/segger/Config -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/segger/. -IF:/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/include -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/mbedtls/configs -isystem F:/Development/nordicsemi/v2.1.2/zephyr/lib/libc/minimal/include -isystem f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include -isystem f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include-fixed -isystem F:/Development/nordicsemi/v2.1.2/nrfxlib/crypto/nrf_cc310_platform/include -Og -imacros F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=F:/Development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros F:/Development/nordicsemi/v2.1.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=F:/Development/nordicsemi/Myapps/mqtt_publisher_test=CMAKE_SOURCE_DIR -fmacro-prefix-map=F:/Development/nordicsemi/v2.1.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=F:/Development/nordicsemi/v2.1.2=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles\app.dir\src\main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c ../src/main.c
    In file included from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:11,
                     from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:7:
    ../src/main.c: In function 'main':
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:669:17: error: 'CONFIG_MODEM_GSM_APN' undeclared (first use in this function)
      669 |   CONFIG_BOARD, CONFIG_MODEM_GSM_APN,
          |                 ^~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:167:11: note: in definition of macro 'Z_LOG_TO_PRINTK'
      167 |         ##__VA_ARGS__); \
          |           ^~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:252:2: note: in expansion of macro 'Z_LOG2'
      252 |  Z_LOG2(_level, 0, __log_current_const_data, __log_current_dynamic_data, __VA_ARGS__)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:61:24: note: in expansion of macro 'Z_LOG'
       61 | #define LOG_INF(...)   Z_LOG(LOG_LEVEL_INF, __VA_ARGS__)
          |                        ^~~~~
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:668:2: note: in expansion of macro 'LOG_INF'
      668 |  LOG_INF("Board '%s' APN '%s' UART '%s' device %p (%s)",
          |  ^~~~~~~
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:669:17: note: each undeclared identifier is reported only once for each function it appears in
      669 |   CONFIG_BOARD, CONFIG_MODEM_GSM_APN,
          |                 ^~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:167:11: note: in definition of macro 'Z_LOG_TO_PRINTK'
      167 |         ##__VA_ARGS__); \
          |           ^~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:252:2: note: in expansion of macro 'Z_LOG2'
      252 |  Z_LOG2(_level, 0, __log_current_const_data, __log_current_dynamic_data, __VA_ARGS__)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:61:24: note: in expansion of macro 'Z_LOG'
       61 | #define LOG_INF(...)   Z_LOG(LOG_LEVEL_INF, __VA_ARGS__)
          |                        ^~~~~
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:668:2: note: in expansion of macro 'LOG_INF'
      668 |  LOG_INF("Board '%s' APN '%s' UART '%s' device %p (%s)",
          |  ^~~~~~~
    In file included from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:34,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util.h:17,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:15,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf.h:100,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:11,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:9,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:11,
                     from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:7:
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:430:65: error: '_v2' undeclared (first use in this function); did you mean '_v5'?
      430 | #define Z_LOG_LOCAL_ARG_NAME(idx, arg) COND_CODE_0(idx, (arg), (_v##idx))
          |                                                                 ^~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_internal.h:67:26: note: in definition of macro '__DEBRACKET'
       67 | #define __DEBRACKET(...) __VA_ARGS__
          |                          ^~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_internal.h:59:2: note: in expansion of macro '__GET_ARG2_DEBRACKET'
       59 |  __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
          |  ^~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_internal.h:56:2: note: in expansion of macro '__COND_CODE'
       56 |  __COND_CODE(_ZZZZ##_flag, _if_0_code, _else_code)
          |  ^~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:173:2: note: in expansion of macro 'Z_COND_CODE_0'
      173 |  Z_COND_CODE_0(_flag, _if_0_code, _else_code)
          |  ^~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:132:2: note: in expansion of macro 'COND_CODE_0'
      132 |  COND_CODE_0(NUM_VA_ARGS_LESS_1(__VA_ARGS__), \
          |  ^~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:118:7: note: in expansion of macro 'Z_CBPRINTF_IS_PCHAR'
      118 |   0 : Z_CBPRINTF_IS_PCHAR(x, flags))
          |       ^~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1055:2: note: in expansion of macro 'Z_CBPRINTF_IS_X_PCHAR'
     1055 |  fixed_arg0(idx, x, fixed_arg1)
          |  ^~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:33:2: note: in expansion of macro 'Z_FOR_EACH_IDX_FIXED_ARG_EXEC'
       33 |  z_call(1, x, fixed_arg0, fixed_arg1)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:36:2: note: in expansion of macro 'Z_FOR_LOOP_2'
       36 |  Z_FOR_LOOP_2(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:41:2: note: in expansion of macro 'Z_FOR_LOOP_3'
       41 |  Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:46:2: note: in expansion of macro 'Z_FOR_LOOP_4'
       46 |  Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:23:53: note: in expansion of macro 'Z_FOR_LOOP_5'
       23 |     _57, _58, _59, _60, _61, _62, _63, _64, N, ...) N
          |                                                     ^
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1058:2: note: in expansion of macro 'Z_FOR_EACH_ENGINE'
     1058 |  Z_FOR_EACH_ENGINE(Z_FOR_EACH_IDX_FIXED_ARG_EXEC, sep, \
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:562:2: note: in expansion of macro 'Z_FOR_EACH_IDX_FIXED_ARG'
      562 |  Z_FOR_EACH_IDX_FIXED_ARG(F, sep, fixed_arg, REVERSE_ARGS(__VA_ARGS__))
          |  ^~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1075:2: note: in expansion of macro 'Z_BYPASS'
     1075 |  fixed_arg0(x)
          |  ^~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:43:2: note: in expansion of macro 'Z_FOR_EACH_EXEC'
       43 |  z_call(3, x, fixed_arg0, fixed_arg1)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:46:2: note: in expansion of macro 'Z_FOR_LOOP_4'
       46 |  Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:23:53: note: in expansion of macro 'Z_FOR_LOOP_5'
       23 |     _57, _58, _59, _60, _61, _62, _63, _64, N, ...) N
          |                                                     ^
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:569:2: note: in expansion of macro 'Z_FOR_EACH_ENGINE'
      569 |  Z_FOR_EACH_ENGINE(Z_FOR_EACH_EXEC, (,), Z_BYPASS, _, __VA_ARGS__)
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:562:46: note: in expansion of macro 'REVERSE_ARGS'
      562 |  Z_FOR_EACH_IDX_FIXED_ARG(F, sep, fixed_arg, REVERSE_ARGS(__VA_ARGS__))
          |                                              ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:129:3: note: in expansion of macro 'FOR_EACH_IDX_FIXED_ARG'
      129 |  (FOR_EACH_IDX_FIXED_ARG(Z_CBPRINTF_IS_X_PCHAR, (+), flags, __VA_ARGS__))
          |   ^~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:134:8: note: in expansion of macro 'Z_CBPRINTF_HAS_PCHAR_ARGS'
      134 |       (Z_CBPRINTF_HAS_PCHAR_ARGS(flags, __VA_ARGS__)))
          |        ^~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:152:9: note: in expansion of macro 'Z_CBPRINTF_PCHAR_COUNT'
      152 |   _rv = Z_CBPRINTF_PCHAR_COUNT(flags, __VA_ARGS__) > 0 ? 1 : 0; \
          |         ^~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf.h:302:2: note: in expansion of macro 'Z_CBPRINTF_MUST_RUNTIME_PACKAGE'
      302 |  Z_CBPRINTF_MUST_RUNTIME_PACKAGE(flags, __VA_ARGS__)
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:404:20: note: in expansion of macro 'CBPRINTF_MUST_RUNTIME_PACKAGE'
      404 |  bool has_rw_str = CBPRINTF_MUST_RUNTIME_PACKAGE( \
          |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:447:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE3'
      447 |  Z_LOG_MSG2_CREATE3(_try_0cpy, _mode,  _cstr_cnt, _domain_id, _source,\
          |  ^~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_internal.h:64:53: note: in expansion of macro '__DEBRACKET'
       64 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val
          |                                                     ^~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_internal.h:59:2: note: in expansion of macro '__GET_ARG2_DEBRACKET'
       59 |  __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
          |  ^~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_internal.h:56:2: note: in expansion of macro '__COND_CODE'
       56 |  __COND_CODE(_ZZZZ##_flag, _if_0_code, _else_code)
          |  ^~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:173:2: note: in expansion of macro 'Z_COND_CODE_0'
      173 |  Z_COND_CODE_0(_flag, _if_0_code, _else_code)
          |  ^~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:430:40: note: in expansion of macro 'COND_CODE_0'
      430 | #define Z_LOG_LOCAL_ARG_NAME(idx, arg) COND_CODE_0(idx, (arg), (_v##idx))
          |                                        ^~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1069:2: note: in expansion of macro 'Z_LOG_LOCAL_ARG_NAME'
     1069 |  fixed_arg0(idx, x)
          |  ^~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:38:2: note: in expansion of macro 'Z_FOR_EACH_IDX_EXEC'
       38 |  z_call(2, x, fixed_arg0, fixed_arg1)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:41:2: note: in expansion of macro 'Z_FOR_LOOP_3'
       41 |  Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:46:2: note: in expansion of macro 'Z_FOR_LOOP_4'
       46 |  Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:51:2: note: in expansion of macro 'Z_FOR_LOOP_5'
       51 |  Z_FOR_LOOP_5(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:23:53: note: in expansion of macro 'Z_FOR_LOOP_6'
       23 |     _57, _58, _59, _60, _61, _62, _63, _64, N, ...) N
          |                                                     ^
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1072:2: note: in expansion of macro 'Z_FOR_EACH_ENGINE'
     1072 |  Z_FOR_EACH_ENGINE(Z_FOR_EACH_IDX_EXEC, sep, F, _, __VA_ARGS__)
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:506:2: note: in expansion of macro 'Z_FOR_EACH_IDX'
      506 |  Z_FOR_EACH_IDX(F, sep, REVERSE_ARGS(__VA_ARGS__))
          |  ^~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:449:7: note: in expansion of macro 'FOR_EACH_IDX'
      449 |       FOR_EACH_IDX(Z_LOG_LOCAL_ARG_NAME, (,), __VA_ARGS__)); \
          |       ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:458:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE2'
      458 |  Z_LOG_MSG2_CREATE2(_try_0cpy, _mode, UTIL_CAT(Z_LOG_FUNC_PREFIX_, _level), \
          |  ^~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:240:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE'
      240 |  Z_LOG_MSG2_CREATE(UTIL_NOT(IS_ENABLED(CONFIG_USERSPACE)), _mode, \
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:252:2: note: in expansion of macro 'Z_LOG2'
      252 |  Z_LOG2(_level, 0, __log_current_const_data, __log_current_dynamic_data, __VA_ARGS__)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:61:24: note: in expansion of macro 'Z_LOG'
       61 | #define LOG_INF(...)   Z_LOG(LOG_LEVEL_INF, __VA_ARGS__)
          |                        ^~~~~
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:668:2: note: in expansion of macro 'LOG_INF'
      668 |  LOG_INF("Board '%s' APN '%s' UART '%s' device %p (%s)",
          |  ^~~~~~~
    In file included from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\toolchain.h:50,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\lib\libc\minimal\include\string.h:13,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\mpsc_packet.h:9,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:10,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:9,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:11,
                     from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:7:
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:290:15: error: expression in static assertion is not an integer
      290 |  BUILD_ASSERT(!((sizeof(double) < VA_STACK_ALIGN(long double)) && \
          |               ^
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:333:2: note: in expansion of macro 'Z_CBPRINTF_PACK_ARG2'
      333 |  Z_CBPRINTF_PACK_ARG2(arg_idx, _pbuf, _pkg_len, _pkg_offset, _pmax, arg)
          |  ^~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1069:2: note: in expansion of macro 'Z_CBPRINTF_PACK_ARG'
     1069 |  fixed_arg0(idx, x)
          |  ^~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:38:2: note: in expansion of macro 'Z_FOR_EACH_IDX_EXEC'
       38 |  z_call(2, x, fixed_arg0, fixed_arg1)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:41:2: note: in expansion of macro 'Z_FOR_LOOP_3'
       41 |  Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:46:2: note: in expansion of macro 'Z_FOR_LOOP_4'
       46 |  Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:51:2: note: in expansion of macro 'Z_FOR_LOOP_5'
       51 |  Z_FOR_LOOP_5(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:23:53: note: in expansion of macro 'Z_FOR_LOOP_6'
       23 |     _57, _58, _59, _60, _61, _62, _63, _64, N, ...) N
          |                                                     ^
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1072:2: note: in expansion of macro 'Z_FOR_EACH_ENGINE'
     1072 |  Z_FOR_EACH_ENGINE(Z_FOR_EACH_IDX_EXEC, sep, F, _, __VA_ARGS__)
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:506:2: note: in expansion of macro 'Z_FOR_EACH_IDX'
      506 |  Z_FOR_EACH_IDX(F, sep, REVERSE_ARGS(__VA_ARGS__))
          |  ^~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:440:2: note: in expansion of macro 'FOR_EACH_IDX'
      440 |  FOR_EACH_IDX(Z_CBPRINTF_PACK_ARG, (;), __VA_ARGS__);\
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:477:2: note: in expansion of macro 'Z_CBPRINTF_STATIC_PACKAGE_GENERIC'
      477 |  Z_CBPRINTF_STATIC_PACKAGE_GENERIC(packaged, inlen, outlen, \
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf.h:335:2: note: in expansion of macro 'Z_CBPRINTF_STATIC_PACKAGE'
      335 |  Z_CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen, \
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:220:3: note: in expansion of macro 'CBPRINTF_STATIC_PACKAGE'
      220 |   CBPRINTF_STATIC_PACKAGE(NULL, 0, _plen, Z_LOG_MSG2_ALIGN_OFFSET, flags, \
          |   ^~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:414:3: note: in expansion of macro 'Z_LOG_MSG2_STACK_CREATE'
      414 |   Z_LOG_MSG2_STACK_CREATE(_cstr_cnt, _domain_id, _source, _level, _data, \
          |   ^~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:447:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE3'
      447 |  Z_LOG_MSG2_CREATE3(_try_0cpy, _mode,  _cstr_cnt, _domain_id, _source,\
          |  ^~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:458:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE2'
      458 |  Z_LOG_MSG2_CREATE2(_try_0cpy, _mode, UTIL_CAT(Z_LOG_FUNC_PREFIX_, _level), \
          |  ^~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:240:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE'
      240 |  Z_LOG_MSG2_CREATE(UTIL_NOT(IS_ENABLED(CONFIG_USERSPACE)), _mode, \
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:252:2: note: in expansion of macro 'Z_LOG2'
      252 |  Z_LOG2(_level, 0, __log_current_const_data, __log_current_dynamic_data, __VA_ARGS__)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:61:24: note: in expansion of macro 'Z_LOG'
       61 | #define LOG_INF(...)   Z_LOG(LOG_LEVEL_INF, __VA_ARGS__)
          |                        ^~~~~
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:668:2: note: in expansion of macro 'LOG_INF'
      668 |  LOG_INF("Board '%s' APN '%s' UART '%s' device %p (%s)",
          |  ^~~~~~~
    In file included from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf.h:100,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:11,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:9,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:11,
                     from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:7:
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:176:8: error: '_v' undeclared (first use in this function); did you mean '_v5'?
      176 |  (void)_v; \
          |        ^~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:298:23: note: in expansion of macro 'Z_CBPRINTF_ARG_SIZE'
      298 |  uint32_t _arg_size = Z_CBPRINTF_ARG_SIZE(_arg); \
          |                       ^~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:333:2: note: in expansion of macro 'Z_CBPRINTF_PACK_ARG2'
      333 |  Z_CBPRINTF_PACK_ARG2(arg_idx, _pbuf, _pkg_len, _pkg_offset, _pmax, arg)
          |  ^~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1069:2: note: in expansion of macro 'Z_CBPRINTF_PACK_ARG'
     1069 |  fixed_arg0(idx, x)
          |  ^~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:38:2: note: in expansion of macro 'Z_FOR_EACH_IDX_EXEC'
       38 |  z_call(2, x, fixed_arg0, fixed_arg1)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:41:2: note: in expansion of macro 'Z_FOR_LOOP_3'
       41 |  Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:46:2: note: in expansion of macro 'Z_FOR_LOOP_4'
       46 |  Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:51:2: note: in expansion of macro 'Z_FOR_LOOP_5'
       51 |  Z_FOR_LOOP_5(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:23:53: note: in expansion of macro 'Z_FOR_LOOP_6'
       23 |     _57, _58, _59, _60, _61, _62, _63, _64, N, ...) N
          |                                                     ^
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1072:2: note: in expansion of macro 'Z_FOR_EACH_ENGINE'
     1072 |  Z_FOR_EACH_ENGINE(Z_FOR_EACH_IDX_EXEC, sep, F, _, __VA_ARGS__)
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:506:2: note: in expansion of macro 'Z_FOR_EACH_IDX'
      506 |  Z_FOR_EACH_IDX(F, sep, REVERSE_ARGS(__VA_ARGS__))
          |  ^~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:440:2: note: in expansion of macro 'FOR_EACH_IDX'
      440 |  FOR_EACH_IDX(Z_CBPRINTF_PACK_ARG, (;), __VA_ARGS__);\
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:477:2: note: in expansion of macro 'Z_CBPRINTF_STATIC_PACKAGE_GENERIC'
      477 |  Z_CBPRINTF_STATIC_PACKAGE_GENERIC(packaged, inlen, outlen, \
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf.h:335:2: note: in expansion of macro 'Z_CBPRINTF_STATIC_PACKAGE'
      335 |  Z_CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen, \
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:220:3: note: in expansion of macro 'CBPRINTF_STATIC_PACKAGE'
      220 |   CBPRINTF_STATIC_PACKAGE(NULL, 0, _plen, Z_LOG_MSG2_ALIGN_OFFSET, flags, \
          |   ^~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:414:3: note: in expansion of macro 'Z_LOG_MSG2_STACK_CREATE'
      414 |   Z_LOG_MSG2_STACK_CREATE(_cstr_cnt, _domain_id, _source, _level, _data, \
          |   ^~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:447:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE3'
      447 |  Z_LOG_MSG2_CREATE3(_try_0cpy, _mode,  _cstr_cnt, _domain_id, _source,\
          |  ^~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:458:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE2'
      458 |  Z_LOG_MSG2_CREATE2(_try_0cpy, _mode, UTIL_CAT(Z_LOG_FUNC_PREFIX_, _level), \
          |  ^~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:240:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE'
      240 |  Z_LOG_MSG2_CREATE(UTIL_NOT(IS_ENABLED(CONFIG_USERSPACE)), _mode, \
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:252:2: note: in expansion of macro 'Z_LOG2'
      252 |  Z_LOG2(_level, 0, __log_current_const_data, __log_current_dynamic_data, __VA_ARGS__)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:61:24: note: in expansion of macro 'Z_LOG'
       61 | #define LOG_INF(...)   Z_LOG(LOG_LEVEL_INF, __VA_ARGS__)
          |                        ^~~~~
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:668:2: note: in expansion of macro 'LOG_INF'
      668 |  LOG_INF("Board '%s' APN '%s' UART '%s' device %p (%s)",
          |  ^~~~~~~
    In file included from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\toolchain.h:50,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\lib\libc\minimal\include\string.h:13,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\mpsc_packet.h:9,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:10,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:9,
                     from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:11,
                     from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:7:
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:290:15: error: expression in static assertion is not an integer
      290 |  BUILD_ASSERT(!((sizeof(double) < VA_STACK_ALIGN(long double)) && \
          |               ^
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:333:2: note: in expansion of macro 'Z_CBPRINTF_PACK_ARG2'
      333 |  Z_CBPRINTF_PACK_ARG2(arg_idx, _pbuf, _pkg_len, _pkg_offset, _pmax, arg)
          |  ^~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1069:2: note: in expansion of macro 'Z_CBPRINTF_PACK_ARG'
     1069 |  fixed_arg0(idx, x)
          |  ^~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:38:2: note: in expansion of macro 'Z_FOR_EACH_IDX_EXEC'
       38 |  z_call(2, x, fixed_arg0, fixed_arg1)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:41:2: note: in expansion of macro 'Z_FOR_LOOP_3'
       41 |  Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:46:2: note: in expansion of macro 'Z_FOR_LOOP_4'
       46 |  Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:51:2: note: in expansion of macro 'Z_FOR_LOOP_5'
       51 |  Z_FOR_LOOP_5(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:23:53: note: in expansion of macro 'Z_FOR_LOOP_6'
       23 |     _57, _58, _59, _60, _61, _62, _63, _64, N, ...) N
          |                                                     ^
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_loops.h:1072:2: note: in expansion of macro 'Z_FOR_EACH_ENGINE'
     1072 |  Z_FOR_EACH_ENGINE(Z_FOR_EACH_IDX_EXEC, sep, F, _, __VA_ARGS__)
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\util_macro.h:506:2: note: in expansion of macro 'Z_FOR_EACH_IDX'
      506 |  Z_FOR_EACH_IDX(F, sep, REVERSE_ARGS(__VA_ARGS__))
          |  ^~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:440:2: note: in expansion of macro 'FOR_EACH_IDX'
      440 |  FOR_EACH_IDX(Z_CBPRINTF_PACK_ARG, (;), __VA_ARGS__);\
          |  ^~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf_internal.h:477:2: note: in expansion of macro 'Z_CBPRINTF_STATIC_PACKAGE_GENERIC'
      477 |  Z_CBPRINTF_STATIC_PACKAGE_GENERIC(packaged, inlen, outlen, \
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\sys\cbprintf.h:335:2: note: in expansion of macro 'Z_CBPRINTF_STATIC_PACKAGE'
      335 |  Z_CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen, \
          |  ^~~~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:227:3: note: in expansion of macro 'CBPRINTF_STATIC_PACKAGE'
      227 |   CBPRINTF_STATIC_PACKAGE(_msg->data, _plen, \
          |   ^~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:414:3: note: in expansion of macro 'Z_LOG_MSG2_STACK_CREATE'
      414 |   Z_LOG_MSG2_STACK_CREATE(_cstr_cnt, _domain_id, _source, _level, _data, \
          |   ^~~~~~~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:447:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE3'
      447 |  Z_LOG_MSG2_CREATE3(_try_0cpy, _mode,  _cstr_cnt, _domain_id, _source,\
          |  ^~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_msg.h:458:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE2'
      458 |  Z_LOG_MSG2_CREATE2(_try_0cpy, _mode, UTIL_CAT(Z_LOG_FUNC_PREFIX_, _level), \
          |  ^~~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:240:2: note: in expansion of macro 'Z_LOG_MSG2_CREATE'
      240 |  Z_LOG_MSG2_CREATE(UTIL_NOT(IS_ENABLED(CONFIG_USERSPACE)), _mode, \
          |  ^~~~~~~~~~~~~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log_core.h:252:2: note: in expansion of macro 'Z_LOG2'
      252 |  Z_LOG2(_level, 0, __log_current_const_data, __log_current_dynamic_data, __VA_ARGS__)
          |  ^~~~~~
    F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:61:24: note: in expansion of macro 'Z_LOG'
       61 | #define LOG_INF(...)   Z_LOG(LOG_LEVEL_INF, __VA_ARGS__)
          |                        ^~~~~
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:668:2: note: in expansion of macro 'LOG_INF'
      668 |  LOG_INF("Board '%s' APN '%s' UART '%s' device %p (%s)",
          |  ^~~~~~~
    [41/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
    [42/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
    [43/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/kernel_service.c.obj
    [44/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_fprintf.c.obj
    [45/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/device_service.c.obj
    [46/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/modules/devmem_service.c.obj
    [47/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/backends/shell_uart.c.obj
    [48/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_utils.c.obj
    [49/330] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'f:\Development\nordicsemi\toolchains\v2.1.2\opt\bin\cmake.EXE' --build 'f:\Development\nordicsemi\Myapps\mqtt_publisher_test\build'
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    

  • You need to look at your first error message, which is this line:

    F:\Development\nordicsemi\toolchains\v2.1.2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DMBEDTLS_CONFIG_FILE=\"config-tls-generic.h\" -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -IF:/Development/nordicsemi/v2.1.2/zephyr/include/zephyr -IF:/Development/nordicsemi/v2.1.2/zephyr/include -Izephyr/include/generated -IF:/Development/nordicsemi/v2.1.2/zephyr/soc/arm/nordic_nrf/nrf52 -IF:/Development/nordicsemi/v2.1.2/zephyr/lib/util/fnmatch/. -IF:/Development/nordicsemi/v2.1.2/zephyr/soc/arm/nordic_nrf/common/. -IF:/Development/nordicsemi/v2.1.2/zephyr/subsys/net/lib/sockets/. -IF:/Development/nordicsemi/v2.1.2/nrf/include -IF:/Development/nordicsemi/v2.1.2/modules/hal/cmsis/CMSIS/Core/Include -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/drivers/include -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/mdk -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/hal_nordic/nrfx/. -IF:/Development/nordicsemi/v2.1.2/modules/debug/segger/SEGGER -IF:/Development/nordicsemi/v2.1.2/modules/debug/segger/Config -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/segger/. -IF:/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/include -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/mbedtls/configs -isystem F:/Development/nordicsemi/v2.1.2/zephyr/lib/libc/minimal/include -isystem f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include -isystem f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include-fixed -isystem F:/Development/nordicsemi/v2.1.2/nrfxlib/crypto/nrf_cc310_platform/include -Og -imacros F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=F:/Development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros F:/Development/nordicsemi/v2.1.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=F:/Development/nordicsemi/Myapps/mqtt_publisher_test=CMAKE_SOURCE_DIR -fmacro-prefix-map=F:/Development/nordicsemi/v2.1.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=F:/Development/nordicsemi/v2.1.2=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles\app.dir\src\main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c ../src/main.c
    In file included from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:11,
                     from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:7:
    ../src/main.c: In function 'main':
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:669:17: error: 'CONFIG_MODEM_GSM_APN' undeclared (first use in this function)
      669 |   CONFIG_BOARD, CONFIG_MODEM_GSM_APN,
          |                 ^~~~~~~~~~~~~~~~~~~~

    This indicates that CONFIG_MODEM_GSM_APN is not set on your end.

     

    Kind regards,

    Håkon

Reply
  • You need to look at your first error message, which is this line:

    F:\Development\nordicsemi\toolchains\v2.1.2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DMBEDTLS_CONFIG_FILE=\"config-tls-generic.h\" -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -IF:/Development/nordicsemi/v2.1.2/zephyr/include/zephyr -IF:/Development/nordicsemi/v2.1.2/zephyr/include -Izephyr/include/generated -IF:/Development/nordicsemi/v2.1.2/zephyr/soc/arm/nordic_nrf/nrf52 -IF:/Development/nordicsemi/v2.1.2/zephyr/lib/util/fnmatch/. -IF:/Development/nordicsemi/v2.1.2/zephyr/soc/arm/nordic_nrf/common/. -IF:/Development/nordicsemi/v2.1.2/zephyr/subsys/net/lib/sockets/. -IF:/Development/nordicsemi/v2.1.2/nrf/include -IF:/Development/nordicsemi/v2.1.2/modules/hal/cmsis/CMSIS/Core/Include -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/drivers/include -IF:/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/mdk -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/hal_nordic/nrfx/. -IF:/Development/nordicsemi/v2.1.2/modules/debug/segger/SEGGER -IF:/Development/nordicsemi/v2.1.2/modules/debug/segger/Config -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/segger/. -IF:/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/include -IF:/Development/nordicsemi/v2.1.2/zephyr/modules/mbedtls/configs -isystem F:/Development/nordicsemi/v2.1.2/zephyr/lib/libc/minimal/include -isystem f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include -isystem f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include-fixed -isystem F:/Development/nordicsemi/v2.1.2/nrfxlib/crypto/nrf_cc310_platform/include -Og -imacros F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=F:/Development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros F:/Development/nordicsemi/v2.1.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=F:/Development/nordicsemi/Myapps/mqtt_publisher_test=CMAKE_SOURCE_DIR -fmacro-prefix-map=F:/Development/nordicsemi/v2.1.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=F:/Development/nordicsemi/v2.1.2=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles\app.dir\src\main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c ../src/main.c
    In file included from F:\Development\nordicsemi\v2.1.2\zephyr\include\zephyr\logging\log.h:11,
                     from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:7:
    ../src/main.c: In function 'main':
    f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:669:17: error: 'CONFIG_MODEM_GSM_APN' undeclared (first use in this function)
      669 |   CONFIG_BOARD, CONFIG_MODEM_GSM_APN,
          |                 ^~~~~~~~~~~~~~~~~~~~

    This indicates that CONFIG_MODEM_GSM_APN is not set on your end.

     

    Kind regards,

    Håkon

Children
  • Hi  

    That is defined in autoconf.h if I add this file I am getting following errors.

    * Executing task: nRF Connect: Build: mqtt_publisher_test/build (active)

    Building mqtt_publisher_test
    west build --build-dir f:\Development\nordicsemi\Myapps\mqtt_publisher_test\build f:\Development\nordicsemi\Myapps\mqtt_publisher_test

    [1/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_help.c.obj
    [2/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
    [3/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_misc.c.obj
    [4/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_log_backend.c.obj
    [5/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/getnameinfo.c.obj
    [6/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_history.c.obj
    [7/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm.c.obj
    [8/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy.c.obj
    [9/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_cmds.c.obj
    [10/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_wildcard.c.obj
    [11/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/state.c.obj
    [12/282] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
    [13/282] Building C object zephyr/CMakeFiles/zephyr.dir/F_/Development/nordicsemi/v2.1.2/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_abort_zephyr.c.obj
    [14/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [15/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/getaddrinfo.c.obj
    [16/282] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
    [17/282] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
    [18/282] Building C object zephyr/CMakeFiles/zephyr.dir/F_/Development/nordicsemi/v2.1.2/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_mutex_zephyr.c.obj
    [19/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_select.c.obj
    [20/282] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
    [21/282] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
    [22/282] Generating linker_zephyr_pre1.cmd
    [23/282] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
    [24/282] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
    [25/282] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
    [26/282] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
    [27/282] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
    [28/282] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
    [29/282] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/F_/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/mdk/system_nrf52840.c.obj
    [30/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_ops.c.obj
    [31/282] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
    [32/282] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets.c.obj
    [33/282] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/F_/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
    [34/282] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
    [35/282] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/F_/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
    [36/282] Building C object modules/segger/CMakeFiles/modules__segger.dir/F_/Development/nordicsemi/v2.1.2/modules/debug/segger/SEGGER/SEGGER_RTT.c.obj
    [37/282] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
    [38/282] Building C object modules/segger/CMakeFiles/modules__segger.dir/SEGGER_RTT_zephyr.c.obj
    [39/282] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/F_/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/drivers/src/nrfx_ppi.c.obj
    [40/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [41/282] Linking C static library modules\segger\libmodules__segger.a
    [42/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [43/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [44/282] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/F_/Development/nordicsemi/v2.1.2/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
    [45/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [46/282] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
    [47/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [48/282] Building C object CMakeFiles/app.dir/src/main.c.obj
    In file included from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:23:
    F:\Development\nordicsemi\Myapps\gsm_modem_test\build\zephyr\include\generated\autoconf.h:7: warning: "CONFIG_BOARD" redefined
    7 | #define CONFIG_BOARD "nrf21540dk_nrf52840"
    |
    In file included from <command-line>:
    F:\Development\nordicsemi\Myapps\mqtt_publisher_test\build\zephyr\include\generated\autoconf.h:8: note: this is the location of the previous definition
    8 | #define CONFIG_BOARD "nrf52840dk_nrf52840"
    |
    In file included from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:23:
    F:\Development\nordicsemi\Myapps\gsm_modem_test\build\zephyr\include\generated\autoconf.h:554: warning: "CONFIG_NET_MAX_ROUTERS" redefined
    554 | #define CONFIG_NET_MAX_ROUTERS 1
    |
    In file included from <command-line>:
    F:\Development\nordicsemi\Myapps\mqtt_publisher_test\build\zephyr\include\generated\autoconf.h:593: note: this is the location of the previous definition
    593 | #define CONFIG_NET_MAX_ROUTERS 2
    |
    In file included from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:23:
    F:\Development\nordicsemi\Myapps\gsm_modem_test\build\zephyr\include\generated\autoconf.h:559: warning: "CONFIG_NET_MAX_CONN" redefined
    559 | #define CONFIG_NET_MAX_CONN 4
    |
    In file included from <command-line>:
    F:\Development\nordicsemi\Myapps\mqtt_publisher_test\build\zephyr\include\generated\autoconf.h:615: note: this is the location of the previous definition
    615 | #define CONFIG_NET_MAX_CONN 8
    |
    In file included from f:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:23:
    F:\Development\nordicsemi\Myapps\gsm_modem_test\build\zephyr\include\generated\autoconf.h:566: warning: "CONFIG_NET_BUF_DATA_SIZE" redefined
    566 | #define CONFIG_NET_BUF_DATA_SIZE 128
    |
    In file included from <command-line>:
    F:\Development\nordicsemi\Myapps\mqtt_publisher_test\build\zephyr\include\generated\autoconf.h:622: note: this is the location of the previous definition
    622 | #define CONFIG_NET_BUF_DATA_SIZE 256
    |
    [49/282] Linking C static library app\libapp.a
    [50/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [51/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [52/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [53/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
    [54/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [55/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [56/282] Linking C static library zephyr\libzephyr.a
    [57/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
    [58/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
    [59/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
    [60/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
    [61/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
    [62/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
    [63/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
    [64/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
    [65/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
    [66/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [67/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
    [68/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [69/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
    [70/282] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
    [71/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
    [72/282] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
    [73/282] Generating linker_zephyr_pre0.cmd
    [74/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [75/282] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [76/282] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
    [77/282] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [78/282] Linking C static library zephyr\arch\common\libisr_tables.a
    [79/282] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
    [80/282] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [81/282] Linking C static library zephyr\arch\common\libarch__common.a
    [82/282] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
    [83/282] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
    [84/282] Linking C static library zephyr\kernel\libkernel.a
    [85/282] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
    [86/282] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
    [87/282] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
    [88/282] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
    [89/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
    [90/282] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
    [91/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
    [92/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
    [93/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoll.c.obj
    [94/282] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
    [95/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
    [96/282] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/power.c.obj
    [97/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoull.c.obj
    [98/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
    [99/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
    [100/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
    [101/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
    [102/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strerror.c.obj
    [103/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
    [104/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
    [105/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrt.c.obj
    [106/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrtf.c.obj
    [107/282] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/soc.c.obj
    [108/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
    [109/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
    [110/282] Linking C static library zephyr\soc\arm\nordic_nrf\nrf52\libsoc__arm__nordic_nrf__nrf52.a
    [111/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
    [112/282] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/perror.c.obj
    [113/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
    [114/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_timeout.c.obj
    [115/282] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
    [116/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
    [117/282] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
    [118/282] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a
    [119/282] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
    [120/282] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
    [121/282] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
    [122/282] Linking C static library zephyr\lib\posix\liblib__posix.a
    [123/282] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/buf.c.obj
    [124/282] Linking C static library zephyr\subsys\net\libsubsys__net.a
    [125/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/utils.c.obj
    [126/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_core.c.obj
    [127/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_mgmt.c.obj
    [128/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/icmpv4.c.obj
    [129/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/ipv4.c.obj
    [130/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_pkt.c.obj
    [131/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_tc.c.obj
    [132/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_context.c.obj
    [133/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/nbr.c.obj
    [134/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/ipv6_mld.c.obj
    [135/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/icmpv6.c.obj
    [136/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_if.c.obj
    [137/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/connection.c.obj
    [138/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/route.c.obj
    [139/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/ipv6.c.obj
    [140/282] Building C object zephyr/subsys/net/lib/mqtt/CMakeFiles/subsys__net__lib__mqtt.dir/mqtt_decoder.c.obj
    [141/282] Building C object zephyr/subsys/net/lib/mqtt/CMakeFiles/subsys__net__lib__mqtt.dir/mqtt_rx.c.obj
    [142/282] Building C object zephyr/subsys/net/lib/mqtt/CMakeFiles/subsys__net__lib__mqtt.dir/mqtt_encoder.c.obj
    [143/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/udp.c.obj
    [144/282] Building C object zephyr/subsys/net/lib/mqtt/CMakeFiles/subsys__net__lib__mqtt.dir/mqtt_transport_socket_tcp.c.obj
    [145/282] Building C object zephyr/subsys/net/lib/mqtt/CMakeFiles/subsys__net__lib__mqtt.dir/mqtt_transport_socket_tls.c.obj
    [146/282] Building C object zephyr/subsys/net/lib/mqtt/CMakeFiles/subsys__net__lib__mqtt.dir/mqtt_transport.c.obj
    [147/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/ipv6_nbr.c.obj
    [148/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_shell.c.obj
    [149/282] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_entropy_device.c.obj
    [150/282] Linking C static library zephyr\subsys\random\libsubsys__random.a
    [151/282] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
    [152/282] Building C object zephyr/subsys/net/lib/mqtt/CMakeFiles/subsys__net__lib__mqtt.dir/mqtt.c.obj
    [153/282] Building C object zephyr/subsys/net/lib/config/CMakeFiles/subsys__net__lib__config.dir/init.c.obj
    [154/282] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
    [155/282] Linking C static library zephyr\drivers\console\libdrivers__console.a
    [156/282] Linking C static library zephyr\subsys\net\lib\config\libsubsys__net__lib__config.a
    [157/282] Linking C static library zephyr\subsys\net\lib\mqtt\libsubsys__net__lib__mqtt.a
    [158/282] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/F_/Development/nordicsemi/v2.1.2/nrf/drivers/entropy/entropy_cc3xx.c.obj
    [159/282] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_nrf5.c.obj
    [160/282] Linking C static library zephyr\drivers\clock_control\libdrivers__clock_control.a
    [161/282] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
    [162/282] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/tcp.c.obj
    [163/282] Linking C static library zephyr\drivers\entropy\libdrivers__entropy.a
    [164/282] Linking C static library zephyr\drivers\gpio\libdrivers__gpio.a
    [165/282] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
    [166/282] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
    [167/282] Linking C static library zephyr\subsys\net\ip\libsubsys__net__ip.a
    [168/282] Linking C static library zephyr\drivers\serial\libdrivers__serial.a
    [169/282] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
    [170/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/aria.c.obj
    [171/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/aesni.c.obj
    [172/282] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
    [173/282] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
    [174/282] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
    [175/282] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
    [176/282] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
    [177/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/zephyr_init.c.obj
    [178/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/camellia.c.obj
    [179/282] Building C object modules/nrf/drivers/hw_cc310/CMakeFiles/..__nrf__drivers__hw_cc310.dir/hw_cc310.c.obj
    [180/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ccm.c.obj
    [181/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/chacha20.c.obj
    [182/282] Linking C static library zephyr\drivers\pinctrl\libdrivers__pinctrl.a
    [183/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/aes.c.obj
    [184/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/asn1write.c.obj
    [185/282] Linking C static library modules\nrf\drivers\hw_cc310\lib..__nrf__drivers__hw_cc310.a
    [186/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/base64.c.obj
    [187/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/chachapoly.c.obj
    [188/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/cmac.c.obj
    [189/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/debug.c.obj
    [190/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ecdsa.c.obj
    [191/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/asn1parse.c.obj
    [192/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ctr_drbg.c.obj
    [193/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/cipher_wrap.c.obj
    [194/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/constant_time.c.obj
    [195/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/cipher.c.obj
    [196/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ecp.c.obj
    [197/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ecdh.c.obj
    [198/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ecjpake.c.obj
    [199/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/dhm.c.obj
    [200/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/hkdf.c.obj
    [201/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/des.c.obj
    [202/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ecp_curves.c.obj
    [203/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/hmac_drbg.c.obj
    [204/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/entropy.c.obj
    [205/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/gcm.c.obj
    [206/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/error.c.obj
    [207/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/mps_trace.c.obj
    [208/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/entropy_poll.c.obj
    [209/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/bignum.c.obj
    [210/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/pem.c.obj
    [211/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/net_sockets.c.obj
    [212/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/mps_reader.c.obj
    [213/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/padlock.c.obj
    [214/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/memory_buffer_alloc.c.obj
    [215/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/md5.c.obj
    [216/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/nist_kw.c.obj
    [217/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/pkwrite.c.obj
    [218/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/pk.c.obj
    [219/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/pkcs12.c.obj
    [220/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/md.c.obj
    [221/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/pkcs5.c.obj
    [222/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/oid.c.obj
    [223/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/pk_wrap.c.obj
    [224/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/platform_util.c.obj
    [225/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/poly1305.c.obj
    [226/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto.c.obj
    [227/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_aead.c.obj
    [228/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/platform.c.obj
    [229/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/pkparse.c.obj
    [230/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_mac.c.obj
    [231/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_cipher.c.obj
    [232/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_se.c.obj
    [233/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_rsa.c.obj
    [234/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_ecp.c.obj
    [235/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_its_file.c.obj
    [236/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_slot_management.c.obj
    [237/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_hash.c.obj
    [238/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ripemd160.c.obj
    [239/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_storage.c.obj
    [240/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/rsa_alt_helpers.c.obj
    [241/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_client.c.obj
    [242/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_cache.c.obj
    [243/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_cookie.c.obj
    [244/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/psa_crypto_driver_wrappers.c.obj
    [245/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_debug_helpers_generated.c.obj
    [246/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/sha256.c.obj
    [247/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/sha1.c.obj
    [248/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_ticket.c.obj
    [249/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/sha512.c.obj
    [250/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_tls13_client.c.obj
    [251/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_tls13_generic.c.obj
    [252/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/version_features.c.obj
    [253/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_tls13_keys.c.obj
    [254/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/version.c.obj
    [255/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_cli.c.obj
    [256/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_srv.c.obj
    [257/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/threading.c.obj
    [258/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_ciphersuites.c.obj
    [259/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/rsa.c.obj
    [260/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_tls13_server.c.obj
    [261/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/x509_crl.c.obj
    [262/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/timing.c.obj
    [263/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_msg.c.obj
    [264/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/x509_csr.c.obj
    [265/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/x509write_crt.c.obj
    [266/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/x509_create.c.obj
    [267/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/x509write_csr.c.obj
    [268/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/ssl_tls.c.obj
    [269/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/x509.c.obj
    [270/282] Building C object modules/mbedtls/CMakeFiles/modules__mbedtls.dir/F_/Development/nordicsemi/v2.1.2/modules/crypto/mbedtls/library/x509_crt.c.obj
    [271/282] Linking C static library modules\mbedtls\libmodules__mbedtls.a
    [272/282] Linking C executable zephyr\zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map
    cmd.exe /C "cd . && F:\Development\nordicsemi\toolchains\v2.1.2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr\zephyr_pre0.elf -Wl,-T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=F:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a zephyr/lib/libc/minimal/liblib__libc__minimal.a zephyr/lib/posix/liblib__posix.a zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a zephyr/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a zephyr/subsys/net/libsubsys__net.a zephyr/subsys/net/ip/libsubsys__net__ip.a zephyr/subsys/net/lib/mqtt/libsubsys__net__lib__mqtt.a zephyr/subsys/net/lib/config/libsubsys__net__lib__config.a zephyr/subsys/random/libsubsys__random.a zephyr/drivers/clock_control/libdrivers__clock_control.a zephyr/drivers/console/libdrivers__console.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/serial/libdrivers__serial.a zephyr/drivers/entropy/libdrivers__entropy.a zephyr/drivers/timer/libdrivers__timer.a zephyr/drivers/pinctrl/libdrivers__pinctrl.a modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a modules/mbedtls/libmodules__mbedtls.a modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a modules/segger/libmodules__segger.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -L"f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/thumb/v7e-m/nofp" -LF:/Development/nordicsemi/Myapps/mqtt_publisher_test/build/zephyr -lgcc zephyr/arch/common/libisr_tables.a -no-pie -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn F:/Development/nordicsemi/v2.1.2/nrfxlib/crypto/nrf_cc310_platform/lib/cortex-m4/soft-float/no-interrupts/libnrf_cc310_platform_0.9.15.a && cmd.exe /C "cd /D F:\Development\nordicsemi\Myapps\mqtt_publisher_test\build\zephyr && F:\Development\nordicsemi\toolchains\v2.1.2\opt\bin\cmake.exe -E echo ""
    f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: app/libapp.a(main.c.obj): in function `cmd_sample_modem_suspend':
    F:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:154: undefined reference to `gsm_ppp_stop'
    f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: app/libapp.a(main.c.obj): in function `cmd_sample_modem_resume':
    F:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:171: undefined reference to `gsm_ppp_start'
    f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: app/libapp.a(main.c.obj): in function `tls_init':
    F:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:115: undefined reference to `tls_credential_add'
    f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: app/libapp.a(main.c.obj): in function `main':
    F:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:667: undefined reference to `gsm_ppp_register_modem_power_callback'
    f:/development/nordicsemi/toolchains/v2.1.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: F:\Development\nordicsemi\Myapps\mqtt_publisher_test\src\main.c:683: undefined reference to `__device_dts_ord_131'
    collect2.exe: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'f:\Development\nordicsemi\toolchains\v2.1.2\opt\bin\cmake.EXE' --build 'f:\Development\nordicsemi\Myapps\mqtt_publisher_test\build'

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.




  • Muqarrab said:
    That is defined in autoconf.h if I add this file I am getting following errors.

    autoconf is automatically generated based on your local configuration, and shall newer be directly included by your source code. 

    Each time you add a configuration, this shall be done in your project configuration, ie. the my_application/prj.conf file.

     

    I would recommend that you get to know the fundamentals of NCS, by looking at our nordic academy:

    https://academy.nordicsemi.com/

     

    Kind regards,

    Håkon

  • Hi  
    The First GSM_Moodem test code was working fine but now getting error for both examples

  • Can you please post your full log?

    Kind regards,

    Håkon

  • Yes here is the main file.

    /*
     * Copyright (c) 2017 Intel Corporation
     *
     * SPDX-License-Identifier: Apache-2.0
     */
    
    #include <zephyr/logging/log.h>
    LOG_MODULE_REGISTER(net_mqtt_publisher_sample, LOG_LEVEL_DBG);
    
    #include <zephyr/zephyr.h>
    #include <zephyr/net/socket.h>
    #include <zephyr/net/mqtt.h>
    #include <zephyr/random/rand32.h>
    
    #include <string.h>
    #include <errno.h>
    
    #include "config.h"
    
    
    /////////////////////////////////////////////////////////////////// GSM
    
    #include <zephyr/zephyr.h>
    #include <zephyr/sys/printk.h>
    #include <zephyr/shell/shell.h>
    #include <zephyr/drivers/uart.h>
    #include <zephyr/net/net_mgmt.h>
    #include <zephyr/net/net_event.h>
    #include <zephyr/net/net_conn_mgr.h>
    #include <zephyr/drivers/modem/gsm_ppp.h>
    #include <zephyr/devicetree.h>
    
    #include <zephyr/logging/log.h>
    // LOG_MODULE_REGISTER(sample_gsm_ppp, LOG_LEVEL_DBG);
    
    #define GSM_MODEM_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(zephyr_gsm_ppp)
    #define UART_NODE DT_BUS(GSM_MODEM_NODE)
    
    static const struct device *gsm_dev;
    static struct net_mgmt_event_callback mgmt_cb;
    static bool starting = IS_ENABLED(CONFIG_GSM_PPP_AUTOSTART);
    
    
    /////////////////////////////////////////////////////////////////// GSM
    
    
    
    
    #if defined(CONFIG_USERSPACE)
    #include <zephyr/app_memory/app_memdomain.h>
    K_APPMEM_PARTITION_DEFINE(app_partition);
    struct k_mem_domain app_domain;
    #define APP_BMEM K_APP_BMEM(app_partition)
    #define APP_DMEM K_APP_DMEM(app_partition)
    #else
    #define APP_BMEM
    #define APP_DMEM
    #endif
    
    /* Buffers for MQTT client. */
    static APP_BMEM uint8_t rx_buffer[APP_MQTT_BUFFER_SIZE];
    static APP_BMEM uint8_t tx_buffer[APP_MQTT_BUFFER_SIZE];
    
    #if defined(CONFIG_MQTT_LIB_WEBSOCKET)
    /* Making RX buffer large enough that the full IPv6 packet can fit into it */
    #define MQTT_LIB_WEBSOCKET_RECV_BUF_LEN 1280
    
    /* Websocket needs temporary buffer to store partial packets */
    static APP_BMEM uint8_t temp_ws_rx_buf[MQTT_LIB_WEBSOCKET_RECV_BUF_LEN];
    #endif
    
    /* The mqtt client struct */
    static APP_BMEM struct mqtt_client client_ctx;
    
    /* MQTT Broker details. */
    static APP_BMEM struct sockaddr_storage broker;
    
    #if defined(CONFIG_SOCKS)
    static APP_BMEM struct sockaddr socks5_proxy;
    #endif
    
    static APP_BMEM struct zsock_pollfd fds[1];
    static APP_BMEM int nfds;
    
    static APP_BMEM bool connected;
    
    
    
    #if defined(CONFIG_MQTT_LIB_TLS)
    
    #include "test_certs.h"
    
    #define TLS_SNI_HOSTNAME "localhost"
    #define APP_CA_CERT_TAG 1
    #define APP_PSK_TAG 2
    
    static APP_DMEM sec_tag_t m_sec_tags[] = {
    #if defined(MBEDTLS_X509_CRT_PARSE_C) || defined(CONFIG_NET_SOCKETS_OFFLOAD)
    		APP_CA_CERT_TAG,
    #endif
    #if defined(MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED)
    		APP_PSK_TAG,
    #endif
    };
    
    
    
    static int tls_init(void)
    {
    	int err = -EINVAL;
    
    #if defined(MBEDTLS_X509_CRT_PARSE_C) || defined(CONFIG_NET_SOCKETS_OFFLOAD)
    	err = tls_credential_add(APP_CA_CERT_TAG, TLS_CREDENTIAL_CA_CERTIFICATE,
    				 ca_certificate, sizeof(ca_certificate));
    	if (err < 0) {
    		LOG_ERR("Failed to register public certificate: %d", err);
    		return err;
    	}
    #endif
    
    #if defined(MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED)
    	err = tls_credential_add(APP_PSK_TAG, TLS_CREDENTIAL_PSK,
    				 client_psk, sizeof(client_psk));
    	if (err < 0) {
    		LOG_ERR("Failed to register PSK: %d", err);
    		return err;
    	}
    
    	err = tls_credential_add(APP_PSK_TAG, TLS_CREDENTIAL_PSK_ID,
    				 client_psk_id, sizeof(client_psk_id) - 1);
    	if (err < 0) {
    		LOG_ERR("Failed to register PSK ID: %d", err);
    	}
    #endif
    
    	return err;
    }
    
    #endif /* CONFIG_MQTT_LIB_TLS */
    /////////////////////////////////////////////////////////////////// GSM
    static int cmd_sample_modem_suspend(const struct shell *shell,
    				    size_t argc, char *argv[])
    {
    	ARG_UNUSED(argc);
    	ARG_UNUSED(argv);
    
    	if (!starting) {
    		shell_fprintf(shell, SHELL_NORMAL, "Modem is already stopped.\n");
    		return -ENOEXEC;
    	}
    
    	gsm_ppp_stop(gsm_dev);
    	starting = false;
    
    	return 0;
    }
    
    static int cmd_sample_modem_resume(const struct shell *shell,
    				   size_t argc, char *argv[])
    {
    	ARG_UNUSED(argc);
    	ARG_UNUSED(argv);
    
    	if (starting) {
    		shell_fprintf(shell, SHELL_NORMAL, "Modem is already started.\n");
    		return -ENOEXEC;
    	}
    
    	gsm_ppp_start(gsm_dev);
    	starting = true;
    
    	return 0;
    }
    
    SHELL_STATIC_SUBCMD_SET_CREATE(sample_commands,
    	SHELL_CMD(resume, NULL,
    		  "Resume the modem\n",
    		  cmd_sample_modem_resume),
    	SHELL_CMD(suspend, NULL,
    		  "Suspend the modem\n",
    		  cmd_sample_modem_suspend),
    	SHELL_SUBCMD_SET_END
    );
    
    SHELL_CMD_REGISTER(sample, &sample_commands,
    		   "Sample application commands", NULL);
    
    
    static void event_handler(struct net_mgmt_event_callback *cb,
    			  uint32_t mgmt_event, struct net_if *iface)
    {
    	ARG_UNUSED(cb);
    	ARG_UNUSED(iface);
    
    	if ((mgmt_event & (NET_EVENT_L4_CONNECTED
    			   | NET_EVENT_L4_DISCONNECTED)) != mgmt_event) {
    		return;
    	}
    
    	if (mgmt_event == NET_EVENT_L4_CONNECTED) {
    		LOG_INF("Network connected");
    		return;
    	}
    
    	if (mgmt_event == NET_EVENT_L4_DISCONNECTED) {
    		LOG_INF("Network disconnected");
    		return;
    	}
    }
    
    static void modem_on_cb(const struct device *dev, void *user_data)
    {
    	ARG_UNUSED(dev);
    	ARG_UNUSED(user_data);
    
    	LOG_INF("GSM modem on callback fired");
    }
    
    static void modem_off_cb(const struct device *dev, void *user_data)
    {
    	ARG_UNUSED(dev);
    	ARG_UNUSED(user_data);
    
    	LOG_INF("GSM modem off callback fired");
    }
    
    /////////////////////////////////////////////////////////////////// GSM
    
    static void prepare_fds(struct mqtt_client *client)
    {
    	if (client->transport.type == MQTT_TRANSPORT_NON_SECURE) {
    		fds[0].fd = client->transport.tcp.sock;
    	}
    #if defined(CONFIG_MQTT_LIB_TLS)
    	else if (client->transport.type == MQTT_TRANSPORT_SECURE) {
    		fds[0].fd = client->transport.tls.sock;
    	}
    #endif
    
    	fds[0].events = ZSOCK_POLLIN;
    	nfds = 1;
    }
    
    
    
    
    
    
    
    static void clear_fds(void)
    {
    	nfds = 0;
    }
    
    static int wait(int timeout)
    {
    	int ret = 0;
    
    	if (nfds > 0) {
    		ret = zsock_poll(fds, nfds, timeout);
    		if (ret < 0) {
    			LOG_ERR("poll error: %d", errno);
    		}
    	}
    
    	return ret;
    }
    
    void mqtt_evt_handler(struct mqtt_client *const client,
    		      const struct mqtt_evt *evt)
    {
    	int err;
    
    	switch (evt->type) {
    	case MQTT_EVT_CONNACK:
    		if (evt->result != 0) {
    			LOG_ERR("MQTT connect failed %d", evt->result);
    			break;
    		}
    
    		connected = true;
    		LOG_INF("MQTT client connected!");
    
    		break;
    
    	case MQTT_EVT_DISCONNECT:
    		LOG_INF("MQTT client disconnected %d", evt->result);
    
    		connected = false;
    		clear_fds();
    
    		break;
    
    	case MQTT_EVT_PUBACK:
    		if (evt->result != 0) {
    			LOG_ERR("MQTT PUBACK error %d", evt->result);
    			break;
    		}
    
    		LOG_INF("PUBACK packet id: %u", evt->param.puback.message_id);
    
    		break;
    
    	case MQTT_EVT_PUBREC:
    		if (evt->result != 0) {
    			LOG_ERR("MQTT PUBREC error %d", evt->result);
    			break;
    		}
    
    		LOG_INF("PUBREC packet id: %u", evt->param.pubrec.message_id);
    
    		const struct mqtt_pubrel_param rel_param = {
    			.message_id = evt->param.pubrec.message_id
    		};
    
    		err = mqtt_publish_qos2_release(client, &rel_param);
    		if (err != 0) {
    			LOG_ERR("Failed to send MQTT PUBREL: %d", err);
    		}
    
    		break;
    
    	case MQTT_EVT_PUBCOMP:
    		if (evt->result != 0) {
    			LOG_ERR("MQTT PUBCOMP error %d", evt->result);
    			break;
    		}
    
    		LOG_INF("PUBCOMP packet id: %u",
    			evt->param.pubcomp.message_id);
    
    		break;
    
    	case MQTT_EVT_PINGRESP:
    		LOG_INF("PINGRESP packet");
    		break;
    
    	default:
    		break;
    	}
    }
    
    static char *get_mqtt_payload(enum mqtt_qos qos)
    {
    #if APP_BLUEMIX_TOPIC
    	static APP_BMEM char payload[30];
    
    	snprintk(payload, sizeof(payload), "{d:{temperature:%d}}",
    		 (uint8_t)sys_rand32_get());
    #else
    	static APP_DMEM char payload[] = "DOORS:OPEN_QoSx";
    
    	payload[strlen(payload) - 1] = '0' + qos;
    #endif
    
    	return payload;
    }
    
    static char *get_mqtt_topic(void)
    {
    #if APP_BLUEMIX_TOPIC
    	return "iot-2/type/"BLUEMIX_DEVTYPE"/id/"BLUEMIX_DEVID
    	       "/evt/"BLUEMIX_EVENT"/fmt/"BLUEMIX_FORMAT;
    #else
    	return "sensors";
    #endif
    }
    
    static int publish(struct mqtt_client *client, enum mqtt_qos qos)
    {
    	struct mqtt_publish_param param;
    
    	param.message.topic.qos = qos;
    	param.message.topic.topic.utf8 = (uint8_t *)get_mqtt_topic();
    	param.message.topic.topic.size =
    			strlen(param.message.topic.topic.utf8);
    	param.message.payload.data = get_mqtt_payload(qos);
    	param.message.payload.len =
    			strlen(param.message.payload.data);
    	param.message_id = sys_rand32_get();
    	param.dup_flag = 0U;
    	param.retain_flag = 0U;
    
    	return mqtt_publish(client, &param);
    }
    
    #define RC_STR(rc) ((rc) == 0 ? "OK" : "ERROR")
    
    #define PRINT_RESULT(func, rc) \
    	LOG_INF("%s: %d <%s>", (func), rc, RC_STR(rc))
    
    static void broker_init(void)
    {
    #if defined(CONFIG_NET_IPV6)
    	struct sockaddr_in6 *broker6 = (struct sockaddr_in6 *)&broker;
    
    	broker6->sin6_family = AF_INET6;
    	broker6->sin6_port = htons(SERVER_PORT);
    	zsock_inet_pton(AF_INET6, SERVER_ADDR, &broker6->sin6_addr);
    
    #if defined(CONFIG_SOCKS)
    	struct sockaddr_in6 *proxy6 = (struct sockaddr_in6 *)&socks5_proxy;
    
    	proxy6->sin6_family = AF_INET6;
    	proxy6->sin6_port = htons(SOCKS5_PROXY_PORT);
    	zsock_inet_pton(AF_INET6, SOCKS5_PROXY_ADDR, &proxy6->sin6_addr);
    #endif
    #else
    	struct sockaddr_in *broker4 = (struct sockaddr_in *)&broker;
    
    	broker4->sin_family = AF_INET;
    	broker4->sin_port = htons(SERVER_PORT);
    	zsock_inet_pton(AF_INET, SERVER_ADDR, &broker4->sin_addr);
    #if defined(CONFIG_SOCKS)
    	struct sockaddr_in *proxy4 = (struct sockaddr_in *)&socks5_proxy;
    
    	proxy4->sin_family = AF_INET;
    	proxy4->sin_port = htons(SOCKS5_PROXY_PORT);
    	zsock_inet_pton(AF_INET, SOCKS5_PROXY_ADDR, &proxy4->sin_addr);
    #endif
    #endif
    }
    
    static void client_init(struct mqtt_client *client)
    {
    
    struct mqtt_utf8 pass,name;
    
    pass.size = strlen("dnTdLm8qndcg");
    pass.utf8 = (uint8_t*)"dnTdLm8qndcg";
    name.size = strlen("nnrhlnnv");
    name.utf8 = (uint8_t *)"nnrhlnnv";
    
    
    	mqtt_client_init(client);
    
    	broker_init();
    
    	/* MQTT client configuration */
    	client->broker = (uint8_t*)"driver.cloudmqtt.com"; //&broker;
    	client->evt_cb = mqtt_evt_handler;
    	client->client_id.utf8 = (uint8_t *)MQTT_CLIENTID;
    	client->client_id.size = strlen(MQTT_CLIENTID);
    	client->password = &pass;
    	client->user_name = &name;
    
    	// client->password = "dnTdLm8qndcg";
    	// client->user_name = "nnrhlnnv";
    	client->protocol_version = MQTT_VERSION_3_1_1;
    
    	/* MQTT buffers configuration */
    	client->rx_buf = rx_buffer;
    	client->rx_buf_size = sizeof(rx_buffer);
    	client->tx_buf = tx_buffer;
    	client->tx_buf_size = sizeof(tx_buffer);
    
    	/* MQTT transport configuration */
    #if defined(CONFIG_MQTT_LIB_TLS)
    #if defined(CONFIG_MQTT_LIB_WEBSOCKET)
    	client->transport.type = MQTT_TRANSPORT_SECURE_WEBSOCKET;
    #else
    	client->transport.type = MQTT_TRANSPORT_SECURE;
    #endif
    
    	struct mqtt_sec_config *tls_config = &client->transport.tls.config;
    
    	tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED;
    	tls_config->cipher_list = NULL;
    	tls_config->sec_tag_list = m_sec_tags;
    	tls_config->sec_tag_count = ARRAY_SIZE(m_sec_tags);
    #if defined(MBEDTLS_X509_CRT_PARSE_C) || defined(CONFIG_NET_SOCKETS_OFFLOAD)
    	tls_config->hostname = TLS_SNI_HOSTNAME;
    #else
    	tls_config->hostname = NULL;
    #endif
    
    #else
    #if defined(CONFIG_MQTT_LIB_WEBSOCKET)
    	client->transport.type = MQTT_TRANSPORT_NON_SECURE_WEBSOCKET;
    #else
    	client->transport.type = MQTT_TRANSPORT_NON_SECURE;
    #endif
    #endif
    
    #if defined(CONFIG_MQTT_LIB_WEBSOCKET)
    	client->transport.websocket.config.host = SERVER_ADDR;
    	client->transport.websocket.config.url = "/mqtt";
    	client->transport.websocket.config.tmp_buf = temp_ws_rx_buf;
    	client->transport.websocket.config.tmp_buf_len =
    						sizeof(temp_ws_rx_buf);
    	client->transport.websocket.timeout = 5 * MSEC_PER_SEC;
    #endif
    
    #if defined(CONFIG_SOCKS)
    	mqtt_client_set_proxy(client, &socks5_proxy,
    			      socks5_proxy.sa_family == AF_INET ?
    			      sizeof(struct sockaddr_in) :
    			      sizeof(struct sockaddr_in6));
    #endif
    }
    
    /* In this routine we block until the connected variable is 1 */
    static int try_to_connect(struct mqtt_client *client)
    {
    	int rc, i = 0;
    
    	while (i++ < APP_CONNECT_TRIES && !connected) {
    
    		client_init(client);
    
    		rc = mqtt_connect(client);
    		if (rc != 0) {
    			PRINT_RESULT("mqtt_connect", rc);
    			k_sleep(K_MSEC(APP_SLEEP_MSECS));
    			continue;
    		}
    
    		prepare_fds(client);
    
    		if (wait(APP_CONNECT_TIMEOUT_MS)) {
    			mqtt_input(client);
    		}
    
    		if (!connected) {
    			mqtt_abort(client);
    		}
    	}
    
    	if (connected) {
    		return 0;
    	}
    
    	return -EINVAL;
    }
    
    static int process_mqtt_and_sleep(struct mqtt_client *client, int timeout)
    {
    	int64_t remaining = timeout;
    	int64_t start_time = k_uptime_get();
    	int rc;
    
    	while (remaining > 0 && connected) {
    		if (wait(remaining)) {
    			rc = mqtt_input(client);
    			if (rc != 0) {
    				PRINT_RESULT("mqtt_input", rc);
    				return rc;
    			}
    		}
    
    		rc = mqtt_live(client);
    		if (rc != 0 && rc != -EAGAIN) {
    			PRINT_RESULT("mqtt_live", rc);
    			return rc;
    		} else if (rc == 0) {
    			rc = mqtt_input(client);
    			if (rc != 0) {
    				PRINT_RESULT("mqtt_input", rc);
    				return rc;
    			}
    		}
    
    		remaining = timeout + start_time - k_uptime_get();
    	}
    
    	return 0;
    }
    
    #define SUCCESS_OR_EXIT(rc) { if (rc != 0) { return 1; } }
    #define SUCCESS_OR_BREAK(rc) { if (rc != 0) { break; } }
    
    static int publisher(void)
    {
    	int i, rc, r = 0;
    
    	LOG_INF("attempting to connect: ");
    	rc = try_to_connect(&client_ctx);
    	PRINT_RESULT("try_to_connect", rc);
    	SUCCESS_OR_EXIT(rc);
    
    	i = 0;
    	while (i++ < CONFIG_NET_SAMPLE_APP_MAX_ITERATIONS && connected) {
    		r = -1;
    
    		rc = mqtt_ping(&client_ctx);
    		PRINT_RESULT("mqtt_ping", rc);
    		SUCCESS_OR_BREAK(rc);
    
    		rc = process_mqtt_and_sleep(&client_ctx, APP_SLEEP_MSECS);
    		SUCCESS_OR_BREAK(rc);
    
    		rc = publish(&client_ctx, MQTT_QOS_0_AT_MOST_ONCE);
    		PRINT_RESULT("mqtt_publish", rc);
    		SUCCESS_OR_BREAK(rc);
    
    		rc = process_mqtt_and_sleep(&client_ctx, APP_SLEEP_MSECS);
    		SUCCESS_OR_BREAK(rc);
    
    		rc = publish(&client_ctx, MQTT_QOS_1_AT_LEAST_ONCE);
    		PRINT_RESULT("mqtt_publish", rc);
    		SUCCESS_OR_BREAK(rc);
    
    		rc = process_mqtt_and_sleep(&client_ctx, APP_SLEEP_MSECS);
    		SUCCESS_OR_BREAK(rc);
    
    		rc = publish(&client_ctx, MQTT_QOS_2_EXACTLY_ONCE);
    		PRINT_RESULT("mqtt_publish", rc);
    		SUCCESS_OR_BREAK(rc);
    
    		rc = process_mqtt_and_sleep(&client_ctx, APP_SLEEP_MSECS);
    		SUCCESS_OR_BREAK(rc);
    
    		r = 0;
    	}
    
    	rc = mqtt_disconnect(&client_ctx);
    	PRINT_RESULT("mqtt_disconnect", rc);
    
    	LOG_INF("Bye!");
    
    	return r;
    }
    
    static int start_app(void)
    {
    	int r = 0, i = 0;
    
    	while (!CONFIG_NET_SAMPLE_APP_MAX_CONNECTIONS ||
    	       i++ < CONFIG_NET_SAMPLE_APP_MAX_CONNECTIONS) {
    		r = publisher();
    
    		if (!CONFIG_NET_SAMPLE_APP_MAX_CONNECTIONS) {
    			k_sleep(K_MSEC(5000));
    		}
    	}
    
    	return r;
    }
    
    #if defined(CONFIG_USERSPACE)
    #define STACK_SIZE 2048
    
    #if IS_ENABLED(CONFIG_NET_TC_THREAD_COOPERATIVE)
    #define THREAD_PRIORITY K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1)
    #else
    #define THREAD_PRIORITY K_PRIO_PREEMPT(8)
    #endif
    
    K_THREAD_DEFINE(app_thread, STACK_SIZE,
    		start_app, NULL, NULL, NULL,
    		THREAD_PRIORITY, K_USER, -1);
    
    static K_HEAP_DEFINE(app_mem_pool, 1024 * 2);
    #endif
    
    void main(void)
    {
    
    ////////////////////////////////////////////////////////////////////////////// GSM
    
    	const struct device *uart_dev = DEVICE_DT_GET(UART_NODE);
    	gsm_dev = DEVICE_DT_GET(GSM_MODEM_NODE);
    
    	/* Optional register modem power callbacks */
    	gsm_ppp_register_modem_power_callback(gsm_dev, modem_on_cb, modem_off_cb, NULL);
    
    	LOG_INF("Board '%s' APN '%s' UART '%s' device %p (%s)",
    		CONFIG_BOARD, CONFIG_MODEM_GSM_APN,
    		uart_dev->name, uart_dev, gsm_dev->name);
    
    	net_mgmt_init_event_callback(&mgmt_cb, event_handler,
    				     NET_EVENT_L4_CONNECTED |
    				     NET_EVENT_L4_DISCONNECTED);
    	net_mgmt_add_event_callback(&mgmt_cb);
    
    ////////////////////////////////////////////////////////////////////////////// GSM
    #if defined(CONFIG_MQTT_LIB_TLS)
    	int rc;
    
    	rc = tls_init();
    	PRINT_RESULT("tls_init", rc);
    #endif
    
    #if defined(CONFIG_USERSPACE)
    	int ret;
    
    	struct k_mem_partition *parts[] = {
    #if Z_LIBC_PARTITION_EXISTS
    		&z_libc_partition,
    #endif
    		&app_partition
    	};
    
    	ret = k_mem_domain_init(&app_domain, ARRAY_SIZE(parts), parts);
    	__ASSERT(ret == 0, "k_mem_domain_init() failed %d", ret);
    	ARG_UNUSED(ret);
    
    	k_mem_domain_add_thread(&app_domain, app_thread);
    	k_thread_heap_assign(app_thread, &app_mem_pool);
    
    	k_thread_start(app_thread);
    	k_thread_join(app_thread, K_FOREVER);
    #else
    	exit(start_app());
    #endif
    
    
    
    }
    



    and here is the log file.

    Connected via Serial Port with settings COM14 115200 8n1 rtscts:off
    
    *** Booting Zephyr OS build v3.1.99-ncs1-1  ***
    
    
    [00:00:30.256,774] <err> net_config: Timeout while waiting network interface
    [00:00:30.256,805] <err> net_config: Network initialization failed (-115)
    [00:00:32.255,371] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:32.255,615] <inf> net_mqtt_publisher_sample: Board 'nrf52840dk_nrf52840' APN 'internet' UART 'uart@40028000' device 0x30d88 (gsm-modem)
    [00:00:32.255,615] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:00:32.255,706] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:32.755,859] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:33.255,981] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:33.756,164] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:34.255,706] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:34.256,317] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:34.756,439] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:35.256,622] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:35.756,774] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:36.256,011] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:36.256,896] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:36.757,080] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:37.257,202] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:00:38.256,317] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:40.256,622] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:42.256,927] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:42.257,293] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:00:42.257,354] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:42.757,507] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:43.257,629] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:43.757,812] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:44.257,232] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:44.257,965] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:44.758,087] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:45.258,270] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:45.758,422] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:46.257,537] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:46.258,544] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:46.758,728] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:47.258,850] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:00:48.257,843] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:50.258,148] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:52.258,453] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:52.258,941] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:00:52.259,002] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:52.759,155] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:53.259,277] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:53.759,460] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:54.258,758] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:54.259,613] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:54.759,735] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:55.259,918] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:55.760,070] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:56.259,063] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:56.260,192] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:56.760,375] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:57.260,498] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:00:58.259,368] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:00.259,674] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:02.259,979] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:02.260,589] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:02.260,650] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:02.760,803] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:03.260,925] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:03.761,108] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:04.260,284] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:04.261,260] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:04.761,383] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:05.261,566] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:05.761,718] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:06.260,589] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:06.261,840] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:06.762,023] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:07.262,145] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:08.260,894] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:10.261,199] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:12.261,535] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:12.262,237] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:12.262,298] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:12.762,451] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:13.262,573] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:13.762,756] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:14.261,840] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:14.262,908] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:14.763,031] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:15.263,214] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:15.763,366] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:16.262,145] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:16.263,488] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:16.763,671] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:17.263,793] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:18.262,451] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:20.262,756] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:22.263,061] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:22.263,885] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:22.263,946] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:22.764,099] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:23.264,221] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:23.764,404] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:24.263,366] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:24.264,556] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:24.764,678] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:25.264,862] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:25.765,014] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:26.263,671] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:26.265,136] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:26.765,319] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:27.265,441] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:28.263,977] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:30.264,312] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:32.264,617] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:32.265,533] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:32.265,594] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:32.765,747] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:33.265,869] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:33.766,052] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:34.264,923] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:34.266,204] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:34.766,326] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:35.266,510] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:35.766,662] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:36.265,228] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:36.266,784] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:36.766,967] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:37.267,089] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:38.265,533] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:40.265,838] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:42.266,143] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:42.267,181] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:42.267,242] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:42.767,395] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:43.267,517] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:43.767,700] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:44.266,448] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:44.267,852] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:44.767,974] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:45.268,157] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:45.768,310] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:46.266,754] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:46.268,432] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:46.768,615] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:47.268,737] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:48.267,059] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:50.267,364] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:52.267,700] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:52.268,829] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:52.268,890] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:52.769,042] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:53.269,165] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:53.769,348] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:54.268,005] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:54.269,470] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:54.769,653] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:55.269,836] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:55.769,958] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:56.268,310] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:56.270,141] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:56.770,294] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:57.270,385] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:58.268,615] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:00.268,920] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:02.269,226] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:02.270,507] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:02.270,568] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:02.770,721] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:03.270,843] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:03.771,026] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:04.269,531] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:04.271,148] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:04.771,331] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:05.271,514] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:05.771,636] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:06.269,836] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:06.271,820] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:06.771,972] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:07.272,064] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:08.270,141] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:10.270,446] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:12.270,751] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:12.272,186] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:12.272,247] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:12.772,430] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:13.272,583] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:13.772,766] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:14.271,057] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:14.272,888] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:14.773,071] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:15.273,254] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:15.773,376] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:16.271,362] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:16.273,559] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:16.773,712] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:17.273,803] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:18.271,667] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:20.271,972] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:22.272,277] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:22.273,925] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:22.273,986] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:22.774,139] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:23.274,291] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:23.774,444] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:24.272,583] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:24.274,566] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:24.774,749] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:25.274,932] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:25.775,054] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:26.272,888] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:26.275,238] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:26.775,390] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:27.275,482] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:28.273,193] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:30.273,498] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:32.273,803] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:32.275,604] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:32.275,665] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:32.775,817] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:33.275,939] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:33.776,123] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:34.274,108] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:34.276,245] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:34.776,428] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:35.276,611] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:35.776,733] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:36.274,414] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:36.276,916] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:36.777,069] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:37.277,160] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:38.274,719] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:40.275,024] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:42.275,329] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:42.277,282] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:42.277,343] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:42.777,496] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:43.277,648] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:43.777,801] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:44.275,634] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:44.277,923] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:44.778,106] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:45.278,289] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:45.778,411] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:46.275,939] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:46.278,594] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:46.778,747] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:47.278,839] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:48.276,245] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:50.276,550] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:52.276,855] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:52.278,930] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:52.278,991] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:52.779,144] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:53.279,296] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:53.779,449] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:54.277,160] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:54.279,571] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:54.779,754] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:55.279,937] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:55.780,059] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:56.277,465] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:56.280,242] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:56.780,395] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:57.280,487] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:58.277,770] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:00.278,076] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:02.278,381] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:02.280,609] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:02.280,670] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:02.780,822] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:03.280,944] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:03.781,127] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:04.278,686] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:04.281,250] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:04.781,433] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:05.281,616] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:05.781,738] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:06.278,991] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:06.281,921] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:06.782,073] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:07.282,196] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:08.279,296] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:10.279,602] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:12.279,907] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:12.282,287] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:12.282,348] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:12.782,501] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:13.282,653] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:13.782,806] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:14.280,212] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:14.282,928] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:14.783,111] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:15.283,294] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:15.783,416] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:16.280,517] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:16.283,599] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:16.783,752] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:17.283,843] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:18.280,822] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:20.281,127] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:22.281,463] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:22.283,966] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:22.284,027] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:22.784,179] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:23.284,332] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:23.784,515] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:24.281,768] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:24.284,637] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:24.784,820] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:25.285,003] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:25.785,125] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:26.282,073] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:26.285,308] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:26.785,461] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:27.285,552] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:28.282,379] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:30.282,684] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:32.282,989] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:32.285,675] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:32.285,736] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:32.785,888] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:33.286,041] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:33.786,193] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:34.283,294] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:34.286,315] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:34.786,499] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:35.286,682] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:35.786,804] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:36.283,599] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:36.286,987] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:36.787,139] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:37.287,231] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:38.283,905] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:40.284,210] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:42.284,515] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:42.287,353] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:42.287,414] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:42.787,567] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:43.287,719] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:43.787,902] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:44.284,820] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:44.288,024] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:44.788,208] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:45.288,391] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:45.788,513] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:46.285,125] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:46.288,696] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:46.788,848] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:47.288,940] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:48.285,430] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:50.285,736] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:52.286,041] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:52.289,062] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:52.289,123] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:52.789,276] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:53.289,428] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:53.789,581] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:54.286,346] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:54.289,703] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:54.789,886] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:55.290,069] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:55.790,191] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:56.286,651] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:56.290,374] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:56.790,527] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:57.290,618] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:58.286,956] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:00.287,261] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:02.287,567] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:02.290,740] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:02.290,802] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:02.790,954] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:03.291,107] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:03.791,290] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:04.287,872] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:04.291,412] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:04.791,595] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:05.291,778] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:05.791,900] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:06.288,177] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:06.292,083] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:06.792,236] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:07.292,327] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:08.288,482] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:10.288,787] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:12.289,093] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:12.292,449] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:12.292,510] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:12.792,663] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:13.292,816] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:13.792,968] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:14.289,398] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:14.293,090] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:14.793,273] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:15.293,457] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:15.793,579] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:16.289,703] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:16.293,762] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:16.793,914] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:17.294,006] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:18.290,008] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:20.290,313] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:22.290,618] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:22.294,128] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:22.294,189] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:22.794,342] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:23.294,494] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:23.794,677] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:24.290,924] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:24.294,799] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:24.794,982] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:25.295,166] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:25.795,288] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:26.291,229] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:26.295,471] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:26.795,623] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:27.295,715] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:28.291,534] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:30.291,839] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:32.292,144] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:32.295,837] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:32.295,898] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:32.796,051] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:33.296,203] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:33.796,356] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:34.292,449] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:34.296,478] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:34.796,661] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:35.296,844] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:35.796,966] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:36.292,755] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:36.297,149] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:36.797,302] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:37.297,393] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:38.293,060] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:40.293,365] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:42.293,670] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:42.297,515] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:42.297,576] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:42.797,729] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:43.297,882] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:43.798,034] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:44.293,975] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:44.298,156] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:44.798,339] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:45.298,522] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:45.798,645] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:46.294,281] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:46.298,828] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:46.798,980] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:47.299,072] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:48.294,586] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:50.294,891] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:52.295,196] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:52.299,194] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:52.299,255] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:52.799,407] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:53.299,560] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:53.799,713] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:54.295,501] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:54.299,835] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:54.800,018] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:55.300,201] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:55.800,323] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:56.295,806] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:56.300,506] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:56.800,659] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:57.300,750] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:58.296,112] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:00.296,417] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:02.296,722] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:02.300,872] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:02.300,933] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:02.801,086] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:03.301,239] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:03.801,391] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:04.297,027] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:04.301,513] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:04.801,696] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:05.301,879] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:05.802,001] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:06.297,332] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:06.302,185] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:06.802,337] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:07.302,429] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:08.297,637] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:10.297,943] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:12.298,248] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:12.302,551] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:12.302,612] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:12.802,764] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:13.302,917] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:13.803,070] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:14.298,553] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:14.303,192] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:14.803,375] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:15.303,558] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:15.803,680] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:16.298,858] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:16.303,863] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:16.804,016] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:17.304,107] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:18.299,163] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:20.299,468] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:22.299,804] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:22.304,199] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:22.304,260] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:22.804,412] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:23.304,565] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:23.804,718] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:24.300,109] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:24.304,840] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:24.805,023] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:25.305,206] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:25.805,328] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:26.300,415] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:26.305,511] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:26.805,664] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:27.305,755] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:28.300,720] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:30.301,025] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:32.301,330] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:32.305,877] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:32.305,938] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:32.806,091] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:33.306,243] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:33.806,427] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:34.301,635] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:34.306,549] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:34.806,732] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:35.306,915] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:35.807,037] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:36.301,940] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:36.307,220] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:36.807,373] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:37.307,464] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:38.302,246] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:40.302,551] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:42.302,856] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:42.307,586] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:42.307,647] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:42.807,800] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:43.307,952] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:43.808,105] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:44.303,161] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:44.308,227] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:44.808,410] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:45.308,593] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:45.808,715] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:46.303,466] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:46.308,898] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:46.809,051] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:47.309,143] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:48.303,771] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:50.304,077] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:52.304,382] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:52.309,265] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:52.309,326] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:52.809,478] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:53.309,631] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:53.809,814] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:54.304,687] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:54.309,936] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:54.810,119] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:55.310,302] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:55.810,424] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:56.304,992] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:56.310,607] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:56.810,760] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:57.310,852] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:58.305,297] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    uart:~$
    [00:06:00.305,603] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:02.305,908] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:02.310,974] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:02.311,035] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:02.811,187] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:03.311,340] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:03.811,523] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:04.306,213] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:04.311,645] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:04.811,828] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:05.312,011] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:05.812,133] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:06.306,518] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:06.312,316] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:06.812,469] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:07.312,561] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:08.306,823] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:10.307,128] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:12.307,464] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:12.312,683] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:12.312,744] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:12.812,896] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:13.313,049] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:13.813,201] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:14.307,769] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:14.313,323] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:14.813,507] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:15.313,690] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:15.813,812] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:16.308,074] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:16.313,995] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:16.814,147] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:17.314,239] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:18.308,380] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:20.308,685] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:22.308,990] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:22.314,361] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:22.314,422] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:22.814,575] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:23.314,727] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:23.814,880] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:24.309,295] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:24.315,002] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:24.815,185] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:25.315,368] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:25.815,490] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:26.309,600] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:26.315,673] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:26.815,826] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:27.315,917] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:28.309,906] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:30.310,211] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:32.310,516] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:32.316,040] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:32.316,101] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:32.816,253] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:33.316,406] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:33.816,558] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:34.310,821] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:34.316,680] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:34.816,864] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:35.317,047] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:35.817,169] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:36.311,126] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:36.317,352] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:36.817,504] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:37.317,596] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:38.311,431] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    uart:~$
    uart:~$
    [00:06:40.311,737] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:42.312,042] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:42.317,718] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:42.317,779] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:42.817,932] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:43.318,084] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:43.818,237] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:44.312,347] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:44.318,359] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:44.818,542] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:45.318,725] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:45.818,847] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:46.312,652] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:46.319,030] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:46.819,183] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:47.319,274] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:48.312,957] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:50.313,262] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:52.313,568] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:52.319,396] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:52.319,458] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:52.819,610] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:53.319,763] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:53.819,915] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:54.313,873] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:54.320,037] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:54.820,220] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:55.320,404] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:55.820,526] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:56.314,178] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:56.320,709] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:56.820,861] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:57.320,953] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:58.314,483] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:00.314,788] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:02.315,093] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:02.321,075] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:07:02.321,136] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:02.821,289] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:03.321,441] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:03.821,594] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:04.315,399] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:04.321,716] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    uart:~$
    [00:07:04.821,899] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:05.322,082] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:05.822,204] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:06.315,704] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:06.322,387] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:06.822,540] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:07.322,631] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:07:08.316,009] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:10.316,314] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:12.316,619] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:12.322,723] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:07:12.322,784] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:12.822,937] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    uart:~$
    
    Disconnected


    Connected via Serial Port with settings COM14 115200 8n1 rtscts:off
    
    *** Booting Zephyr OS build v3.1.99-ncs1-1  ***
    
    
    [00:00:30.256,774] <err> net_config: Timeout while waiting network interface
    [00:00:30.256,805] <err> net_config: Network initialization failed (-115)
    [00:00:32.255,371] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:32.255,615] <inf> net_mqtt_publisher_sample: Board 'nrf52840dk_nrf52840' APN 'internet' UART 'uart@40028000' device 0x30d88 (gsm-modem)
    [00:00:32.255,615] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:00:32.255,706] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:32.755,859] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:33.255,981] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:33.756,164] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:34.255,706] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:34.256,317] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:34.756,439] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:35.256,622] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:35.756,774] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:36.256,011] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:36.256,896] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:36.757,080] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:37.257,202] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:00:38.256,317] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:40.256,622] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:42.256,927] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:42.257,293] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:00:42.257,354] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:42.757,507] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:43.257,629] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:43.757,812] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:44.257,232] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:44.257,965] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:44.758,087] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:45.258,270] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:45.758,422] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:46.257,537] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:46.258,544] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:46.758,728] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:47.258,850] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:00:48.257,843] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:50.258,148] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:52.258,453] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:52.258,941] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:00:52.259,002] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:52.759,155] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:53.259,277] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:53.759,460] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:54.258,758] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:54.259,613] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:54.759,735] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:55.259,918] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:55.760,070] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:56.259,063] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:00:56.260,192] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:56.760,375] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:00:57.260,498] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:00:58.259,368] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:00.259,674] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:02.259,979] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:02.260,589] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:02.260,650] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:02.760,803] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:03.260,925] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:03.761,108] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:04.260,284] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:04.261,260] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:04.761,383] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:05.261,566] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:05.761,718] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:06.260,589] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:06.261,840] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:06.762,023] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:07.262,145] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:08.260,894] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:10.261,199] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:12.261,535] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:12.262,237] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:12.262,298] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:12.762,451] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:13.262,573] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:13.762,756] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:14.261,840] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:14.262,908] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:14.763,031] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:15.263,214] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:15.763,366] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:16.262,145] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:16.263,488] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:16.763,671] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:17.263,793] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:18.262,451] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:20.262,756] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:22.263,061] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:22.263,885] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:22.263,946] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:22.764,099] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:23.264,221] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:23.764,404] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:24.263,366] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:24.264,556] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:24.764,678] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:25.264,862] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:25.765,014] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:26.263,671] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:26.265,136] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:26.765,319] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:27.265,441] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:28.263,977] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:30.264,312] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:32.264,617] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:32.265,533] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:32.265,594] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:32.765,747] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:33.265,869] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:33.766,052] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:34.264,923] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:34.266,204] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:34.766,326] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:35.266,510] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:35.766,662] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:36.265,228] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:36.266,784] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:36.766,967] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:37.267,089] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:38.265,533] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:40.265,838] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:42.266,143] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:42.267,181] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:42.267,242] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:42.767,395] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:43.267,517] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:43.767,700] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:44.266,448] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:44.267,852] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:44.767,974] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:45.268,157] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:45.768,310] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:46.266,754] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:46.268,432] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:46.768,615] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:47.268,737] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:48.267,059] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:50.267,364] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:52.267,700] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:52.268,829] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:01:52.268,890] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:52.769,042] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:53.269,165] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:53.769,348] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:54.268,005] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:54.269,470] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:54.769,653] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:55.269,836] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:55.769,958] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:56.268,310] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:01:56.270,141] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:56.770,294] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:01:57.270,385] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:01:58.268,615] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:00.268,920] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:02.269,226] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:02.270,507] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:02.270,568] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:02.770,721] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:03.270,843] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:03.771,026] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:04.269,531] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:04.271,148] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:04.771,331] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:05.271,514] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:05.771,636] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:06.269,836] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:06.271,820] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:06.771,972] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:07.272,064] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:08.270,141] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:10.270,446] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:12.270,751] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:12.272,186] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:12.272,247] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:12.772,430] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:13.272,583] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:13.772,766] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:14.271,057] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:14.272,888] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:14.773,071] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:15.273,254] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:15.773,376] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:16.271,362] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:16.273,559] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:16.773,712] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:17.273,803] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:18.271,667] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:20.271,972] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:22.272,277] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:22.273,925] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:22.273,986] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:22.774,139] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:23.274,291] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:23.774,444] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:24.272,583] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:24.274,566] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:24.774,749] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:25.274,932] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:25.775,054] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:26.272,888] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:26.275,238] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:26.775,390] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:27.275,482] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:28.273,193] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:30.273,498] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:32.273,803] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:32.275,604] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:32.275,665] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:32.775,817] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:33.275,939] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:33.776,123] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:34.274,108] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:34.276,245] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:34.776,428] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:35.276,611] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:35.776,733] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:36.274,414] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:36.276,916] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:36.777,069] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:37.277,160] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:38.274,719] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:40.275,024] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:42.275,329] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:42.277,282] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:42.277,343] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:42.777,496] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:43.277,648] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:43.777,801] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:44.275,634] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:44.277,923] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:44.778,106] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:45.278,289] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:45.778,411] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:46.275,939] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:46.278,594] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:46.778,747] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:47.278,839] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:48.276,245] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:50.276,550] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:52.276,855] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:52.278,930] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:02:52.278,991] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:52.779,144] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:53.279,296] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:53.779,449] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:54.277,160] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:54.279,571] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:54.779,754] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:55.279,937] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:55.780,059] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:56.277,465] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:02:56.280,242] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:56.780,395] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:02:57.280,487] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:02:58.277,770] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:00.278,076] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:02.278,381] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:02.280,609] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:02.280,670] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:02.780,822] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:03.280,944] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:03.781,127] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:04.278,686] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:04.281,250] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:04.781,433] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:05.281,616] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:05.781,738] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:06.278,991] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:06.281,921] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:06.782,073] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:07.282,196] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:08.279,296] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:10.279,602] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:12.279,907] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:12.282,287] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:12.282,348] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:12.782,501] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:13.282,653] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:13.782,806] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:14.280,212] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:14.282,928] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:14.783,111] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:15.283,294] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:15.783,416] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:16.280,517] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:16.283,599] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:16.783,752] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:17.283,843] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:18.280,822] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:20.281,127] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:22.281,463] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:22.283,966] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:22.284,027] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:22.784,179] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:23.284,332] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:23.784,515] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:24.281,768] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:24.284,637] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:24.784,820] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:25.285,003] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:25.785,125] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:26.282,073] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:26.285,308] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:26.785,461] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:27.285,552] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:28.282,379] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:30.282,684] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:32.282,989] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:32.285,675] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:32.285,736] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:32.785,888] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:33.286,041] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:33.786,193] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:34.283,294] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:34.286,315] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:34.786,499] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:35.286,682] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:35.786,804] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:36.283,599] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:36.286,987] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:36.787,139] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:37.287,231] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:38.283,905] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:40.284,210] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:42.284,515] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:42.287,353] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:42.287,414] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:42.787,567] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:43.287,719] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:43.787,902] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:44.284,820] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:44.288,024] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:44.788,208] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:45.288,391] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:45.788,513] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:46.285,125] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:46.288,696] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:46.788,848] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:47.288,940] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:48.285,430] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:50.285,736] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:52.286,041] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:52.289,062] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:03:52.289,123] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:52.789,276] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:53.289,428] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:53.789,581] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:54.286,346] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:54.289,703] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:54.789,886] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:55.290,069] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:55.790,191] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:56.286,651] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:03:56.290,374] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:56.790,527] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:03:57.290,618] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:03:58.286,956] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:00.287,261] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:02.287,567] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:02.290,740] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:02.290,802] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:02.790,954] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:03.291,107] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:03.791,290] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:04.287,872] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:04.291,412] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:04.791,595] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:05.291,778] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:05.791,900] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:06.288,177] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:06.292,083] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:06.792,236] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:07.292,327] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:08.288,482] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:10.288,787] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:12.289,093] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:12.292,449] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:12.292,510] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:12.792,663] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:13.292,816] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:13.792,968] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:14.289,398] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:14.293,090] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:14.793,273] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:15.293,457] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:15.793,579] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:16.289,703] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:16.293,762] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:16.793,914] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:17.294,006] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:18.290,008] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:20.290,313] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:22.290,618] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:22.294,128] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:22.294,189] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:22.794,342] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:23.294,494] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:23.794,677] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:24.290,924] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:24.294,799] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:24.794,982] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:25.295,166] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:25.795,288] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:26.291,229] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:26.295,471] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:26.795,623] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:27.295,715] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:28.291,534] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:30.291,839] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:32.292,144] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:32.295,837] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:32.295,898] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:32.796,051] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:33.296,203] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:33.796,356] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:34.292,449] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:34.296,478] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:34.796,661] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:35.296,844] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:35.796,966] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:36.292,755] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:36.297,149] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:36.797,302] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:37.297,393] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:38.293,060] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:40.293,365] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:42.293,670] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:42.297,515] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:42.297,576] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:42.797,729] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:43.297,882] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:43.798,034] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:44.293,975] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:44.298,156] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:44.798,339] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:45.298,522] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:45.798,645] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:46.294,281] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:46.298,828] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:46.798,980] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:47.299,072] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:48.294,586] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:50.294,891] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:52.295,196] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:52.299,194] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:04:52.299,255] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:52.799,407] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:53.299,560] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:53.799,713] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:54.295,501] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:54.299,835] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:54.800,018] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:55.300,201] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:55.800,323] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:56.295,806] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:04:56.300,506] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:56.800,659] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:04:57.300,750] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:04:58.296,112] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:00.296,417] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:02.296,722] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:02.300,872] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:02.300,933] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:02.801,086] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:03.301,239] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:03.801,391] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:04.297,027] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:04.301,513] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:04.801,696] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:05.301,879] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:05.802,001] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:06.297,332] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:06.302,185] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:06.802,337] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:07.302,429] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:08.297,637] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:10.297,943] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:12.298,248] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:12.302,551] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:12.302,612] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:12.802,764] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:13.302,917] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:13.803,070] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:14.298,553] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:14.303,192] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:14.803,375] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:15.303,558] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:15.803,680] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:16.298,858] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:16.303,863] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:16.804,016] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:17.304,107] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:18.299,163] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:20.299,468] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:22.299,804] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:22.304,199] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:22.304,260] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:22.804,412] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:23.304,565] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:23.804,718] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:24.300,109] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:24.304,840] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:24.805,023] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:25.305,206] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:25.805,328] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:26.300,415] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:26.305,511] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:26.805,664] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:27.305,755] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:28.300,720] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:30.301,025] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:32.301,330] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:32.305,877] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:32.305,938] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:32.806,091] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:33.306,243] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:33.806,427] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:34.301,635] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:34.306,549] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:34.806,732] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:35.306,915] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:35.807,037] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:36.301,940] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:36.307,220] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:36.807,373] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:37.307,464] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:38.302,246] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:40.302,551] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:42.302,856] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:42.307,586] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:42.307,647] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:42.807,800] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:43.307,952] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:43.808,105] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:44.303,161] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:44.308,227] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:44.808,410] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:45.308,593] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:45.808,715] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:46.303,466] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:46.308,898] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:46.809,051] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:47.309,143] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:48.303,771] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:50.304,077] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:52.304,382] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:52.309,265] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:05:52.309,326] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:52.809,478] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:53.309,631] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:53.809,814] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:54.304,687] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:54.309,936] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:54.810,119] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:55.310,302] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:55.810,424] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:56.304,992] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:05:56.310,607] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:56.810,760] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:05:57.310,852] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:05:58.305,297] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    uart:~$
    [00:06:00.305,603] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:02.305,908] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:02.310,974] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:02.311,035] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:02.811,187] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:03.311,340] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:03.811,523] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:04.306,213] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:04.311,645] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:04.811,828] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:05.312,011] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:05.812,133] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:06.306,518] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:06.312,316] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:06.812,469] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:07.312,561] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:08.306,823] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:10.307,128] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:12.307,464] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:12.312,683] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:12.312,744] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:12.812,896] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:13.313,049] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:13.813,201] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:14.307,769] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:14.313,323] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:14.813,507] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:15.313,690] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:15.813,812] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:16.308,074] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:16.313,995] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:16.814,147] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:17.314,239] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:18.308,380] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:20.308,685] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:22.308,990] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:22.314,361] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:22.314,422] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:22.814,575] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:23.314,727] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:23.814,880] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:24.309,295] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:24.315,002] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:24.815,185] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:25.315,368] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:25.815,490] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:26.309,600] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:26.315,673] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:26.815,826] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:27.315,917] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:28.309,906] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:30.310,211] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:32.310,516] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:32.316,040] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:32.316,101] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:32.816,253] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:33.316,406] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:33.816,558] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:34.310,821] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:34.316,680] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:34.816,864] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:35.317,047] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:35.817,169] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:36.311,126] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:36.317,352] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:36.817,504] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:37.317,596] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:38.311,431] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    uart:~$
    uart:~$
    [00:06:40.311,737] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:42.312,042] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:42.317,718] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:42.317,779] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:42.817,932] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:43.318,084] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:43.818,237] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:44.312,347] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:44.318,359] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:44.818,542] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:45.318,725] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:45.818,847] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:46.312,652] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:46.319,030] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:46.819,183] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:47.319,274] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:48.312,957] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:50.313,262] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:52.313,568] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:52.319,396] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:06:52.319,458] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:52.819,610] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:53.319,763] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:53.819,915] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:54.313,873] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:54.320,037] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:54.820,220] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:55.320,404] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:55.820,526] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:56.314,178] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:06:56.320,709] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:56.820,861] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:06:57.320,953] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:06:58.314,483] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:00.314,788] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:02.315,093] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:02.321,075] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:07:02.321,136] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:02.821,289] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:03.321,441] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:03.821,594] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:04.315,399] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:04.321,716] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    uart:~$
    [00:07:04.821,899] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:05.322,082] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:05.822,204] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:06.315,704] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:06.322,387] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:06.822,540] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:07.322,631] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
    [00:07:08.316,009] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:10.316,314] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:12.316,619] <inf> net_mqtt_publisher_sample: GSM modem on callback fired
    [00:07:12.322,723] <inf> net_mqtt_publisher_sample: attempting to connect:
    [00:07:12.322,784] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    [00:07:12.822,937] <inf> net_mqtt_publisher_sample: mqtt_connect: -106 <ERROR>
    uart:~$
    
    Disconnected


Related