Skip to content

UART backend: check access permissions #60

@koenenwmn

Description

@koenenwmn

Currently, when the user has no write permissions the communication fails with:

glip: gb_uart_open: Cannot open device /dev/ttyUSB0
glip: glip_open: Cannot open backend (rv=-1)
ERROR: Cannot open backend

It would be nice to check the permissions first and give a more descriptive message about the cause of the problem.

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