- renaming
This commit is contained in:
parent
66e5229da0
commit
5170525e4b
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue