Fabian Peter Hammerle
|
79dd977bcb
fix _set_modulation_format
|
3 years ago |
Fabian Peter Hammerle
|
283dc66a0d
private class _ReceivePacket: rename attribute `data` to `payload` to match argument of `transmit` method
|
3 years ago |
Fabian Peter Hammerle
|
91b19abd96
warn when selecting frequency below supported range
|
3 years ago |
Fabian Peter Hammerle
|
067b4ff01d
support chip version 0x04
|
3 years ago |
Fabian Peter Hammerle
|
2d2c1ebaba
added method `.unlock_spi_device` to release the lock manually
|
3 years ago |
Fabian Peter Hammerle
|
b41be144dc
constructor: added option `lock_spi_device` to set a `flock` on the selected spi device
|
3 years ago |
Fabian Peter Hammerle
|
0a431e49ea
refactor: split ._verify_chip from .__enter__
|
3 years ago |
Fabian Peter Hammerle
|
39b6127a3d
refactor: split ._configure_defaults from .__enter__
|
3 years ago |
Fabian Peter Hammerle
|
8765270c74
constructor: added args to select SPI bus & chip select line
|
3 years ago |
Fabian Peter Hammerle
|
751d6906ae
added explanation to `PermissionError` on `SpiDev.open()`
|
3 years ago |
Fabian Peter Hammerle
|
e5812e9aac
method `.set_sync_mode`: added private option `_carrier_sense_threshold_enabled` to test currently unstable receive api
|
3 years ago |
Fabian Peter Hammerle
|
e3db2eb915
fix alleged syntax error due to bare *; remove unused imports
|
3 years ago |
Fabian Peter Hammerle
|
3ce71bf2d1
added tests for `_enable_receive_mode`, `_get_received_packet` & `_ReceivedPacket`
|
3 years ago |
Fabian Peter Hammerle
|
5de0999ceb
added method `_set_filter_bandwidth`
|
3 years ago |
Fabian Peter Hammerle
|
72a535333d
unstable: added methods `_enable_receive_mode` & `_get_received_packet`, added class `_ReceivedPacket`
|
3 years ago |
Fabian Peter Hammerle
|
391a1706d3
set_preamble_length_bytes(): raise ValueError if length unsupported
|
3 years ago |
Fabian Peter Hammerle
|
d68319dea3
added method `set_preamble_length_bytes()`
|
3 years ago |
Fabian Peter Hammerle
|
0c80af0e4c
get_preamble_length_bytes: refactor formula
|
3 years ago |
Fabian Peter Hammerle
|
7ae1bb8240
added method `get_preamble_length_bytes()`
|
3 years ago |
Fabian Peter Hammerle
|
f58e3f370a
added method `set_sync_mode()`
|
3 years ago |
Fabian Peter Hammerle
|
413e5431bb
added method `get_sync_word()`
|
3 years ago |
Fabian Peter Hammerle
|
c8605d8007
added method `_get_filter_bandwidth_hertz()`
|
3 years ago |
Fabian Peter Hammerle
|
a7d6555159
_log_chip_status_byte: added comment regarding relation between R/W bit in strobe commands and FIFO_BYTES_AVAILABLE
|
3 years ago |
Fabian Peter Hammerle
|
03494733f3
transmit(): prepend length byte in variable packet length mode internally
|
3 years ago |
Fabian Peter Hammerle
|
9905a5538f
add `_bytes` suffix to method names `get/set_packet_length`
|
3 years ago |
Fabian Peter Hammerle
|
caa0c3d324
marcstate enum: add RX & RXFIFO_OVERFLOW to prepare for future receive support
|
3 years ago |
Fabian Peter Hammerle
|
f7cc40b7bb
transmit: fix exception message
|
3 years ago |
Fabian Peter Hammerle
|
456d952f41
added method `set_packet_length()` with example
|
3 years ago |
Fabian Peter Hammerle
|
0846ac2e96
method `get_packet_length` is now public; transmit: adapt payload length check for fixed length mode
|
3 years ago |
Fabian Peter Hammerle
|
22b47e56e8
support for fixed packet length mode via new method `set_packet_length_mode(PacketLengthMode.FIXED)`
|
3 years ago |