FastLED 3.9.15
Loading...
Searching...
No Matches
AutoResearchBle.h
Go to the documentation of this file.
1// examples/AutoResearch/AutoResearchBle.h
2//
3// BLE autoresearch for ESP32: GATT server for JSON-RPC over BLE.
4// Used by `bash autoresearch --ble`.
5//
6// The ESP32 starts a BLE GATT server with a custom service.
7// The host Python script connects via Bleak and tests
8// bidirectional JSON-RPC communication (ping/pong).
9//
10// NOTE: BLE transport creation/destruction is handled by
11// AutoResearchRemoteControl::startBleRemote()/stopBleRemote().
12// This file provides state accessors only.
13
14#pragma once
15
16#include "fl/stl/stdint.h"
17
18// BLE configuration constants
19#define AUTORESEARCH_BLE_DEVICE_NAME "FastLED-C6"
20
23 bool ble_server_active = false;
24};
25
AutoResearchBleState & getBleState()
Get current BLE autoresearch state.
State for BLE autoresearch.