Geen omschrijving

Fabian Peter Hammerle a529d84499 setCarrierFrequency: accept arbitrary frequencies (previously limited to 433MHz and 868MHz) 4 jaren geleden
pycc1101 a529d84499 setCarrierFrequency: accept arbitrary frequencies (previously limited to 433MHz and 868MHz) 4 jaren geleden
LICENSE 85eb9c5066 Create LICENSE 6 jaren geleden
README.md 86ef0a8501 Edit Readme 4 jaren geleden
rx.py 2d63b959dd First pass for python3 compatibility 6 jaren geleden
test_pycc1101.py a529d84499 setCarrierFrequency: accept arbitrary frequencies (previously limited to 433MHz and 868MHz) 4 jaren geleden
tx.py 2d63b959dd First pass for python3 compatibility 6 jaren geleden

README.md

README

PYCC1101 is a simple Python wrapper for the CC1101 RF Transceiver.

I've been using PYCC1101 with a CC1101 Arduino module connected trough SPI to a Raspberry Pi. The code, based on PanStamp Arduino library , uses Python SPIDEV module v3.3.

I developed this module for learning purposes and included two examples for rx and tx. The idea is to continue improving the module to perform more complex tasks such as implementing Sammy's OpenSesame attack. AFAIK, there isn't any public Python module available to play with CC1101 SPI devices.

Steps to make it work:

  1. Clone this repository
  2. Create a virtual environment by running virtualenv pycc1101
  3. Activate the virtualenv
  4. Install spidev package: pip install spidev
  5. Run python tx.py
  6. Repeat steps 1-4 in another machine with the module connected.
  7. Run python rx.py