Skip to content

Issues reading and writing to radio in real time. #66

Open
@riddlemd

Description

@riddlemd

The serial connection goes all crazy and crashes the device if you try to read and write at the same time (which is already a pain to do and why I submitted pr #65) on ESP32 based devices.

Having said that, I've had some luck with using SemaphoreSlim(1,1) in my code to keeping the WriteToRadio and ReadFromRadio from stepping all over each other.

It would probably make sense to do this at the Connection class level, however; I can't see a situation you'd want to purposely screw up your serial connection.

I can look into doing it, anyone have any input they'd like to share on why we would not want to do this?

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