📄 network_protocolbluetoothpaninstanceobject.h
字号:
/*
Copyright (c) 2008, Intel Corporation.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
*/#ifndef _NETWORK_PROTOCOLBLUETOOTHPANINSTANCEOBJECT_H#define _NETWORK_PROTOCOLBLUETOOTHPANINSTANCEOBJECT_H#include "../framework/base_InstanceObject.h"#include "../framework/base_Property.h"#include "network_LinkProtocolInstanceObject.h"class ServerProtocolBluetoothPanInstanceObject;CLASSARRAYEXPANSION (BluetoothAddressClass, IntelMobileByte, "BluetoothAddress", false, true, 5000 );CLASSEXPANSION_DYNAMICSET (AuthenticationRequiredClass, IntelMobileBool, "AuthenticationRequired", true, false, 5000 );CLASSEXPANSION_DYNAMICSET (ConnectableClass, IntelMobileBool, "Connectable", true, false, 5000 );//CLASSEXPANSION (ConnectionStateClass, IntelMobileConnectionStateEnum, "ConnectionState", false, false, 5000 );CLASSEXPANSION_DYNAMICSET (ConnectionScanIntervalClass, IntelMobileUInt, "ConnectionScanInterval", true, false, 5000 );CLASSEXPANSION_DYNAMICSET (ConnectionScanWindowClass, IntelMobileUInt, "ConnectionScanWindow", true, false, 5000 );CLASSEXPANSION_DYNAMICSET (ConnectionTimeOutClass, IntelMobileUInt, "ConnectionTimeOut", true, false, 5000 );CLASSEXPANSION_DYNAMICSET (ConnectionAcceptTimeOutClass, IntelMobileUInt, "ConnectionAcceptTimeOut", true, false, 5000 );CLASSEXPANSION_DYNAMICSET (DiscoverableClass, IntelMobileBool, "Discoverable", true, false, 5000 );CLASSEXPANSION_DYNAMICSET (DiscoveryScanIntervalClass, IntelMobileUInt, "DiscoveryScanInterval", true, false, 5000 );CLASSEXPANSION_DYNAMICSET (DiscoveryScanWindowClass, IntelMobileUInt, "DiscoveryScanWindow", true, false, 5000 );CLASSEXPANSION_DYNAMICSET (EncryptionRequiredClass, IntelMobileBool, "EncryptionRequired", true, false, 5000 );CLASSEXPANSION (HciVersionClass, IntelMobileHciVersionEnum, "HciVersion", false, true, 5000 );CLASSEXPANSION (HciRevisionClass, IntelMobileUInt, "HciRevision", false, true, 5000 );CLASSEXPANSION (LmpVersionClass, IntelMobileLmpVersionEnum, "LmpVersion", false, true, 5000 );CLASSEXPANSION (LmpSubVersionClass, IntelMobileUInt, "LmpSubVersion", false, true, 5000 );CLASSEXPANSION_DYNAMICSET (LocalNameClass, IntelMobileString, "LocalName", true, false, 5000 );CLASSEXPANSION (MajorDeviceClassClass, IntelMobileMajorDeviceClassEnum, "MajorDeviceClass", false, false, 5000 );CLASSEXPANSION (ManufacturerIdClass, IntelMobileUInt, "ManufacturerId", false, true, 5000 );//CLASSEXPANSION (ManufacturerClass, IntelMobileString, "Manufacturer", false, true, 5000 );CLASSEXPANSION (IacCountClass, IntelMobileUInt, "IacCount", false, false, 5000 );//CLASSEXPANSION_DYNAMICSET (RadioStateClass, IntelMobileRadioStateEnum, "RadioState", true, false, 5000 );CLASSARRAYEXPANSION (ServiceClassesClass, IntelMobileServiceClassEnum, "ServiceClasses", false, false, 5000 );class ServerProtocolBluetoothPanInstanceObject : public ServerLinkProtocolInstanceObject{public: ServerProtocolBluetoothPanInstanceObject( const IntelMobileString& szKey, CLog& theLog/*, const IntelMobileString sType = IntelMobileText("ProtocolBluetoothPan")*/ ); virtual ~ServerProtocolBluetoothPanInstanceObject(){};public: // Properties BluetoothAddressClass BluetoothAddress; AuthenticationRequiredClass AuthenticationRequired; ConnectableClass Connectable;// ConnectionStateClass ConnectionState; ConnectionScanIntervalClass ConnectionScanInterval; ConnectionScanWindowClass ConnectionScanWindow; ConnectionTimeOutClass ConnectionTimeOut; ConnectionAcceptTimeOutClass ConnectionAcceptTimeOut; DiscoverableClass Discoverable; DiscoveryScanIntervalClass DiscoveryScanInterval; DiscoveryScanWindowClass DiscoveryScanWindow; EncryptionRequiredClass EncryptionRequired; HciVersionClass HciVersion; HciRevisionClass HciRevision; LmpVersionClass LmpVersion; LmpSubVersionClass LmpSubVersion; LocalNameClass LocalName; MajorDeviceClassClass MajorDeviceClass;// ManufacturerClass Manufacturer; ManufacturerIdClass ManufacturerId; IacCountClass IacCount;// RadioStateClass RadioState; ServiceClassesClass ServiceClasses; };#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -