FastLED 3.10.8
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(...)
Definition log.h:373

References FL_ERROR, and fl::FL_NO_EXCEPT.