AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
Reverse‑engineered controllers for Bluetooth Low Energy (BLE) toy cars — most
notably the Shell / QCAR promotional RC cars (BMW M Hybrid V8 and Ferrari
F1‑75 models) built on the Brandbase BLE platform, with partial support for
Bburago BLE cars.
The project ships three independent ways to drive the same car, all speaking
the car's native BLE protocol:
The car exposes a BLE GATT service. Depending on the model, commands are sent
one of two ways:查看完整 README ↗Reverse‑engineered controllers for Bluetooth Low Energy (BLE) toy cars — most notably the Shell / QCAR promotional RC cars (BMW M Hybrid V8 and Ferrari F1‑75 models) built on the Brandbase BLE platform, with partial support for Bburago BLE cars.
The project ships three independent ways to drive the same car, all speaking the car's native BLE protocol:
| Implementation | Location | Runs on | Best for |
|---|---|---|---|
| ESP32 firmware | shellcar.ino | An ESP32 dev board with physical buttons | A standalone hardware remote |
| Python backend | backend/ | A computer with a BLE adapter (Bleak) | Keyboard / gamepad control, scripted routines, a local HTTP API |
| Web app (PWA) | gui/ + shellcar.html | A Web Bluetooth–capable browser | Phone / desktop control with no install |
The car exposes a BLE GATT service. Depending on the model, commands are sent one of two ways:
shellcar.html build a 16‑byte command
frame in the browser and encrypt it on the fly with
CryptoJS using the key
34522a5b7a6e492c08090a9d8d2a23f8.backend/commands.py.Key BLE identifiers (see backend/uuids.py):
| Purpose | UUID |
|---|---|
| Control service | 0000fff0-0000-1000-8000-00805f9b34fb |
| Brandbase control characteristic | d44bc439-abfd-45a2-b575-925416129600 |
| Battery characteristic | d44bc439-abfd-45a2-b575-925416129601 |
| Bburago control characteristic | 0000fff1-0000-1000-8000-00805f9b34fb |
The web app discovers cars by the BLE name prefix QCAR-.
Note: The AES key and command frames in this repository were obtained by reverse engineering the stock car firmware, for interoperability and hobby use. There is no affiliation with Shell, BMW, Ferrari, Brandbase, or Bburago.
shellcar.inoAn Arduino sketch that turns an ESP32 into a physical BLE remote. It scans for the car, connects, and continuously streams the command matching the currently pressed buttons.
Wiring (default pins, configurable at the top of the sketch):
| Function | GPIO |
|---|---|
| Forward | 4 |
| Backward | 5 |
| Right | 14 |
| Left | 27 |
| Turbo (toggle) | 26 |
| Turbo LED | 25 |
Holding the turbo button at boot switches the firmware into Bburago mode.
Build & flash
shellcar.ino, select your ESP32 board, and upload.115200 baud to watch the connection log.backend/BLE control from a computer using Bleak, with keyboard and gamepad input, scripted routines, and a Flask HTTP API.
| File | Description |
|---|---|
shellcar.py | ShellCar class — BLE scan / connect / send command / run routine |
commands.py | Pre‑captured encrypted Brandbase command frames |
uuids.py | BLE service and characteristic UUIDs |
routines.py | CarCommand model, command builders, and an example routine |
controller.py | Keyboard (WASD + T) and Pygame gamepad listeners |
shellcar_ps4.py | Standalone PS4 / gamepad driver |
shell_app.py | Tkinter desktop app wiring the car, controller, and a GUI together |
server.py | Flask HTTP API (/connect, /send_command, /battery_level, …) |
gui.py | Tkinter status GUI |
requirements.txt | Python dependencies |
cd backend
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt flask-cors
Dependencies: flask, bleak, keyboard, pygame (plus flask-cors for the
server). BLE and global keyboard hooks may require elevated privileges on some
platforms.
# Desktop app (Tkinter GUI + keyboard/gamepad listeners)
python3 shell_app.py
# HTTP API server on http://localhost:5000
python3 server.py
# Gamepad-only driver
python3 shellcar_ps4.py
Keyboard controls: W forward · S backward · A left · D right ·
T turbo.
server.py)| Method | Route | Description |
|---|---|---|
POST | /connect | Scan and connect to the car |
POST | /send_command | Run a routine: {"commands": [{"forward":true,"backward":false,"left":false,"right":false,"turbo":true}, …]} |
GET | /battery_level | Last reported battery level |
POST | /start_listeners | Start the gamepad listener |
CORS is open (*) so the web app can call it directly.
gui/ and shellcar.htmlTwo browser-based clients that talk to the car directly over Web Bluetooth (no backend required). They run entirely in the browser and encrypt commands client‑side.
Web Bluetooth requires a supported browser (Chrome / Edge / Chrome Android) served over
https://orlocalhost.
shellcar.html — single-file prototypeA zero‑build, standalone HTML page. Open it in a supported browser, click Connect to device, and drive with the arrow keys. Includes turbo, lights, and live battery readout. Good for a quick test with nothing installed.
gui/ — Next.js PWAA polished T3 / Next.js progressive web app with:
Shift turbo) and Gamepad API controllocalStorage)Develop
cd gui
npm install
npm run dev # http://localhost:3000
Other scripts
npm run build # production build
npm run start # serve the production build
npm run check # lint + typecheck
npm run electron-dev # run inside Electron (desktop)
shell_car/
├── shellcar.ino # ESP32 Arduino firmware
├── shellcar.html # Standalone Web Bluetooth prototype
├── backend/ # Python (Bleak) control, routines, and Flask API
└── gui/ # Next.js PWA + Electron web app
QCAR- name prefix.This is an unofficial, community reverse‑engineering project for interoperability and hobby use. It is not affiliated with or endorsed by Shell, BMW, Ferrari, Brandbase, or Bburago. Use at your own risk.