Skip to content
This repository was archived by the owner on Oct 1, 2019. It is now read-only.
This repository was archived by the owner on Oct 1, 2019. It is now read-only.

Change serial port to use /dev/serial0 #9

@ryanteck

Description

@ryanteck

On RPi 3, 3B+, 3A+ & Zero W the /dev/ttyAMA0 port is used by the bluetooth adaptor as default.

/dev/serial0 seems to route AMA0 or the Miniuart port depending on what is "connected" to the GPIO at the time.

While the hardware UART is usually preferred if we change to using /dev/serial0 then if the user hasn't configured it it should still work.

I believe it'll be best to change to using /dev/serial0 for the library. At the same time adding a way for the user to specify the port manually if they wish.

Before implementing I'll do an approximate 24 hour test transmitting continuously for 24 Hours. This'll be a total of around 12,300 Times.

If there's little to no issues then this change will be made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions