Skip to content
forked from tfritzon/libnrf24

C library for nRF24L01+ on Raspberry Pi

Notifications You must be signed in to change notification settings

rpedde/libnrf24

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libnrf24 - C library for nRF24L01 on Raspberry Pi

About

A plain C port and de-arduinization of gnulnulf's and stanleyseow's C++ library for running nRF24L01 2.4GHz card on a Raspberry Pi.

Supports poll()ing on an IRQ pin and calling user defined callback on events sent by the card. It does not use threads, as only a single pin needs to be polled.

See examples/pong_irq.c for an example receiver. The examples/pong_curl.c can be used to send data to a picasso dashboard.

License

The original code for Arduino comes from Maniacbug. gnulnulf and stanleyseow ported the library. Huge thanks to all of them.

The code retains the same license as the original: GNU GPL v2.

TODO

  • Add ping example.
  • Find out possible causes for packet loss. The Pi receives and sends the pong, but the node does not receive it.
  • Add debugging #ifdefs
  • Add profiling + check for timing discrepancies vs. the datasheet
  • Clean up the interface
  • Add docs

Docs

About

C library for nRF24L01+ on Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.6%
  • C++ 8.6%
  • Makefile 2.8%