Skip to content

Ble suite v4 - #2823

Open
Ninja-jr wants to merge 18 commits into
BruceDevices:devfrom
Ninja-jr:Ble_suite_v4
Open

Ble suite v4#2823
Ninja-jr wants to merge 18 commits into
BruceDevices:devfrom
Ninja-jr:Ble_suite_v4

Conversation

@Ninja-jr

Copy link
Copy Markdown
Contributor

Complete overhaul of BLE Suite with 10+ new features, improved reliability, and NimBLE compatibility awareness.


Key Changes

New Features

· Device Scoring System - RSSI + stability-based attack potential (0-100)
· Connection Caching - 60-80% faster reconnections with stored params
· Graduated Connection Strategy - 5-phase: Probe → Fast → Aggressive → Exploit → Reconnect
· Robust GATT Client - Retry logic with exponential backoff
· Attack Orchestrator - Chain attacks with rollback capability
· BLE Mirage - Device cloning/spoofing (single instance - NimBLE limitation)
· Attack Scheduler - Optimal timing analysis based on device patterns
· Device Fingerprinting - Personality profiles (response times, MTU, capabilities)
· Attack Logging - JSON export to SD/LittleFS

Enhanced Modules

· HFPExploitEngine - Full AT command support, NimBLE-optimized (SCO disabled)
· FastPairCrypto - Proper HKDF, AES-CCM, key derivation
· UI - Clean theme integration with bleListLoop and proper text wrapping

NimBLE Compatibility

· Clear flags for unsupported features (SCO, audio routing, LE Audio)
· Graceful fallbacks where possible
· Polling-based event monitoring (no async notifications)


Breaking Changes

· None - fully backward compatible
· HFP audio/SCO functions now return false with warning (NimBLE limitation)


Testing

☐ Device scoring works with multiple targets
☐ Connection caching speeds up reconnects
☐ Graduated connection handles edge cases
☐ HFP AT commands work over GATT
☐ FastPair handshake completes
☐ Attack orchestration executes chain
☐ Attack logs export to JSON
☐ UI renders properly on small screens

@Huzzla101

Huzzla101 commented Aug 24, 2026 via email

Copy link
Copy Markdown

@Ninja-jr

Copy link
Copy Markdown
Contributor Author

Thanks...well I just try to do my best to enhance what I know

Ninja-jr pushed a commit to Ninja-jr/Bruce_firmware that referenced this pull request Aug 25, 2026
@Ninja-jr

Copy link
Copy Markdown
Contributor Author

Well tested now and ready to mzrge

Removed legacy UI helper functions and comments from BLE_Suite.cpp to streamline the codebase. Updated the file selection and menu handling logic for improved clarity and performance.
Ninja-jr pushed a commit to Ninja-jr/Bruce_firmware that referenced this pull request Aug 30, 2026
Ninja-jr pushed a commit to Ninja-jr/Bruce_firmware that referenced this pull request Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants