buglwIP - A Lightweight TCP/IP stack - Bugs: bug #52332, MQTT_OUTPUT_RINGBUF_SIZE must be a...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #52332: MQTT_OUTPUT_RINGBUF_SIZE must be a power of 2

Submitted by:  David Bourgeois <jaguarondi>
Submitted on:  Thu 02 Nov 2017 11:29:24 PM UTC  
 
Category: appsSeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Fri 03 Nov 2017 11:03:39 AM UTC, comment #2:

Sorry, you're right, I didn't update it on this project and see that this had been addressed earlier.

David Bourgeois <jaguarondi>
Fri 03 Nov 2017 07:46:20 AM UTC, comment #1:

Are you sure you're using git head? This should be fixed already. I guess you're using a 2.0.x release.

Simon Goldschmidt <goldsimon>
Project Administrator
Thu 02 Nov 2017 11:29:24 PM UTC, original submission:

As MQTT_OUTPUT_RINGBUF_SIZE is used as a mask in the ring buffer, it must be a power of 2. Could we add that information in the documentation field?

/**

  • Output ring-buffer size, must be a power of 2 (128, 256, 512, etc.) and must be able to fit largest outgoing publish message topic+payloads

*/
#ifndef MQTT_OUTPUT_RINGBUF_SIZE
#define MQTT_OUTPUT_RINGBUF_SIZE 256
#endif

David Bourgeois <jaguarondi>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by jaguarondi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 03 Nov 2017 07:46:20 AM UTCgoldsimonStatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1