Skip to content

support multi mqtt-sn control packets in one UDP datagram? #106

@qzhuyan

Description

@qzhuyan

I look through the spec but I don't see it mentioned packaging.

I think for efficiency, it will be nice to support MQTT-SN control Packet packaging in one UDP datagram to utlized the MTU.

That is, one UDP datagram sent from one endpoint may contain multiple MQTT-SN control Packet

e.g.

--------------------------
UDP Headers
--------------------------
MQTT-SN control Packet 1
MQTT-SN control Packet 2
MQTT-SN control Packet 3
---END of UDP datagram--

These control packets are no necessary only for new control packets from one endpoint but could also be used for retransmission.

We may add a flag to exchange this capability for the resources constratind devices which are not going to support this.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions