unique UUID per CSPOT player

This commit is contained in:
Philippe G
2021-12-27 14:49:12 -08:00
parent 51c178ca46
commit d7d47d1127
4 changed files with 14 additions and 3 deletions

View File

@@ -7,6 +7,9 @@
#include "Logger.h"
#include "ConfigJSON.h"
// provide weak deviceId (see ConstantParameters.h)
char deviceId[] __attribute__((weak)) = "162137fd329622137a14901634264e6f332e2422";
ZeroconfAuthenticator::ZeroconfAuthenticator(authCallback callback, std::shared_ptr<bell::BaseHTTPServer> httpServer) {
this->gotBlobCallback = callback;
srand((unsigned int)time(NULL));