Initial commit — Dantir surveillance counter-watcher
Standalone ESP32-S3 firmware forked from OUI Spy Unified Blue (Flock-You mode). Expanded BLE detection with Ring/Amazon patterns, WiFi OUI table ready for promiscuous mode in Phase 2. - Rebranded: AP "dantir"/"dantir123", dashboard, logs, exports - BLE: 20 Flock Safety OUIs, 5 name patterns, 2 mfr IDs (XUNTONG + Amazon), 8 Raven UUIDs - WiFi: 13 Ring/Blink OUI prefixes defined (promiscuous callback pending) - MIT license with lukeswitz/oui-spy attribution Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
d47dd1f435
5 changed files with 1356 additions and 0 deletions
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
.pio
|
||||
.vscode
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
.DS_Store
|
||||
22
LICENSE
Normal file
22
LICENSE
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2026 rpriven
|
||||
Based on OUI Spy by lukeswitz (https://github.com/lukeswitz/oui-spy)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
5
partitions.csv
Normal file
5
partitions.csv
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Name, Type, SubType, Offset, Size, Flags
|
||||
nvs, data, nvs, 0x9000, 0x5000,
|
||||
otadata, data, ota, 0xe000, 0x2000,
|
||||
app0, app, ota_0, 0x10000, 0x600000,
|
||||
spiffs, data, spiffs, 0x610000, 0x1F0000,
|
||||
|
41
platformio.ini
Normal file
41
platformio.ini
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
; ============================================================================
|
||||
; Dantir — Surveillance Counter-Watcher
|
||||
; "Go flock yourself."
|
||||
; Board: Seeed XIAO ESP32-S3 (N8R8)
|
||||
; ============================================================================
|
||||
|
||||
[env:seeed_xiao_esp32s3]
|
||||
platform = espressif32@^6.3.0
|
||||
board = seeed_xiao_esp32s3
|
||||
framework = arduino
|
||||
|
||||
; Build options
|
||||
build_flags =
|
||||
-DCORE_DEBUG_LEVEL=3
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DBOARD_HAS_PSRAM
|
||||
-mfix-esp32-psram-cache-issue
|
||||
-DCONFIG_BT_NIMBLE_ENABLED=1
|
||||
|
||||
; Upload options
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
; Libraries
|
||||
lib_deps =
|
||||
h2zero/NimBLE-Arduino@^1.4.0
|
||||
mathieucarbou/ESP Async WebServer@^3.0.6
|
||||
adafruit/Adafruit NeoPixel@^1.12.0
|
||||
bblanchon/ArduinoJson@^7.0.4
|
||||
mikalhart/TinyGPSPlus@^1.1.0
|
||||
|
||||
; Board configuration
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
board_build.partitions = partitions.csv
|
||||
board_build.filesystem = littlefs
|
||||
|
||||
; USB CDC configuration
|
||||
board_build.f_cpu = 240000000L
|
||||
board_build.f_flash = 80000000L
|
||||
board_build.flash_mode = qio
|
||||
1282
src/main.cpp
Normal file
1282
src/main.cpp
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue