Skip to content

Releases: fphammerle/python-cc1101

select spi bus & chip-select line

08 Dec 07:28
v2.2.0
03dd02a
Compare
Choose a tag to compare

Added

  • select arbitrary device via CC1101(spi_bus=?, spi_chip_select=?)
  • added explanation to PermissionError on SpiDev.open()

preamble & sync word

04 Dec 17:39
v2.1.0
0826529
Compare
Choose a tag to compare

Added

  • method .get_sync_word()
  • method .set_sync_word()
  • method .get_preamble_length_bytes()
  • method .set_preamble_length_bytes()
  • preamble length & sync word in string representation

length byte

03 Dec 17:04
v2.0.0
915a493
Compare
Choose a tag to compare

Changed

  • transmit(): prepend length byte in variable packet length mode internally
    to avoid accidental incomplete transmissions and TX FIFO underflows

fixed packet length mode

02 Dec 07:09
v1.2.0
876cd70
Compare
Choose a tag to compare

Added

  • support for fixed packet length mode
    via new method set_packet_length_mode(PacketLengthMode.FIXED)
  • new enum options.PacketLengthMode
  • new method get_packet_length_mode()
  • method get_packet_length_bytes() is now public
  • new method set_packet_length_bytes()
  • added configured packet length to CC1101's string representation
    (≤n indicates variable length mode, =n fixed length mode)

disable checksum

01 Dec 10:01
v1.1.0
e2cf81e
Compare
Choose a tag to compare

Added

  • method disable_checksum() to disable automatic CRC sum
    appending in TX mode and checking in RX mode

first release

02 Sep 17:09
v1.0.0
500f2d6
Compare
Choose a tag to compare

Added

  • CC1101 class providing
    • context manager to open SPI port
    • transmit() for buffered transmission
    • context manager asynchronous_transmission() for manual signal generation
    • get_configuration_register_values() to read all configuration registers
  • OOK modulation
  • configurable symbol rate & sync mode
  • optional manchester encoding
  • disabled data whitening
  • automatic calibration