Skip to content

Releases: fphammerle/python-cc1101

spi max speed

04 May 07:41
v3.0.0
1aab767
Compare
Choose a tag to compare

Added

  • declare compatibility with python3.11
  • allow parametrization of spi_max_speed_hz during C1101 class instantiation
    to solve #128 (@matteo-briani)

Changed

  • CC1101.transmit: raise RuntimeError instead of Exception when
    attempting to transmit in non-idle state

Removed

  • compatibility with python3.5 & python3.6

radio performance fix

20 Apr 21:02
v2.7.3
d3bcfe0
Compare
Choose a tag to compare

Fixed

  • change IOCFG0.GDO0_CFG as recommended in docs to "optimize RF performance"

chip version 0

12 Mar 18:04
v2.7.2
2638b7c
Compare
Choose a tag to compare

Fixed

  • recommend to check wiring & bus selection when receiving chip version 0

unlock on init error

08 Feb 15:42
v2.7.1
1269157
Compare
Choose a tag to compare

Fixed

  • close & unlock SPI device file when error occurs while entering context

configure output power

24 Jan 08:19
v2.7.0
2f871fc
Compare
Choose a tag to compare

Added

  • method set/get_output_power to configure/retrieve output power settings
    (PATABLE and FREND0.PA_POWER)
  • all commands: added parameter -p/--output-power
  • command cc1101-export-config: append values of PATABLE register as comment

Fixed

  • default config via private/unstable method _set_power_amplifier_setting_index:
    no longer set FREND0.LODIV_BUF_CURRENT_TX to 0 (default: 1)

fixed _set_modulation_format

16 Jan 21:28
v2.6.1
d6626d0
Compare
Choose a tag to compare

Fixed

  • private/unstable method _set_modulation_format: fixed incorrect configuration of MDMCFG2 register

export config

04 Jan 01:16
v2.6.0
9137985
Compare
Choose a tag to compare

Added

  • command cc1101-export-config to export / inspect config register values
    after configuration via command-line arguments & options matching cc1101-transmit

Fixed

  • cc1101-transmit command:
    • set flock on SPI device file to avoid race conditions,
      if other processes attempt to use the same transceiver
    • configure transceiver after reading from stdin
      to avoid delay between configuration and transmission, if pipe is slow

command-line interface

30 Dec 16:12
v2.5.0
89486cc
Compare
Choose a tag to compare

Added

  • added command cc1101-transmit to transmit via command-line interface
  • warn when selecting frequency below supported range

chip version 0x04

13 Dec 12:08
v2.4.0
36b3f65
Compare
Choose a tag to compare

Added

  • support chip version 0x04

flock

11 Dec 10:51
v2.3.0
78da9b6
Compare
Choose a tag to compare

Added

  • option CC1101(lock_spi_device=True) sets an advisory, exclusive,
    non-blocking flock on the SPI device file /dev/spidev?.?
  • method .unlock_spi_device() to release flock manually