- renaming

This commit is contained in:
Dorian Zedler 2020-10-18 01:40:24 +02:00
parent 66e5229da0
commit 5170525e4b
Signed by: dorian
GPG key ID: D3B255CB8BC7CD37
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ protected:
private: private:
enum OmobiDisplayCommand enum OmobiDisplayCommand
{ {
AuthorizeSessionCommand = 0, AuthenticateCommand = 0,
KeepAliveCommand = 1, KeepAliveCommand = 1,
GetAllTextSetsCommand = 10, GetAllTextSetsCommand = 10,
GetTextSetParameterCommand = 11, GetTextSetParameterCommand = 11,

View file

@ -53,7 +53,7 @@ void OmobiLedDisplay::onDataReceived(String dataString)
else else
switch (requestHeader) switch (requestHeader)
{ {
case AuthorizeSessionCommand: case AuthenticateCommand:
{ {
String combinedCode = this->bleServer->getDeviceAddress() + String(this->properties.deviceCode); String combinedCode = this->bleServer->getDeviceAddress() + String(this->properties.deviceCode);
String secret = this->sha256(combinedCode); String secret = this->sha256(combinedCode);