diff --git a/vscode/OmobiLEDdisplayBluetooth/include/OmobiLedDisplay.h b/vscode/OmobiLEDdisplayBluetooth/include/OmobiLedDisplay.h index 8ad72e3..fafbd58 100644 --- a/vscode/OmobiLEDdisplayBluetooth/include/OmobiLedDisplay.h +++ b/vscode/OmobiLEDdisplayBluetooth/include/OmobiLedDisplay.h @@ -50,7 +50,7 @@ protected: private: enum OmobiDisplayCommand { - AuthorizeSessionCommand = 0, + AuthenticateCommand = 0, KeepAliveCommand = 1, GetAllTextSetsCommand = 10, GetTextSetParameterCommand = 11, diff --git a/vscode/OmobiLEDdisplayBluetooth/src/OmobiLedDisplay.cpp b/vscode/OmobiLEDdisplayBluetooth/src/OmobiLedDisplay.cpp index 57acb28..b479497 100644 --- a/vscode/OmobiLEDdisplayBluetooth/src/OmobiLedDisplay.cpp +++ b/vscode/OmobiLEDdisplayBluetooth/src/OmobiLedDisplay.cpp @@ -53,7 +53,7 @@ void OmobiLedDisplay::onDataReceived(String dataString) else switch (requestHeader) { - case AuthorizeSessionCommand: + case AuthenticateCommand: { String combinedCode = this->bleServer->getDeviceAddress() + String(this->properties.deviceCode); String secret = this->sha256(combinedCode);