Fabian Peter Hammerle
|
c5400eb633
upgrade black from 23.12.1 to 24.1.0
|
9 месяцев назад |
Fabian Peter Hammerle
|
0f90b4ca39
add tests for "spi_max_speed_hz" argument of CC1101's constructor
|
1 год назад |
Matteo Briani
|
a5fac57349
Parametrize "spi_max_speed_hz" during instantiation
|
1 год назад |
Fabian Peter Hammerle
|
8b6bc46eff
re-format code after upgrade of black to v23.1.0
|
1 год назад |
Fabian Peter Hammerle
|
49ea3820ff
CC1101.transmit: raise `RuntimeError` instead of `Exception` when attempting to transmit in non-idle state (fixing pylint's broad-exception-raised warning)
|
1 год назад |
Fabian Peter Hammerle
|
706ead5c4c
pylint: enable various optional checks/extensions
|
2 лет назад |
Fabian Peter Hammerle
|
07bd93bc9f
test / dev env: upgrade black
|
2 лет назад |
Fabian Peter Hammerle
|
296016cc42
drop compatibility with python3.6
|
2 лет назад |
Fabian Peter Hammerle
|
4e1d3ec4a5
drop compatibility with python3.5; test against python3.10
|
3 лет назад |
Fabian Peter Hammerle
|
48e30cbe84
refactor _wait_for_packet & wait_for_rising_edge: specify timeout as datetime.timedelta instead of int
|
3 лет назад |
Fabian Peter Hammerle
|
6922ce120b
replace hhk7734/python3-gpiod with direct calls to libgpiod
|
3 лет назад |
Fabian Peter Hammerle
|
30b26dcdef
_wait_for_packet: disable receive mode after reaching timeout
|
3 лет назад |
Fabian Peter Hammerle
|
b11b762d8c
add method _wait_for_packet
|
3 лет назад |
Fabian Peter Hammerle
|
ce5fa7f00e
refactor: move _TransceiveMode to options module
|
3 лет назад |
Fabian Peter Hammerle
|
c8c4200c90
add method _wait_for_packet
|
3 лет назад |
Fabian Peter Hammerle
|
bdf72b6dca
add cc1101._gpio.get_line to prepare for edge detection on GDO pin
|
3 лет назад |
Fabian Peter Hammerle
|
ed0dfb0b1e
recommend to check wiring & bus selection when receiving chip version 0
|
3 лет назад |
Fabian Peter Hammerle
|
f72c934511
fix: close & unlock SPI device file when error occurs while entering context
|
3 лет назад |
Fabian Peter Hammerle
|
b89519d61e
refactor: use `bytes.hex()`
|
3 лет назад |
Fabian Peter Hammerle
|
760808ec73
representations of PATABLE settings: replace "0x0" with "0" for brevity
|
3 лет назад |
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 лет назад |
Fabian Peter Hammerle
|
b8822f9497
added method set_output_power_levels
|
3 лет назад |
Fabian Peter Hammerle
|
a6d73ebb68
added method get_output_power_levels
|
3 лет назад |
Fabian Peter Hammerle
|
f1da47d36b
added method _get_power_amplifier_setting_index
|
3 лет назад |
Fabian Peter Hammerle
|
e17e2a00f8
added method _set_patable
|
3 лет назад |
Fabian Peter Hammerle
|
19e9186172
added method _get_patable
|
3 лет назад |
Fabian Peter Hammerle
|
80fc38281e
document GDO0
|
3 лет назад |
Fabian Peter Hammerle
|
fbdcc5bcc9
increase test coverage of context manager
|
3 лет назад |
Fabian Peter Hammerle
|
e135b455da
refactor: move some tests from test_config.py to config/test_0x10_mdmcfg4.py
|
3 лет назад |
Fabian Peter Hammerle
|
921eedbcc4
fix typo in package descriptions
|
3 лет назад |