📄 chatprotocolconstants.h
字号:
/*
* ==============================================================================
* Name : ChatProtocolConstants.h
* Part of : Chat
* Interface :
* Description :
* Version :
*
* Copyright (c) 2005-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef CHATPROTOCOLCONSTANTS_H
#define CHATPROTOCOLCONSTANTS_H
// INCLUDES
#include <bt_sock.h>
const TInt KRfcommChannel = 1;
const TInt KServiceClass = 0x1101; // SerialPort
const TUid KUidChatApp = { 0x10005B8B };
_LIT( KStrRFCOMM, "RFCOMM" );
const TInt KListeningQueSize = 1;
const TInt KChatTextBufLength = 128;
const TInt KDefaultPortNumber = 5005;
const TInt KMaxServerNameLength = 256;
const TInt KMaxMarkLen = 2;
const TInt KChatTimeOut = 20000000; // 20 seconds time-out
#endif //CHATPROTOCOLCONSTANTS_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -