Compare commits
No commits in common. "428605c762019dba3c05f5e33bad106220132c46" and "0a40daf4fad5c1593c6e1696ac0cab992c799e2e" have entirely different histories.
428605c762
...
0a40daf4fa
46
README.md
46
README.md
|
|
@ -1,46 +0,0 @@
|
|||
|
||||
# 🛰️ Orion RF (WIP)
|
||||
|
||||
**Orion RF** is a portable RF & wireless experimentation toolkit built for the ESP32 platform.
|
||||
|
||||
> ⚠️ This project is **work in progress** — many features are planned but not yet implemented.
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Current Features
|
||||
|
||||
* **BLE Scanning**
|
||||
|
||||
* Discover nearby Bluetooth Low Energy devices
|
||||
* Display device info (MAC, RSSI, etc.)
|
||||
|
||||
* **WiFi Scanning**
|
||||
|
||||
* Scan nearby access points
|
||||
* View SSID, signal strength, channel, encryption
|
||||
|
||||
* **WiFi Packet Analysis**
|
||||
|
||||
* Basic packet inspection and monitoring
|
||||
* Useful for learning wireless traffic behavior
|
||||
|
||||
* **BadUSB**
|
||||
|
||||
* HID-based payload execution
|
||||
* Emulate keyboard input for automation/testing
|
||||
|
||||
---
|
||||
|
||||
## 🧩 Project Status
|
||||
|
||||
| Feature | Status |
|
||||
| ----------------- | ---------- |
|
||||
| BLE Scan | ✅ Working |
|
||||
| WiFi Scan | ✅ Working |
|
||||
| Packet Analysis | ✅ Working |
|
||||
| BadUSB | ✅ Working |
|
||||
| SD Card | 🚧 WIP |
|
||||
| RF Capture/Replay | 🚧 WIP |
|
||||
| Emulator | 🚧 WIP |
|
||||
| NFC | 🚧 Planned |
|
||||
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
#include <Arduino.h>
|
||||
#include <BleMouse.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "buttons.h"
|
||||
#include "display.h"
|
||||
|
||||
// ===== BLE MOUSE =====
|
||||
BleMouse bleMouse("Orion-RF", "Orion-RF", 100);
|
||||
|
||||
// ===== MAIN =====
|
||||
void ble_mouse_run()
|
||||
{
|
||||
bleMouse.begin();
|
||||
|
||||
// simple screen
|
||||
u8g2.clearBuffer();
|
||||
u8g2.setFont(u8g2_font_6x10_tr);
|
||||
u8g2.drawStr(10, 25, "BLE Mouse");
|
||||
u8g2.drawStr(10, 45, "Connecting...");
|
||||
u8g2.sendBuffer();
|
||||
|
||||
delay(1000);
|
||||
|
||||
while (1)
|
||||
{
|
||||
if (btnBack()) break;
|
||||
|
||||
bool connected = bleMouse.isConnected();
|
||||
|
||||
int dx = 0;
|
||||
int dy = 0;
|
||||
|
||||
if (connected)
|
||||
{
|
||||
if (!digitalRead(BTN_UP)) dy = -8;
|
||||
if (!digitalRead(BTN_DOWN)) dy = 8;
|
||||
if (!digitalRead(BTN_LEFT)) dx = -8;
|
||||
if (!digitalRead(BTN_RIGHT)) dx = 8;
|
||||
|
||||
if (dx != 0 || dy != 0)
|
||||
bleMouse.move(dx, dy);
|
||||
|
||||
if (!digitalRead(BTN_SELECT))
|
||||
bleMouse.click(MOUSE_LEFT);
|
||||
|
||||
if (!digitalRead(BTN_BACK))
|
||||
bleMouse.click(MOUSE_RIGHT);
|
||||
}
|
||||
|
||||
// ===== UI =====
|
||||
u8g2.clearBuffer();
|
||||
u8g2.setFont(u8g2_font_6x10_tr);
|
||||
|
||||
u8g2.drawStr(10, 20, "BLE Mouse");
|
||||
|
||||
if (connected)
|
||||
u8g2.drawStr(10, 35, "Status: Connected");
|
||||
else
|
||||
u8g2.drawStr(10, 35, "Status: Waiting");
|
||||
|
||||
u8g2.drawStr(10, 55, "BACK = Exit");
|
||||
|
||||
u8g2.sendBuffer();
|
||||
|
||||
delay(30);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
void ble_mouse_run();
|
||||
|
|
@ -9,7 +9,6 @@
|
|||
#include "wifi_scan.h"
|
||||
#include "wifi_analyzer.h"
|
||||
#include "device_check.h"
|
||||
#include "blemouse.h"
|
||||
|
||||
// ================= FEATURE HANDLERS =================
|
||||
void runSystemInfoFeature();
|
||||
|
|
@ -30,8 +29,7 @@ const char *mainMenuItems[] = {
|
|||
"Wifi Analyzer",
|
||||
"System Info",
|
||||
"Device Check",
|
||||
"Restart",
|
||||
"Ble Mouse"
|
||||
"Restart"
|
||||
};
|
||||
|
||||
Menu mainMenu = {mainMenuItems, sizeof(mainMenuItems) / sizeof(mainMenuItems[0])};
|
||||
|
|
@ -186,9 +184,6 @@ void launchFeature()
|
|||
delay(1000);
|
||||
ESP.restart();
|
||||
break;
|
||||
case 9:
|
||||
ble_mouse_run();
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (currentMenu == &badusbMenu)
|
||||
|
|
|
|||
Loading…
Reference in New Issue