This commit is contained in:
nnhy 2016-01-12 09:17:56 +00:00
parent 1b8c8a0047
commit 8156fc677c
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ private:
public:
uint Token; // 令牌
ByteArray ID; // 设备标识
ByteArray Name; //登陆名称
ByteArray Name; // 登录名称
ByteArray Key; // 登录密码
int Status; // 状态。0准备、1握手完成、2登录后

View File

@ -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);

View File

@ -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)