网关地址也要设置为0
This commit is contained in:
parent
2b0cf180bd
commit
f10bc14b98
|
@ -405,7 +405,7 @@ void GetDeviceKey(byte id, Array& key, void* param)
|
||||||
{
|
{
|
||||||
TS("TinyClient::GetDeviceKey");
|
TS("TinyClient::GetDeviceKey");
|
||||||
//debug_printf("微网客户端获取密钥");
|
//debug_printf("微网客户端获取密钥");
|
||||||
|
return;
|
||||||
auto client = (TinyClient*)param;
|
auto client = (TinyClient*)param;
|
||||||
if(Sys.Version < 0xFFFF) return;
|
if(Sys.Version < 0xFFFF) return;
|
||||||
|
|
||||||
|
@ -574,6 +574,8 @@ void TinyClient::Ping()
|
||||||
auto tc = TinyConfig::Current;
|
auto tc = TinyConfig::Current;
|
||||||
memset(tc->Mac, 0, 5);
|
memset(tc->Mac, 0, 5);
|
||||||
tc->Save();
|
tc->Save();
|
||||||
|
Server = 0;
|
||||||
|
|
||||||
|
|
||||||
Sys.Reset();
|
Sys.Reset();
|
||||||
//Server = 0;
|
//Server = 0;
|
||||||
|
|
Loading…
Reference in New Issue