■ ■ ■ ■ ■ ■
flipperzero-bruteforce.py
| skipped 129 lines |
130 | 130 | | |
131 | 131 | | protocols = [ |
132 | 132 | | Protocol( |
133 | | - | "Linear-10bit", |
134 | | - | 10, |
135 | | - | {"0": "500 -1500 ", "1": "1500 -500 "}, |
| 133 | + | name="Linear-10bit-433", |
| 134 | + | n_bits=10, |
| 135 | + | transposition_table={"0": "500 -1500 ", "1": "1500 -500 "}, |
136 | 136 | | stop_bit="1 -21500 ", |
137 | 137 | | frequency=300000000, |
138 | 138 | | repetition=5, |
139 | 139 | | ), |
140 | | - | Protocol("CAME-12bit", 12, {"0": "-250 500 ", "1": "-500 250 "}, "-9000 250 "), |
141 | | - | Protocol("NICE-12bit", 12, {"0": "-700 1400 ", "1": "-1400 700 "}, "-25200 700 "), |
142 | | - | Protocol("PT-2240", 24, {"0": "450 -1350 ", "1": "1350 -450 "}, "450 -13950 "), |
| 140 | + | Protocol( |
| 141 | + | name="CAME-12bit-433", |
| 142 | + | n_bits=12, |
| 143 | + | transposition_table={"0": "-250 500 ", "1": "-500 250 "}, |
| 144 | + | pilot_period="-9000 250 ", |
| 145 | + | ), |
| 146 | + | Protocol( |
| 147 | + | name="NICE-12bit-433", |
| 148 | + | n_bits=12, |
| 149 | + | transposition_table={"0": "-700 1400 ", "1": "-1400 700 "}, |
| 150 | + | pilot_period="-25200 700 ", |
| 151 | + | ), |
| 152 | + | Protocol( |
| 153 | + | name="PT-2240-433", |
| 154 | + | n_bits=24, |
| 155 | + | transposition_table={"0": "450 -1350 ", "1": "1350 -450 "}, |
| 156 | + | pilot_period="450 -13950 ", |
| 157 | + | ), |
143 | 158 | | ] |
144 | 159 | | |
145 | 160 | | for p in protocols: |
| skipped 3 lines |