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

MQTT Connect Error: -95 in nrf9160: AWS_IoT sample

Hi,

I have been trying to run nrf9160: AWS_IoT sample on Thingy91 but have been getting the following output in the serial terminal: 

I couldn't figure out what mqtt_connect, error: -95 actually means since it is not present in the following: https://github.com/intel/zephyr/blob/master/lib/libc/minimal/include/errno.h

Can someone please help me figure out what this error actually means?

Thank you.

Parents Reply
  • Have you edited the sample in any way, other than what the documentation states? Added anything to the sample? 

    The GNU Arm Embedded Toolchain includes a tool (arm-none-eabi-addr2line.exe) which you can use to find the faulting instruction on address 0x0002d65c

    arm-none-eabi-addr2line.exe -e zephyr.elf 0x0002d65c

    Where zephyr.elf is found under aws_iot\build\zephyr\zephyr.elf

    You may also find some answers here.

    Are you building for secure or non-secure?

    Kind regards,
    Øyvind

Children
Related