objectexchangeprotocolconstants.h

来自「symbian平台蓝牙程序,功能实现:搜索设备,指定时间间隔搜索,对指定的设备发」· C头文件 代码 · 共 25 行

H
25
字号
/* Copyright (c) 2002, Nokia Mobile Phones. All rights reserved */

#ifndef __CBTOBEX_SDP_PROTOCOL__
#define __CBTOBEX_SDP_PROTOCOL__

#include <e32def.h>
#include <bt_sock.h>

const TUid KUidBTObjectExchangeApp = {0x10005b8e};

// See entry for OBEX in table 4.3 "Protocols"
// at the url http://www.bluetooth.org/assigned-numbers/sdp.htm
const TUint KBtProtocolIdOBEX = 0x0008;

const TUint KRfcommChannel = 1;

// See entry for OBEXObjectPush in table 4.4 "Service Classes"
// at the url http://www.bluetooth.org/assigned-numbers/sdp.htm
const TUint KServiceClass = 0x1105; 

_LIT(KServiceName,"OBEX");
_LIT(KServiceDescription,"Object Push");
_LIT(KServerTransportName,"RFCOMM");

#endif //__CBTOBEX_SDP_PROTOCOL__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?