7h30th3r0n3 / Evil-M5Core2

Evil-M5Project is an innovative tool developed for ethical testing and exploration of WiFi networks. It's compatible with Cardputer, Atoms3, Fire, core2. You can scan, monitor, and interact with WiFi networks in a controlled environment. This project is designed for educational purposes, aiding in understanding network security and vulnerabilities.
https://7h30th3r0n3.fr/
528 stars 51 forks source link

Add Platformio support and fix DNS error #11

Closed vassalo closed 9 months ago

vassalo commented 9 months ago

Add a basic Platformio configuration and fix a DNS error when server is not available yet.

When building with Platformio, I was getting the following error message in serial monitor: [E][WiFiUdp.cpp:221] parsePacket(): could not receive data: 9 So I fixed it, because I don't want to add a Platformio support with annoying error messages :p When building with ArduinoIDE the error does not show up, I'm not sure why.

PS: even with this Platformio config, you can still use ArduinoIDE, but the file name needs to be the same as the folder that contains the .ino file (and I believe this is the best practice). ^^

vassalo commented 9 months ago

Closing this PR because Platformio support is already part of the "roadmap" and apparently my "DNS fix" breaks the handling of serial commands.