Releases: fphammerle/python-cc1101
Releases · fphammerle/python-cc1101
select spi bus & chip-select line
Added
- select arbitrary device via
CC1101(spi_bus=?, spi_chip_select=?)
- added explanation to
PermissionError
onSpiDev.open()
preamble & sync word
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
Changed
transmit()
: prepend length byte in variable packet length mode internally
to avoid accidental incomplete transmissions and TX FIFO underflows
fixed packet length mode
Added
- support for fixed packet length mode
via new methodset_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
Added
- method
disable_checksum()
to disable automatic CRC sum
appending in TX mode and checking in RX mode
first release
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