This commit is contained in:
parent
1b8c8a0047
commit
8156fc677c
|
@ -17,7 +17,7 @@ private:
|
|||
public:
|
||||
uint Token; // 令牌
|
||||
ByteArray ID; // 设备标识
|
||||
ByteArray Name; //登陆名称
|
||||
ByteArray Name; // 登录名称
|
||||
ByteArray Key; // 登录密码
|
||||
|
||||
int Status; // 状态。0准备、1握手完成、2登录后
|
||||
|
|
|
@ -76,7 +76,7 @@ void TokenConfig::Show()
|
|||
ep2.Show(true);
|
||||
debug_printf("\t服务: %s \r\n", Server);
|
||||
debug_printf("\t厂商: %s \r\n", Vendor);
|
||||
debug_printf("\t登陆: %s \r\n", Name);
|
||||
debug_printf("\t登录: %s \r\n", Name);
|
||||
debug_printf("\t密码: %s \r\n", Key);
|
||||
|
||||
|
||||
|
|
|
@ -327,7 +327,7 @@ bool TokenController::OnReceive(Message& msg)
|
|||
bool TokenController::Send(Message& msg)
|
||||
{
|
||||
TS("TokenController::Send");
|
||||
//未登陆,登陆注册,握手可通过
|
||||
// 未登录,登录注册,握手可通过
|
||||
//if(Token == 0&&!( msg.Code <= 0x2||msg.Code == 0x07)) return false;
|
||||
|
||||
if(msg.Reply)
|
||||
|
|
Loading…
Reference in New Issue