pynrf24 | Python port of the RF24 library for NRF24L01 radios

 by   jpbarraca Python Version: Current License: GPL-2.0

kandi X-RAY | pynrf24 Summary

kandi X-RAY | pynrf24 Summary

pynrf24 is a Python library typically used in Internet of Things (IoT), Arduino applications. pynrf24 has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has low support. You can download it from GitLab, GitHub.

Pure python port of the RF24 (library for NRF24L01+ radios through SPI. All API methods were ported and prototypes were kept very similar. This should facilitate the reuse of code from the STM32 or Arduino platforms. The focus of this libary is to provide an API similar to the RF24 driver. Therefore, many things are not so pythonic, especially function names. The actually implementation is improved from the original RF24 code base and has many bug fixes solved, as well as improved performance.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pynrf24 has a low active ecosystem.
              It has 151 star(s) with 86 fork(s). There are 19 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 9 open issues and 17 have been closed. On average issues are closed in 375 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pynrf24 is current.

            kandi-Quality Quality

              pynrf24 has no bugs reported.

            kandi-Security Security

              pynrf24 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              pynrf24 is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              pynrf24 releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pynrf24 and discovered the below as its top functions. This is intended to give you an instant insight into pynrf24 implemented functionality, and help decide if they suit your requirements.
            • Initialize a SPI device
            • Resets all registers
            • Sets the PAAL setting
            • Convert bytes to 8 bits
            • Write a register value
            • Print the details of the network
            • Returns the data rate of the NRF
            • Gets the CRC length
            • Gets the PALEvel value
            • Return True if this NIC is available
            • Wait for the pin to finish
            • Write the packet to the given buffer
            • Writes the payload to the given buffer
            • Stop listening for events
            • Start writing to the stream
            • Read the data from the buffer
            • Start a fast write
            • Writes data to the stream
            • Set autock flag
            • This function is called when the network changes
            • Set auto ACK pipe
            • Start listening for events
            • Enable ack payload
            • Set the PA
            • Enable dynamic payload
            • Open a reading pipe
            • Set address width
            Get all kandi verified functions for this library.

            pynrf24 Key Features

            No Key Features are available at this moment for pynrf24.

            pynrf24 Examples and Code Snippets

            No Code Snippets are available at this moment for pynrf24.

            Community Discussions

            Trending Discussions on pynrf24

            QUESTION

            NRF24L01 Python Library for Raspberry
            Asked 2019-Jun-12 at 18:21

            I've tried to use this library to write test function for NRF24L01 on Raspberry Pi 3 :https://github.com/jpbarraca/pynrf24

            I need from that code to switch between listing and writing mode during runtime. Unfortunately because of the library I've got errors .

            Can anyone tell me how to fix them? Or at least give me some other library that would work properly?

            SPI on Raspberry is enebled as it was in issues (https://github.com/jpbarraca/pynrf24/issues/38) : I've also tried set begin(0,0... but that resulted with:

            Traceback (most recent call last): File "TestNRF.py", line 8, in

            ...

            ANSWER

            Answered 2019-Jun-12 at 18:21

            For future dummies like me (cause I don't think there's any bigger idiot) Raspberry Pi 3 B+ has only SPI0 which means that that line :

            Source https://stackoverflow.com/questions/56553154

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pynrf24

            You can download it from GitLab, GitHub.
            You can use pynrf24 like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any information regarding this library please create an issue. Improvements to the code base are also welcome.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jpbarraca/pynrf24.git

          • CLI

            gh repo clone jpbarraca/pynrf24

          • sshUrl

            git@github.com:jpbarraca/pynrf24.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link