Skip to content

udp.read(buffer, sizeof(buffer)) returns more data than in the currently parsed packet #80

@cike87

Description

@cike87

How to reproduce:

  • Send 2 udp packets to the feather (e.g. each with a size of 770 bytes)
  • Let the feather sleep until both packets are sent
  • Parse the udp packet and note that the size of the first packet is return correctly (770)
  • Read the udp packet into a buffer using the read function that has a size of the maximum unfragmented possible udp packet size (1460)
  • read function returns data (and read Bytes) of the second packet too (1460, should be 770)

There should be a limitation of bytes returned to a maximum of the current udp packet size.

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