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