Commit Graph

112 Commits

Author SHA1 Message Date
d4874a18e1 utils.py update
- Add WifiInfo.FREQUENCY to extract_from_pcap()
- Move the "Invalid field" to the the "else" as a default

Signed-off-by: Frédéric <fmatray@users.noreply.github.com>
2025-02-09 01:32:59 +01:00
7b7bbc4aad Remove blink function, we don't use the led blink function anymore. 2024-12-12 09:48:48 +01:00
13bedbc834 adding 3 new displays
gamepi15
gamepi20
spotpear154lcd
2024-11-25 19:56:16 -05:00
131bfc4c1c Display drivers for pwnagotchi
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
Display support for the following screens:
- [Pimoroni GFX Hat](https://shop.pimoroni.com/products/gfx-hat?variant=12828343631955):
ui.display.type = "gfxhat"
Contrast and Backlight color can be imported from config.toml:
ui.display.contrast = 40
ui.display.blcolor = "olive"
Available backlight colors:
white, grey, maroon, red, purple, fuchsia, green,
lime, olive, yellow, navy, blue, teal, aqua
- [Adafruit miniPiTFT](https://www.adafruit.com/product/4484):
ui.display.type = "minipitft"
- [Adafruit miniPiTFT2](https://www.adafruit.com/product/4393):
ui.display.type = "minipitft2"
- [ArgonPod](https://argon40.com/products/pod-display-2-8inch):
ui.display.type = "argonpod"
- [DisplayHatMini](https://shop.pimoroni.com/products/display-hat-mini?variant=39496084717651):
Driver updated to fix issues
- I2C Oled:
Default I2C address changed to 0x3C, because most boards are coming with it by default.
Can be modified in config
ui.display.type = "i2coled"
ui.display.i2c_addr = 0x3C
ui.display.width = 128
ui.display.height = 64

## Motivation and Context
Future plan for LCD and OLED screens:
Change from the pwnagotchis hw libraries for drivers to LumaOLED LumaLCD packages.
Luma Core: https://github.com/rm-hull/luma.core
Luma LCD: https://github.com/rm-hull/luma.lcd
Luma OLED: https://github.com/rm-hull/luma.oled
It has the most used LCD and OLED drivers ready, and adding new screens could be easier in the future.

## How Has This Been Tested?
Except the argonpod and minipitft2 all screens were tested on previous builds,
should work in 2.9.2, but before release I would like to test it with an image.

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I've read the [CONTRIBUTION](https://github.com/evilsocket/pwnagotchi/blob/master/CONTRIBUTING.md) guide
- [x] I have signed-off my commits with `git commit -s`
2024-11-25 17:37:21 +01:00
5295692da9 Added display inky phat v2
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-06-15 19:58:54 +02:00
b03f6f747b Generic I2C Oled support , waveshare oled/lcd vertical layout
work in progress for the triple screen project
2024-03-31 23:55:15 +02:00
9287283ee7 Added 11 waveshare lcd displays
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-25 22:53:07 +01:00
2f5ddb492a Small typo's
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-24 12:58:07 +01:00
afb1d11cd8 Added Adafruit 2in13_V3 display
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-23 09:24:52 +01:00
c4c4d6c417 in case you use an unsupported display it will default to dummy display, displaying nothing
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-22 19:09:27 +01:00
697cc5d88b Add DummyDisplay
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-22 08:37:56 +01:00
51625e61f9 Multiple changes
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-20 22:25:36 +01:00
d4adaabcbd Merge pull request #93
Screen support
2024-03-13 23:03:44 +01:00
4b4646d604 Added 2 waveshare diplays:
5.79 inch
5.79b inch

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-13 21:49:00 +01:00
3fae6ec312 Screen support
Screen support for the following displays:
Adafruit pitft (2,4" and 2,8" tested)
Adafruit tft bonnet
Pimoroni pirate audio
Waveshare OLED/LCD hat
2024-03-13 16:31:49 +01:00
09a82aa0b4 revert pcapng
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-13 07:59:37 +01:00
6987840da2 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	Makefile
#	pwnagotchi/plugins/default/hashie.py
2024-03-07 21:37:27 +01:00
aeada2ee6e Fix waveshare2in7_V2.py
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-05 21:48:16 +01:00
e531288369 Added WeAct 2.9 inch display
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-03-05 19:54:33 +01:00
9125e43b20 Add display type variants, no new displays 2024-03-01 10:08:03 +01:00
55c6007d32 Update everyting!
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-02-25 11:10:59 +01:00
faa48b2752 Change repo's
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-02-25 10:42:47 +01:00
ca4feb895e Revert "Revert "Testing pcapng fileformat""
This reverts commit 0e274af5a0.
2024-02-08 22:51:57 +01:00
0e274af5a0 Revert "Testing pcapng fileformat"
This reverts commit 7040be2d30.
2024-02-08 20:06:33 +01:00
418dbf21e3 Added DummyDisplay for arbitrary screen size when headless 2024-02-07 15:16:26 -08:00
dffcbbf447 Revert "Revert "Testing pcapng fileformat""
This reverts commit d142840307.
2024-02-05 17:16:13 +01:00
d142840307 Revert "Testing pcapng fileformat"
This reverts commit 7040be2d30.
2024-02-04 17:42:56 +01:00
7040be2d30 Testing pcapng fileformat 2024-01-28 22:12:05 +01:00
1424e0d510 Added display waveshare2in66b 2024-01-19 08:43:00 +01:00
2c9eaa436a Added display waveshare2in13g 2024-01-19 08:34:41 +01:00
0c5c6058a5 Added display waveshare2in13g 2024-01-19 07:28:31 +01:00
c27cc0ac24 Added 38 waveshare displays or so
Layouts may not be correct, but I have no way of testing that.
2024-01-15 22:46:18 +01:00
18217119fc Version 2.6.9 2024-01-14 09:41:39 +01:00
b03b3119c7 Version 2.6.8 2024-01-13 19:03:25 +01:00
Rai
72e22475e3 Update utils.py
fix indent

Signed-off-by: Rai <58925163+rai68@users.noreply.github.com>
2024-01-11 22:18:57 +10:00
881e0ee146 Merging config.toml from /boot/{firmware} so only small changes apply. 2024-01-10 20:47:59 +01:00
a7f42adde0 Merging config.toml from /boot/{firmware} so only small changes apply. 2024-01-10 20:43:48 +01:00
f0f9f8b964 /boot is now mounted in /boot/firmware on Bookworm 2024-01-10 20:11:42 +01:00
88668fb4f8 Update wifi 2024-01-05 22:00:28 +01:00
9c0c5f4148 Update wifi 2024-01-05 21:57:38 +01:00
1d9ba3a7cf Update wifi 2024-01-05 21:53:59 +01:00
28e2ce9ff7 Update wifi channels 2024-01-05 21:28:28 +01:00
017ffd3792 Update utils.py 2024-01-05 20:48:42 +01:00
43519ade41 Added waveshare v4
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-11-28 15:33:23 +01:00
a80764e364 Add waveshare27inchv2
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-11-27 10:52:04 +01:00
8578fcbe45 v2.4.9
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-10-17 21:55:02 +02:00
ddf64cb0b3 multiple edits
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-09-21 12:13:41 +02:00
fae58c8f24 Version 2.3.4
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-09-08 20:37:27 +02:00
db38758840 feat: Add in support for Waveshare 2.13inb V4 e-ink display
Signed-off-by: Rocco Augusto <rocco@nerdofsteel.com>

(cherry picked from commit 28c0adbb08ca5fcc6c36dc11d00f666eaecdc4cb)
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-09-08 20:36:56 +02:00
9214f3fd85 Revert "feat: Add in support for Waveshare 2.13inb V4 e-ink display"
This reverts commit 52305fa0a6.
2023-09-08 20:36:28 +02:00