27#if defined(FL_IS_ESP32) && defined(FL_IS_IDF_5_OR_HIGHER) \
28 && FL_HAS_INCLUDE(<nimble/nimble_port.h>)
29#define FL_BLE_AVAILABLE 1
31#define FL_BLE_AVAILABLE 0
39#define FL_BLE_SERVICE_UUID "12345678-1234-1234-1234-123456789abc"
40#define FL_BLE_CHAR_RX_UUID "12345678-1234-1234-1234-123456789ab0"
41#define FL_BLE_CHAR_TX_UUID "12345678-1234-1234-1234-123456789ab1"
49#define FL_BLE_SERVICE_UUID_INIT \
50 0xbc, 0x9a, 0x78, 0x56, 0x34, 0x12, 0x34, 0x12, \
51 0x34, 0x12, 0x34, 0x12, 0x78, 0x56, 0x34, 0x12
53#define FL_BLE_CHAR_RX_UUID_INIT \
54 0xb0, 0x9a, 0x78, 0x56, 0x34, 0x12, 0x34, 0x12, \
55 0x34, 0x12, 0x34, 0x12, 0x78, 0x56, 0x34, 0x12
57#define FL_BLE_CHAR_TX_UUID_INIT \
58 0xb1, 0x9a, 0x78, 0x56, 0x34, 0x12, 0x34, 0x12, \
59 0x34, 0x12, 0x34, 0x12, 0x78, 0x56, 0x34, 0x12
FastLED's Elegant JSON Library: fl::json
TransportState * createTransport(const char *) FL_NOEXCEPT
Create BLE GATT server, heap-allocate transport state.
StatusInfo queryStatus(const TransportState *) FL_NOEXCEPT
Query BLE connection/subscription diagnostics.
void destroyTransport(TransportState *) FL_NOEXCEPT
Deinitialize BLE stack and free heap state.
fl::pair< fl::function< fl::optional< fl::json >()>, fl::function< void(const fl::json &)> > getTransportCallbacks(TransportState *) FL_NOEXCEPT
Get RequestSource and ResponseSink lambdas for fl::Remote.
Platform-neutral BLE diagnostics (returned by queryStatus)
Base definition for an LED controller.