Skip to content

4 times Thread.Sleep(1) in Nrf24l01 Send ... why? #2419

Description

@jblahos

Hello,

I was looking at this library (Iot.Device.Bindings), considering to use it with my raspberry pi project. I want to use the Nrf24l01 wrapper. But when I checked it out internally, I noticed that its Send() method has 4x Thread.Sleep(1) inside it. This would massively slow down my sending rate. I want my nrf to only send data, never receive anything, and I want to send data rapidly. So why is the Send implemented like this, switching back to receive after every send and having those sleeps?

Thread.Sleep(1);

I would suggest that in Send there should be simple write of the data and nothing else.

Activity

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

Metadata

Metadata

Labels

Priority:3Work that is nice to haveenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions