Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Know MTU size
Qt 6.11 is out! See what's new in the release blog

Know MTU size

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vallapaneni
    wrote on last edited by
    #1

    Hi,
    I would like to know what is the negotiated MTU size in my app. I see that MTU negotiation happens between central and peripheral devices. On central device, I have my Qt app. Some of the received packets I have to re-assemble based on MTU size. Please guide how to know MTU size.

    Rgds,
    Venkat.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      debian
      wrote on last edited by
      #2

      https://en.wikipedia.org/wiki/Maximum_transmission_unit

      or you search software way ?

      1 Reply Last reply
      1
      • V Offline
        V Offline
        vallapaneni
        wrote on last edited by
        #3

        Hi,
        I am looking how to know what is the negotiated MTU size in QT. Based on negotiated MTU size, I may have to assemble multiple packets to get the application layer packet. For assembling, I need to know what is the MTU size of the central device controlled by QT.

        Rgds,
        Venkat.

        jsulmJ 1 Reply Last reply
        0
        • V vallapaneni

          Hi,
          I am looking how to know what is the negotiated MTU size in QT. Based on negotiated MTU size, I may have to assemble multiple packets to get the application layer packet. For assembling, I need to know what is the MTU size of the central device controlled by QT.

          Rgds,
          Venkat.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @vallapaneni said in Know MTU size:

          I may have to assemble multiple packets

          But why? This is something TCP is already doing for you.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vallapaneni
            wrote on last edited by
            #5

            Hi,
            My ble peripheral device sends application layer packet by segmenting as per MTU size.For example, central device may send a request and peripheral response needs to be 56 bytes. In such case, if negotiated MTU size is 23, peripheral device sends them as 3 segmented packets. On the central device side, I need to assemble them and form 56b bytes payload.

            Rgds,
            Venkat.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved