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 سال پیش |
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 سال پیش |
Fabian Peter Hammerle
|
79dd977bcb
fix _set_modulation_format
|
3 سال پیش |
Fabian Peter Hammerle
|
283dc66a0d
private class _ReceivePacket: rename attribute `data` to `payload` to match argument of `transmit` method
|
3 سال پیش |
Fabian Peter Hammerle
|
91b19abd96
warn when selecting frequency below supported range
|
3 سال پیش |
Fabian Peter Hammerle
|
067b4ff01d
support chip version 0x04
|
3 سال پیش |
Fabian Peter Hammerle
|
2d2c1ebaba
added method `.unlock_spi_device` to release the lock manually
|
3 سال پیش |
Fabian Peter Hammerle
|
b41be144dc
constructor: added option `lock_spi_device` to set a `flock` on the selected spi device
|
3 سال پیش |
Fabian Peter Hammerle
|
0a431e49ea
refactor: split ._verify_chip from .__enter__
|
3 سال پیش |
Fabian Peter Hammerle
|
39b6127a3d
refactor: split ._configure_defaults from .__enter__
|
3 سال پیش |
Fabian Peter Hammerle
|
8765270c74
constructor: added args to select SPI bus & chip select line
|
3 سال پیش |
Fabian Peter Hammerle
|
751d6906ae
added explanation to `PermissionError` on `SpiDev.open()`
|
3 سال پیش |
Fabian Peter Hammerle
|
e5812e9aac
method `.set_sync_mode`: added private option `_carrier_sense_threshold_enabled` to test currently unstable receive api
|
4 سال پیش |
Fabian Peter Hammerle
|
e3db2eb915
fix alleged syntax error due to bare *; remove unused imports
|
4 سال پیش |
Fabian Peter Hammerle
|
3ce71bf2d1
added tests for `_enable_receive_mode`, `_get_received_packet` & `_ReceivedPacket`
|
4 سال پیش |
Fabian Peter Hammerle
|
5de0999ceb
added method `_set_filter_bandwidth`
|
4 سال پیش |
Fabian Peter Hammerle
|
72a535333d
unstable: added methods `_enable_receive_mode` & `_get_received_packet`, added class `_ReceivedPacket`
|
4 سال پیش |
Fabian Peter Hammerle
|
391a1706d3
set_preamble_length_bytes(): raise ValueError if length unsupported
|
4 سال پیش |