nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

Asset Tracker v2 - How to monitor the On/Off state of the sliding switches: sw1 and sw2 reported every minute from the nRF9160DK device to a topic of the AWS IoT Core?

I have built and run the application: Asset Tracker v2 using Segger IDE with nRF Connect SDK 1.8.0 , and my nRF9160DK device communicates with the  AWS IoT Core topics.

I can see the battery voltage data (with its time stamp) reported every minute from my nRF9160DK device to the shadow topics of the AWS IoT Core and I can also see the button-pressed data reported (when a button is pressed) from my nRF9160DK device to the AWS IoT Core topic: <IMEI>/messages.

As a next step, I would like to see the On/Off state of the sliding switches: sw1 and sw2 reported every minute from my nRF9160DK device to a topic on the AWS IoT Core.

How can this be done? 

Parents
  • Hi, 

    In addition to the info that I sent to DevZone a few minutes ago, I attach a section of the log file: "LTE Link Monitor log 2022-01-27" - that I sent already to DevZone a few minutes ago - that shows in line 14 the following: "aws_iot: Incoming MQTT message too large for payload buffer [0m".   This may indicate the nature of the problem reported by me to DevZone a few minutes ago.

    How can this problem be resolved?

    Regards,

    JM

Reply
  • Hi, 

    In addition to the info that I sent to DevZone a few minutes ago, I attach a section of the log file: "LTE Link Monitor log 2022-01-27" - that I sent already to DevZone a few minutes ago - that shows in line 14 the following: "aws_iot: Incoming MQTT message too large for payload buffer [0m".   This may indicate the nature of the problem reported by me to DevZone a few minutes ago.

    How can this problem be resolved?

    Regards,

    JM

Children
No Data
Related