All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
python3.7
& python3.8
python3.11
spi_max_speed_hz
during C1101
class instantiation
to solve issue-128CC1101.transmit
: raise RuntimeError
instead of Exception
when
attempting to transmit in non-idle statepython3.5
& python3.6
IOCFG0.GDO0_CFG
as recommended in docs to "optimize RF performance"0
set/get_output_power
to configure/retrieve output power settings
(PATABLE
and FREND0.PA_POWER
)-p/--output-power
cc1101-export-config
: append values of PATABLE
register as comment_set_power_amplifier_setting_index
:
no longer set FREND0.LODIV_BUF_CURRENT_TX
to 0
(default: 1
)_set_modulation_format
:
fixed incorrect configuration of MDMCFG2
registercc1101-export-config
to export / inspect config register values
after configuration via command-line arguments & options matching cc1101-transmit
cc1101-transmit
command:
flock
on SPI device file to avoid race conditions,
if other processes attempt to use the same transceivercc1101-transmit
to transmit via command-line interface0x04
CC1101(lock_spi_device=True)
sets an advisory, exclusive,
non-blocking flock
on the SPI device file /dev/spidev?.?
.unlock_spi_device()
to release flock
manuallyCC1101(spi_bus=?, spi_chip_select=?)
PermissionError
on SpiDev.open()
.get_sync_word()
.set_sync_word()
.get_preamble_length_bytes()
.set_preamble_length_bytes()
transmit()
: prepend length byte in variable packet length mode internally
to avoid accidental incomplete transmissions and TX FIFO underflowsset_packet_length_mode(PacketLengthMode.FIXED)
options.PacketLengthMode
get_packet_length_mode()
get_packet_length_bytes()
is now publicset_packet_length_bytes()
CC1101
's string representation
(≤n
indicates variable length mode, =n
fixed length mode)disable_checksum()
to disable automatic CRC sum
appending in TX mode and checking in RX modeCC1101
class providing
transmit()
for buffered transmissionasynchronous_transmission()
for manual signal generationget_configuration_register_values()
to read all configuration registers