Overview
| Comment: | Power setting improvements |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b3c15d5abe6b89763d2db7c0c6e519ee |
| User & Date: | rkeene on 2020-08-27 17:07:16.987 |
| Other Links: | manifest | tags |
Context
|
2021-01-26
| ||
| 22:14 | Increase delay and log initialization error check-in: 772747db6a user: rkeene tags: trunk | |
|
2020-08-27
| ||
| 17:07 | Power setting improvements check-in: b3c15d5abe user: rkeene tags: trunk | |
|
2020-05-17
| ||
| 21:15 | lt8900_spi v2.5 check-in: 42edc1a846 user: rkeene tags: 2.5, trunk | |
Changes
Modified lt8900_spi/__init__.py
from [f2420cc3ba]
to [d0dcbf6c9f].
| ︙ | |||
33 34 35 36 37 38 39 | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | - + + - + + + + + - + - - - - - - - - - - + |
class Radio:
_default_register_values = {
'format_config': {
'crc_enabled': 1,
'scramble_enabled': 0,
'packet_length_encoded': 1,
'auto_term_tx': 1,
|
| ︙ | |||
100 101 102 103 104 105 106 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | + - + + + |
{ # 7
'name': "radio_state",
'reserved_1': [9, 15],
'tx_enabled': [8, 8],
'rx_enabled': [7, 7],
'channel': [0, 6]
},
{ # 8
|
| ︙ | |||
672 673 674 675 676 677 678 | 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 | - - + |
def multi_transmit(self, message, channels, retries = 3, delay = 0.1, syncword = None, submit_queue = '__DEFAULT__', format_config = None):
if len(channels) == 0 or retries == 0:
self._error("Asked to send the message {} a total of zero times ({} channels, {} retries)".format(message, channels, retries))
# Wait at-least 350 microseconds between frames
min_delay = 350.0 / 1000000.0
|
| ︙ |