mirror of
https://github.com/Senape3000/EvilCrowRF-V2.git
synced 2026-03-30 13:45:39 +00:00
Add recursive directory creation and SD root handling: implement non-recursive mkdir walk in include/FileCommands.h and src/core/ble/BleAdapter.cpp, create base dir if needed, and support pathType 5 (SD root) for uploads. Ensure single-chunk upload handling always returns to avoid falling through to command handler. CC1101 radio fixes: use stored MHz[] instead of getFrequency() in setPA() and Calibrate() to avoid band-edge truncation; on jamming resume apply full OOK preset via setTxWithPreset(), re-calibrate, re-apply PA mapping and reset pin/fifo init flags to restore RF output. Bruter fixes: reset cached current_mhz in setupCC1101(), and ensure frequency changes write FREQ regs from IDLE then trigger PLL calibration (setSidle, setMHZ, SetTx, delay). Re-initialize CC1101 before each attack to guarantee TX configuration. Mobile app changes: remove createDirectory BLE helper, keep screen awake during cloning with wakelock_plus (enable/disable), bump app version to 1.0.2+15, and display temperature with 0 decimals in status bar. Also bump firmware patch to 1.0.3. These changes address failed mkdirs/uploads on SD/LittleFS, incorrect PA/band handling, PLL/calibration race conditions, and improve UX during cloning.