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

Submitter:  David Bourgeois <jaguarondi>
Submitted:  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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-4448.
    Corresponding source code