buglwIP - A Lightweight TCP/IP stack - Bugs: bug #65229, MQTT is not working with multiple...

 
 

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

bug #65229: MQTT is not working with multiple topics

Submitter:  Kuldeep Siddheshwar Patil <kuldeepp>
Submitted:  Tue 30 Jan 2024 12:11:58 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  None

Wed 07 Feb 2024 09:26:19 AM UTC, comment #2: 

A lot of info is missing. Is the subscriber failing or the publisher? And why is the message fragmented if only 1000K bytes?

I had problems with fragmented messages, that is, messages larger than the TCP segment size. I modified the code a bit so that it works with large incoming messages. I'm testing my modifications with 6 subscriptions and with single messages upto 1 Mbyte.

See also:
https://savannah.nongnu.org/bugs/?65257


Embitz <embitz>
Tue 30 Jan 2024 12:11:58 PM UTC, comment #1: 

This item has been reassigned from the group Savannah Administration support tracker to your tracker.

The original report is still available at support #111013

Following are the information included in the original report:

[field #0]                  Item ID: 111013

[field #1]                 Group ID: 5802

[field #2]              Open/Closed: Open

[field #3]                 Severity: 3 - Normal

[field #4]                  Privacy: Public

[field #8]                         : Unknown support Field Display Type

[field #9]                 Category: Savannah trackers - bugs, tasks, etc.

[field #10]                Submitter: kuldeepp

[field #11]              Assigned to: None

[field #12]                Submitted: Tue 30 Jan 2024 11:55:54 AM UTC

[field #13]                  Summary: MQTT is not working with multiple topics

[field #14]      Original Submission: I am using LWIP stack MQTT with TCP/IP. When I use single topic with multi segmented data then it works as expectation but If I subscribe/publish multiple topics with 1000bytes payload size or 2000bytes payload size it gets failed.

Please let me know how can i use multiple topics and what changes are required.

Currently I have added multiple topic in test application and I can see connection establish and message publish started. After certain amount of time it gets failed and connection closed.


[field #16]               Item Group: None

[field #17]                   Status: None

[field #18]        Component Version: None

[field #19]         Operating System: None

[field #20]          Reproducibility: None

[field #21]               Size (loc): None

[field #22]            Fixed Release: None

[field #23]          Planned Release: None

[field #24]                   Effort: 0.00

[field #28]                 Priority: 5 - Normal

[field #31]         Percent Complete: 0%

[field #33]                  Release: None

[field #58]     Custom Select Box #1: None

[field #59]     Custom Select Box #2: None

[field #60]     Custom Select Box #3: None

[field #61]     Custom Select Box #4: None

[field #62]     Custom Select Box #5: None

[field #63]     Custom Select Box #6: None

[field #64]     Custom Select Box #7: None

[field #65]     Custom Select Box #8: None

[field #66]     Custom Select Box #9: None

[field #67]    Custom Select Box #10: None


Ineiev <ineiev>
Tue 30 Jan 2024 12:11:58 PM UTC, original submission:  

I am using LWIP stack MQTT with TCP/IP. When I use single topic with multi segmented data then it works as expectation but If I subscribe/publish multiple topics with 1000bytes payload size or 2000bytes payload size it gets failed.

Please let me know how can i use multiple topics and what changes are required.

Currently I have added multiple topic in test application and I can see connection establish and message publish started. After certain amount of time it gets failed and connection closed.

Kuldeep Siddheshwar Patil <kuldeepp>

 

(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 embitz (Posted a comment)
  • -email is unavailable- added by kuldeepp (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-30 ineiev Reassign itemSavannah Administration, sr #111013 lwIP - A Lightweight TCP/IP stack, bug #65229

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code