Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comunications with the driver #6

Open
andrea1388 opened this issue Feb 24, 2019 · 3 comments
Open

Comunications with the driver #6

andrea1388 opened this issue Feb 24, 2019 · 3 comments

Comments

@andrea1388
Copy link

Hi mciupak, I'd like to use your driver for RF24 radios.
How can I communicate with the driver from a c program running in user space?
Do you have any example code?
Thanks, Andrea

@mciupak
Copy link
Owner

mciupak commented Feb 25, 2019

Hi Andrea,

in terms of transmitting and receiving data you can use standard open/close and read/write functions. as for any other character device file. Configuration of the module (e.g. RX/TX addresses, data rate, channel etc.) is done via sysfs for the time being. See /sys/class/nrf24/ directory.

Currently I am in the middle of implementing minor changes in the driver and as soon it will be finished I will upload some C and C++ examples. Is it fine for you?

Thanks,
Marcin

@andrea1388
Copy link
Author

Ok, I'll try.
Can you give me some hints for compile and install the module?
Thanks, Andrea

@dx9s
Copy link

dx9s commented Oct 13, 2023

Stumbled upon this code in hopes of learning more about the NRF24 wireless hardware. Do you think it would be easy or hard to port this over to a the MILKV DUO ? (RISCV)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants