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:  apps Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned 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
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by jaguarondi (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-03 goldsimon StatusNone => Works For Me
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5