aws_iot_connect, error: -119

I am building a project based on the aws_iot example.  I am using sdk 2.3.0.  I can connect with either lte-m or nb-iot, but I keep getting aws_iot_connect, error: -119.  What is error -119?  Thank you.

Parents Reply Children
  • Unfortunately, I can't.  I used up all the pins for peripherals.  I only have a debug terminal setup which gives me this...

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    FOTA version: v1.3.0
    mfw_nrf9160_1.3.5
    OK

    %XSIM: 1
    Mode: 1
    Connecting to LTE...
    +CEREG: 2,"D6DD","0BC8D705",7
    LTE cell changed: Cell ID: 197711621, Tracking area: 55005
    +CSCON: 1
    RRC mode: Connected
    %XTIME: ,"52904071937369","01"
    +CGEV: ME PDN ACT 0,0
    +CNEC_ESM: 50,0
    +CEREG: 5,"D6DD","0BC8D705",7,,,"11100000","11100000"
    Network registration status: Connected - roaming
    Connected to LTE
    PSM parameter update: TAU: 3600, Active time: -1
    %XTIME: ,"52904071939369","01"
    Next connection retry in 30 seconds
    AWS_IOT_EVT_CONNECTING
    +CSCON: 0
    RRC mode: Idle
    aws_iot_connect, error: -119
    Next connection retry in 30 seconds
    aws_iot_connect, error: -119
    Next connection retry in 30 seconds
    aws_iot_connect, error: -119
    Next connection retry in 30 seconds

    In the past I have AWS_IOT_EVT_CONNECTED pretty much immediately after the AWS_IOT_EVT_CONNECTING.  It happened very quick.  But now I don't have that anymore.  And this just happened 2 weeks ago with nothing being changed in the code. Only the VS Code extensions being updated automatically.

    Floyd

  • SEC_TAG problem.  Solved now.  Case closed.

  • Good to hear, thank you for the information.

    Best regards,

    Michal

Related