mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2026-04-26 00:05:55 +03:00
[GH-ISSUE #827] How do I add a another option in the display menu? #338
Labels
No labels
best of
bug
development
discussion
documentation
duplicate
feature request
help wanted
help wanted
improvement
pinned
pull-request
question
stale
translation
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/esp8266_deauther#338
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Booooozo on GitHub (Apr 26, 2018).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/827
I love your deauther program. But I also want to add a another option in the display menu like:
SCAN
SELECT
ATTACK
PACKET MONITOR
CLOCK
I want to add another option in the display main menu called "CLOCK" and when the CLOCK is chosen it should load the following code. I have been trying to edit your code to fit my needs for like 2 hours but no success. Any Ideas? Thanks!
PS. I am a newbie and started learning Arduino only a few days ago.
@tobozo commented on GitHub (Apr 26, 2018):
Hiding a deauther in a clock is a neat idea, we even saw one hidden in a sandal.
However, if you only started a few days ago maybe it's better to first merge your clock with a less complex project based on SDK 2.0.0.
This deauther project is using an old version of the ESP8266 SDK and you will get many conflicts when using code from projects based on other SDK versions such as this clock code.
Also the deauther is missing a few components to get what you need.
It doesn't have (yet?) a WiFi client to connect to a NTP server and it doesn't have a RTC module to keep track of time in an acurate fashion.
@spacehuhn commented on GitHub (Apr 26, 2018):
Yep was thinking of something that keeps track of the time but it would require a lot of efford for something that doesn't really matter for any of the deauthers functions. Unless you want to script something that is time based of course.
The display code is one big confusing class right now. It's not too complicated, you can add menu entries relatively easy, just look how other menu's are build int DisplayUI.cpp.
I want to rewrite it to make a library out of it, but that requires a lot of time that I can't afford right now.
@Booooozo commented on GitHub (Apr 27, 2018):
@spacehuhn I tried editing the DisplayUI.cpp like this:
@reaper7 commented on GitHub (Apr 30, 2018):
I use something similar to display the battery status,
this item is not editable, it means you can not enter it
and is displayed on empty bottom line (only in situations where the menu items is no more than 4, like the main menu).
dirty, unfinished code (at the end of void DisplayUI::drawMenu()):
@spacehuhn commented on GitHub (Oct 15, 2018):
I added a fake-clock to the menu now. Most dev boards don't have a RTC, so the clock just generates a random time on startup and can be adjusted using the buttons.
This should be sufficient enough as a disguise. 😃
@Ch4ist0 commented on GitHub (Jun 13, 2019):
Hello, is it possible to change in the menu ESP8266 Deauther 2.1.0 instead of "clock" battery level options?