Skip to content

UDP driver errno 22: Invalid Argument #3127

@zimri-leisher

Description

@zimri-leisher
F´ Version 3.5.1
Affected Component Udp

Problem Description

When trying to send to a UDP port with the Udp component, we are seeing errno 22 raised (invalid argument)

The driver is being configured like so:

instance x: Drv.Udp base id 0x1234 {
    phase Fpp.ToCpp.Phases.configComponents """
    x.configureSend(ip_c_str, port_int, 0, UDP_TIMEOUT_US);
    x.open();
    """

    phase Fpp.ToCpp.Phases.tearDownComponents """
    x.stop();
    x.join();
    """
}

From internal testing, we have validated that the data we are passing to the send port is a valid... Unsure what could be causing this.

Context / Environment

Execute fprime-util version-check and share the output.

Operating System: Linux
CPU Architecture: x86_64
Platform: Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
Python version: 3.10.12
CMake version: 3.22.1
Pip version: 22.0.2
Pip packages:
    fprime-tools==3.5.1
    fprime-gds==3.5.1
    fprime-fpp-*==2.2.1
Project submodules:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions