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
|
4 years ago |
Fabian Peter Hammerle
|
e3db2eb915
fix alleged syntax error due to bare *; remove unused imports
|
4 years ago |
Fabian Peter Hammerle
|
3ce71bf2d1
added tests for `_enable_receive_mode`, `_get_received_packet` & `_ReceivedPacket`
|
4 years ago |
Fabian Peter Hammerle
|
5de0999ceb
added method `_set_filter_bandwidth`
|
4 years ago |
Fabian Peter Hammerle
|
72a535333d
unstable: added methods `_enable_receive_mode` & `_get_received_packet`, added class `_ReceivedPacket`
|
4 years ago |
Fabian Peter Hammerle
|
391a1706d3
set_preamble_length_bytes(): raise ValueError if length unsupported
|
4 years ago |
Fabian Peter Hammerle
|
d68319dea3
added method `set_preamble_length_bytes()`
|
4 years ago |
Fabian Peter Hammerle
|
0c80af0e4c
get_preamble_length_bytes: refactor formula
|
4 years ago |
Fabian Peter Hammerle
|
7ae1bb8240
added method `get_preamble_length_bytes()`
|
4 years ago |
Fabian Peter Hammerle
|
f58e3f370a
added method `set_sync_mode()`
|
4 years ago |
Fabian Peter Hammerle
|
413e5431bb
added method `get_sync_word()`
|
4 years ago |
Fabian Peter Hammerle
|
c8605d8007
added method `_get_filter_bandwidth_hertz()`
|
4 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
|
4 years ago |
Fabian Peter Hammerle
|
03494733f3
transmit(): prepend length byte in variable packet length mode internally
|
4 years ago |
Fabian Peter Hammerle
|
9905a5538f
add `_bytes` suffix to method names `get/set_packet_length`
|
4 years ago |
Fabian Peter Hammerle
|
caa0c3d324
marcstate enum: add RX & RXFIFO_OVERFLOW to prepare for future receive support
|
4 years ago |
Fabian Peter Hammerle
|
f7cc40b7bb
transmit: fix exception message
|
4 years ago |
Fabian Peter Hammerle
|
456d952f41
added method `set_packet_length()` with example
|
4 years ago |
Fabian Peter Hammerle
|
0846ac2e96
method `get_packet_length` is now public; transmit: adapt payload length check for fixed length mode
|
4 years ago |
Fabian Peter Hammerle
|
22b47e56e8
support for fixed packet length mode via new method `set_packet_length_mode(PacketLengthMode.FIXED)`
|
4 years ago |
Fabian Peter Hammerle
|
ec5cc12e3c
transmit function: added comment regarding configuration of package length through first byte of payload
|
4 years ago |
Fabian Peter Hammerle
|
42946a578c
added method `disable_checksum()` to disable automatic CRC sum appending in TX and checking in RX mode
|
4 years ago |
Fabian Peter Hammerle
|
ffbdd522a5
transmit: added comment regarding bit order
|
4 years ago |
Fabian Peter Hammerle
|
6fdf41560b
remove return type hint from __exit__ to restore python<3.8 support
|
4 years ago |