• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

esp32 Module 7 : MQTT

Q&A Forum › esp32 Module 7 : MQTT
0 Vote Up Vote Down
Jack Douglas asked 9 months ago

In this section, what do the following parameters mean?
 
dup
retain
len
index
total

Question Tags: ESP32 MQTT
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 9 months ago

Hi Jack.
Those are MQTT properties.

  • dup: indicates if this is a duplicated packet
  • retain: if true, the server should retain this packet and publish it automatically to anyone that subscribes
  • len: message length
  • index: index of the message (0, 1, 2, 3 and so on)
  • total: I think it is the size of the packet.

Regards,
Sara
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021
  • [eBook Released] Build Web Servers with ESP32 and ESP8266 (version 1.0) October 27, 2020

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2021 · RandomNerdTutorials.com · All Rights Reserved