⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 deviceclass.cs

📁 蓝牙传输控件,用于蓝牙文件上传和下载。芯片只要选用crs
💻 CS
字号:
using System;
using System.Collections;
using System.Runtime.InteropServices;

namespace bluetoothX
{
	public enum DeviceClass
	{
        	Miscellaneous = 0,
        
		Computer				= 0x000100,
		DesktopComputer			= 0x000104,
		ServerComputer			= 0x000108,
		LaptopComputer			= 0x00010c,
		HandheldComputer		= 0x000110,
		PdaComputer				= 0x000114,
		WearableComputer		= 0x000118,

		Phone					= 0x000200,
		CellPhone			= 0x000204,
		CordlessPhone		= 0x000208,
		SmartPhone				= 0x00020c,
		WiredPhone				= 0x000210,
		IsdnAccess				= 0x000214,

		AccessPointAvailable	= 0x000300,
		AccessPoint1To17		= 0x000320,
		AccessPoint17To33		= 0x000340,
		AccessPoint33To50		= 0x000360,
		AccessPoint50To67		= 0x000380,
		AccessPoint67To83		= 0x0003a0,
		AccessPoint83To99		= 0x0003c0,
		AccessPointNoService	= 0x0003e0,

		AudioVideoUnclassified	= 0x000400,
		AudioVideoHeadset		= 0x000404,
		AudioVideoHandsFree		= 0x000408,
		AudioVideoMicrophone	= 0x000410,
		AudioVideoLoudSpeaker	= 0x000414,
		AudioVideoHeadphones	= 0x000418,
		AudioVideoPortable		= 0x00041c,
		AudioVideoCar			= 0x000420,
		AudioVideoSetTopBox		= 0x000424,
		AudioVideoHiFi			= 0x000428,
		AudioVideoVcr			= 0x00042c,
		AudioVideoVideoCamera	= 0x000430,
		AudioVideoCamcorder		= 0x000434,
		AudioVideoMonitor		= 0x000438,
		AudioVideoDisplayLoudSpeaker	= 0x00043c,
		AudioVideoVideoConferencing		= 0x000440,
		AudioVideoGaming				= 0x000448,

		Peripheral				    = 0x000500,
		PeripheralJoystick		    = 0x000504,
		PeripheralGamepad		    = 0x000508,
		PeripheralRemoteControl		= 0x00050c,
		PeripheralSensingDevice		= 0x000510,
		PeripheralDigitizerTablet	= 0x000514,
		PeripheralCardReader		= 0x000518,

		PeripheralKeyboard			= 0x000540,
		PeripheralPointingDevice	= 0x000580,
		
		Imaging					= 0x000600,
		ImagingDisplay			= 0x000610,
		ImagingCamera			= 0x000620,
		ImagingScanner			= 0x000640,
		ImagingPrinter			= 0x000680,

		Wearable				= 0x000700,
		WearableWristWatch		= 0x000704,
		WearablePager			= 0x000708,
		WearableJacket			= 0x00070c,
		WearableHelmet			= 0x000710,
		WearableGlasses			= 0x000714,

	        Toy                     = 0x000800,
	        ToyRobot                = 0x000804,
	        ToyVehicle              = 0x000808,
	        ToyFigure               = 0x00080a,
	        ToyController           = 0x00080c,
	        ToyGame                 = 0x000810,
	
	        Uncategorized = 0x001f00,

	        MaskMajorDeviceClass    = 0x001f00,
	        MaskMinorDeviceClass    = 0x0000fc,
	        MaskDeviceClass         = MaskMajorDeviceClass | MaskMinorDeviceClass,
	}
}

 

⌨️ 快捷键说明

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