AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Reverse-engineered BLE controller software for Shell/QCAR promotional RC toy cars
Translation pending
AI summary · revised during review
Developer toolsTypeScript · PythonGitHub @IgnacioPardoOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
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:Read the full 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.