tweak sniff parameters for more speed and reliability. clear sniff data on stop or exit. replace preamble GUI option with sample time option

This commit is contained in:
mothball187
2022-08-27 19:47:10 -07:00
parent c714a32ea5
commit 79c4b617c1
2 changed files with 80 additions and 64 deletions
+1 -2
View File
@@ -350,12 +350,11 @@ void nrf24_init_promisc_mode(FuriHalSpiBusHandle* handle, uint8_t channel, uint8
nrf24_flush_tx(handle);
nrf24_write_reg(handle, REG_RF_CH, channel);
nrf24_write_reg(handle, REG_RF_SETUP, rate);
furi_delay_ms(200);
// prime for RX, no checksum
nrf24_write_reg(handle, REG_CONFIG, 0x03); // PWR_UP and PRIM_RX, disable AA and CRC
furi_hal_gpio_write(nrf24_CE_PIN, true);
furi_delay_ms(2000);
furi_delay_ms(100);
}
void hexlify(uint8_t* in, uint8_t size, char* out) {