Skip to content

Default SerialConnection issue #74

Open
@buldo

Description

@buldo

Maybe not an issue.
I have LILIGO T3 V1.6.1 connected to PC via default(onboard) USB-serial.
Web interface connects succesfully via WebUSB.
But I have problems with default SerialPort of this app.
I fixed my issue with next fix - I commented serial port config(DtrEnable, Handshake, WriteBufferSize ):

    public SerialConnection(ILogger logger, string port, int baudRate = Resources.DEFAULT_BAUD_RATE) : base(logger)
    {
        serialPort = new SerialPort(port, baudRate)
        {
            //DtrEnable = true,
            //Handshake = Handshake.XOnXOff,
            //WriteBufferSize = 8,
        };
    }

I understand that library have special constructor for overriding default values. But I want to understand is it problem with my device? Or meybe I have to not to use default usb/serial on board?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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