Fabian Peter Hammerle
|
296016cc42
drop compatibility with python3.6
|
2 years ago |
Fabian Peter Hammerle
|
4e1d3ec4a5
drop compatibility with python3.5; test against python3.10
|
3 years ago |
Fabian Peter Hammerle
|
48e30cbe84
refactor _wait_for_packet & wait_for_rising_edge: specify timeout as datetime.timedelta instead of int
|
3 years ago |
Fabian Peter Hammerle
|
6922ce120b
replace hhk7734/python3-gpiod with direct calls to libgpiod
|
3 years ago |
Fabian Peter Hammerle
|
30b26dcdef
_wait_for_packet: disable receive mode after reaching timeout
|
3 years ago |
Fabian Peter Hammerle
|
b11b762d8c
add method _wait_for_packet
|
3 years ago |
Fabian Peter Hammerle
|
ce5fa7f00e
refactor: move _TransceiveMode to options module
|
3 years ago |
Fabian Peter Hammerle
|
c8c4200c90
add method _wait_for_packet
|
3 years ago |
Fabian Peter Hammerle
|
bdf72b6dca
add cc1101._gpio.get_line to prepare for edge detection on GDO pin
|
3 years ago |
Fabian Peter Hammerle
|
ed0dfb0b1e
recommend to check wiring & bus selection when receiving chip version 0
|
3 years ago |
Fabian Peter Hammerle
|
f72c934511
fix: close & unlock SPI device file when error occurs while entering context
|
3 years ago |
Fabian Peter Hammerle
|
b89519d61e
refactor: use `bytes.hex()`
|
3 years ago |
Fabian Peter Hammerle
|
760808ec73
representations of PATABLE settings: replace "0x0" with "0" for brevity
|
3 years ago |
Fabian Peter Hammerle
|
cebeeb5207
rename set/get_output_power_levels to set/get_output_power as a higher patable setting does not necessarily imply a higher output power level (see table 39)
|
3 years ago |
Fabian Peter Hammerle
|
b8822f9497
added method set_output_power_levels
|
3 years ago |
Fabian Peter Hammerle
|
a6d73ebb68
added method get_output_power_levels
|
3 years ago |
Fabian Peter Hammerle
|
f1da47d36b
added method _get_power_amplifier_setting_index
|
3 years ago |
Fabian Peter Hammerle
|
e17e2a00f8
added method _set_patable
|
3 years ago |
Fabian Peter Hammerle
|
19e9186172
added method _get_patable
|
3 years ago |
Fabian Peter Hammerle
|
80fc38281e
document GDO0
|
3 years ago |
Fabian Peter Hammerle
|
fbdcc5bcc9
increase test coverage of context manager
|
3 years ago |
Fabian Peter Hammerle
|
e135b455da
refactor: move some tests from test_config.py to config/test_0x10_mdmcfg4.py
|
3 years ago |
Fabian Peter Hammerle
|
921eedbcc4
fix typo in package descriptions
|
3 years ago |
Fabian Peter Hammerle
|
feca9fb7fb
fix default config & _set_power_amplifier_setting_index: no longer set FREND0.LODIV_BUF_CURRENT_TX to 0 (cc1101's default: 1)
|
3 years ago |
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 |