Python Library & Command Line Tool to Transmit RF Signals via CC1101 Transceivers
GPL-3.0 License
Bot releases are hidden (Show)
python3.11
spi_max_speed_hz
during C1101
class instantiationCC1101.transmit
: raise RuntimeError
instead of Exception
whenpython3.5
& python3.6
Published by fphammerle over 3 years ago
IOCFG0.GDO0_CFG
as recommended in docs to "optimize RF performance"Published by fphammerle over 3 years ago
0
Published by fphammerle over 3 years ago
Published by fphammerle over 3 years ago
set/get_output_power
to configure/retrieve output power settingsPATABLE
and FREND0.PA_POWER
)-p/--output-power
cc1101-export-config
: append values of PATABLE
register as comment_set_power_amplifier_setting_index
:FREND0.LODIV_BUF_CURRENT_TX
to 0
(default: 1
)Published by fphammerle almost 4 years ago
_set_modulation_format
: fixed incorrect configuration of MDMCFG2
registerPublished by fphammerle almost 4 years ago
cc1101-export-config
to export / inspect config register valuescc1101-transmit
cc1101-transmit
command:
flock
on SPI device file to avoid race conditions,Published by fphammerle almost 4 years ago
cc1101-transmit
to transmit via command-line interfacePublished by fphammerle almost 4 years ago
0x04
Published by fphammerle almost 4 years ago
CC1101(lock_spi_device=True)
sets an advisory, exclusive,flock
on the SPI device file /dev/spidev?.?
.unlock_spi_device()
to release flock
manuallyPublished by fphammerle almost 4 years ago
CC1101(spi_bus=?, spi_chip_select=?)
PermissionError
on SpiDev.open()
Published by fphammerle almost 4 years ago
.get_sync_word()
.set_sync_word()
.get_preamble_length_bytes()
.set_preamble_length_bytes()
Published by fphammerle almost 4 years ago
transmit()
: prepend length byte in variable packet length mode internallyPublished by fphammerle almost 4 years ago
set_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)Published by fphammerle almost 4 years ago
disable_checksum()
to disable automatic CRC sumPublished by fphammerle about 4 years ago
CC1101
class providing
transmit()
for buffered transmissionasynchronous_transmission()
for manual signal generationget_configuration_register_values()
to read all configuration registers