Bruce BETA on Cardputer ADV rebooting after trying to record wifi raw sniffer
Describe the bug:
Bruce beta on cardputer rebooting after trying to record wifi raw sniffer, it shows sniffing started and reboots.
Steps To Reproduce: Select WiFi, select sniffers, select raw sniffer
- Device used: Cardputer Adv
Expected behavior: It should start raw sniffer
Actual behavior: It shows sniffing started and reboots
I tried with and without sdcard and without sdcard it runs. I have a sdhc 4g sdcard and tried to format to fat32 using rufus and windows but didnt help, it reboots.
It was failing at this point
https://github.com/BruceDevices/firmware/blob/761433e5ee79fc4964d977f633dae28eab7e6d66/src/modules/wifi/sniffer.cpp#L918
This error check uses Assert and reboots the device, and it was failing to start Wifi due to lack of Stack (RAM) to start the Wifi callbacks.
I ajusted the stack size of the main tasks that run on Bruce, same as I did on CYD and StickCPlus 1.1, due to the lack of PSRAM.
It is now fixed on Beta (it is building and will be available in about 30 minutes)