#ifndef OMOBI_LED_DISPLAY #define OMOBI_LED_DISPLAY #include #include #include "BluetoothLeUartServer.h" #include "LedDisplayController.h" class OmobiLedDisplay : protected BluetoothLeUartServerCallbacks { public: explicit OmobiLedDisplay(String deviceName, const byte ledPin); // befriend for callbacks friend class BluetoothLeUartServer; protected: // calbacks for BluetoothLeUartServerCallbacks void onDeviceConnectedChanged(bool deviceConnected) override; void onDataReceived(String data) override; private: LedDisplayController* ledDisplayController; BluetoothLeUartServer * bleServer; }; #endif // OMOBI_LED_DISPLAY