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

nrf9160 - MQTT over TLS - Socket buffer limit - AWS Shadow - Nordic Team Proposal

Hi,

Currently, we work on a project that uses:

    nRF9160
    Zyphre OS
    Segger Embedded Studio for  Arm (Nordic Edition) V5.10d
    SDK v1.4.1
    mqttlib.

According to the documentation, it is not possible to send or receive messages larger than 2K with MQTT / TLS. So our question is:

What is the official proposal of the Nordic Team to be able to use AWS Shadow with MQTT / TLS in the nrf9160?

Thank you,

Dagtus Team.

Parents Reply Children
  • Is it possible that you are getting disconnected from AWS because of the policy? You can try using the policy below just for testing to see if it still gets disconnected.

    {
         "Version": "2012-10-17",
         "Statement": [
             {
               "Effect": "Allow",
               "Action": "iot:*",
               "Resource": "*"
             }
          ]
       }
    

    The policy allows all MQTT traffic on the broker. You should not use this policy in the final solution, just for testing purposes. This is due to security reasons.

Related