FastLED 3.9.15
Loading...
Searching...
No Matches

◆ createTransport()

TransportState * fl::net::ble::createTransport ( const char * deviceName)

Create BLE GATT server, heap-allocate transport state.

Parameters
deviceNameBLE advertising name (e.g., "FastLED-C6")
Returns
Heap-allocated state pointer (caller owns, free with destroyTransport) Returns nullptr on platforms without BLE support.

Definition at line 21 of file ble.cpp.hpp.

21 {
22 FL_ERROR("BLE not implemented on this platform");
23 return nullptr;
24}
#define FL_ERROR(X)
Definition log.h:219

References FL_ERROR, and FL_NOEXCEPT.

Referenced by AutoResearchRemoteControl::startBleRemote().

+ Here is the caller graph for this function: