您的位置:首页 > 产品设计 > UI/UE

Bluetooth Service Classes and Device Classes

2012-04-28 17:35 363 查看
http://www.bluetooth.org/Technical/AssignedNumbers/baseband.htm

Bluetooth Baseband
The General- and Device-Specific Inquiry Access Codes (DIACs)
The Inquiry Access Code is the first level of filtering when finding Bluetooth devices and services. The main purpose of defining multiple IACs is to limit the number of responses that are received when
scanning devices within range.

#LAP valueUsage
00x9E8B33General/Unlimited Inquiry Access Code (GIAC)
10x9E8B00Limited Dedicated Inquiry Access Code (LIAC)
2‑630x9E8B01-0x9E8B32, 0x9E8B34-0x9E8B3FRESERVED FOR FUTURE USE
Table 1: The Inquiry Access Codes

The Limited Inquiry Access Code (LIAC) is only intended to be used for limited time periods in scenarios where both sides have been explicitly caused to enter this state, usually by user action. For further explanation
of the use of the LIAC, please refer to the Generic Access Profile.
In contrast it is allowed to be continuously scanning for the General Inquiry Access Code (GIAC) and respond whenever inquired.

The Class of Device/Service field
The Class of Device/Service (CoD) field has a variable format. The format is indicated using the 'Format Type field' within the CoD. The length of the Format Type field is variable and ends with two bits different
from '11'. The version field starts at the least significant bit of the CoD and may extend upwards.
In the 'format #1' of the CoD (Format Type field = 00), 11 bits are assigned as a bit-mask (multiple bits can be set) each bit corresponding to a high level generic category of service class. Currently 7 categories
are defined. These are primarily of a 'public service' nature. The remaining 11 bits are used to indicate device type category and other device-specific characteristics.
Any reserved but otherwise unassigned bits, such as in the Major Service Class field, should be set to 0.



Figure 1: The Class of Device/Service field (first format type). Please note the order in which the octets are sent on the air and stored in memory. Bit number 0 is sent first on the air.
Major Service Classes
The Major and Minor classes are intended to define a general family of devices with which any particular implementation wishes to be associated. No assumptions should be made about specific functionality or characteristics
of any application based solely on the assignment of the Major or Minor device class.
Bit noMajor Service Class
13Limited Discoverable Mode [Ref #1]
14(reserved)
15(reserved)
16Positioning (Location identification)
17Networking (LAN, Ad hoc, ...)
18Rendering (Printing, Speaker, ...)
19Capturing (Scanner, Microphone, ...)
20Object Transfer (v-Inbox, v-Folder, ...)
21Audio (Speaker, Microphone, Headset service, ...)
22Telephony (Cordless telephony, Modem, Headset service, ...)
23Information (WEB-server, WAP-server, ...)
Table 2: Major Service Classes
[Ref #1 See Generic Access Profile (Please refer to the Generic Access Profile within the respective Core
Specification)]
Major Device Classes
The Major Class segment is the highest level of granularity for defining a Bluetooth Device. The main function of a device is used to determine the major class grouping. There are 32 different possible major
classes. The assignment of this Major Class field is defined in Table 1.3.
12111098Major Device Class
00000Miscellaneous [Ref #2]
00001Computer (desktop,notebook, PDA, organizers, .... )
00010Phone (cellular, cordless, payphone, modem, ...)
00011LAN /Network Access point
00100Audio/Video (headset,speaker,stereo, video display, vcr.....
00101Peripheral (mouse, joystick, keyboards, ..... )
00110Imaging (printing, scanner, camera, display, ...)
00111Wearable
01000Toy
01001Health
11111Uncategorized, specific device code not specified
XXXXXAll other values reserved
Table 3: Major Device Classes
[Ref #2: Used where a more specific Major Device Class code is not suited (but only as specified in this document). Devices that do not have a major class code assigned can use the all-1 code until 'classified']
The Minor Device Class field
The 'Minor Device Class field' (bits 7 to 2 in the CoD), are to be interpreted only in the context of the Major Device Class (but independent of the Service Class field). Thus the meaning of the bits may change,
depending on the value of the 'Major Device Class field'. When the Minor Device Class field indicates a device class, then the primary device class should be reported, e.g. a cellular phone that can also work as a cordless handset should use 'Cellular' in
the minor device class field.
Minor Device Class field - Computer Major Class
765432Minor Device Class

bit no of CoD
000000Uncategorized, code for device not assigned
000001Desktop workstation
000010Server-class computer
000011Laptop
000100Handheld PC/PDA (clam shell)
000101Palm sized PC/PDA
000110Wearable computer (Watch sized)
XXXXXXAll other values reserved
Table 4: Sub Device Class field for the 'Computer' Major Class
Minor Device Class field - Phone Major Class
765432Minor Device Class

bit no of CoD
000000Uncategorized, code for device not assigned
000001Cellular
000010Cordless
000011Smart phone
000100Wired modem or voice gateway
000101Common ISDN Access
XXXXXXAll other values reserved
Table 5: Sub Device Classes for the 'Phone' Major Class
Minor Device Class field - LAN/Network Access Point Major Class
765Minor Device Class

bit no of CoD
000Fully available
0011 - 17% utilized
01017 - 33% utilized
01133 - 50% utilized
10050 - 67% utilized
10167 - 83% utilized
11083 - 99% utilized
111No service available
XXXAll other values reserved
Table 6: The LAN/Network Access Point Load Factor field
The exact loading formula is not standardized. It is up to each LAN/Network Access Point implementation to determine what internal conditions to report as a utilization percentage. The only requirement is that the
number reflects an ever-increasing utilization of communication resources within the box. As a recommendation, a client that locates multiple LAN/Network Access Points should attempt to connect to the one reporting the lowest load.

432Minor Device Class

bit no of CoD
000Uncategorized (use this value if no other apply)
XXXAll other values reserved
Table 7: Reserved sub-field for the LAN/Network Access Point
Minor Device Class field - Audio/Video Major Class
765432Minor Device Class

bit no of CoD
000000Uncategorized, code not assigned
000001Wearable Headset Device
000010Hands-free Device
000011(Reserved)
000100Microphone
000101Loudspeaker
000110Headphones
000111Portable Audio
001000Car audio
001001Set-top box
001010HiFi Audio Device
001011VCR
001100Video Camera
001101Camcorder
001110Video Monitor
001111Video Display and Loudspeaker
010000Video Conferencing
010001(Reserved)
010010Gaming/Toy
XXXXXXAll other values reserved
Table 8: Sub Device Classes for the 'Audio/Video' Major Class
Minor Device Class field - Peripheral Major Class
76Minor Device Class

bit no of CoD
00Not Keyboard / Not Pointing Device
01Keyboard
10Pointing device
11Combo keyboard/pointing device
Table 9: The Peripheral Major Class keyboard/pointing device field
Bits 6 and 7 independently specify mouse, keyboard or combo mouse/keyboard devices. These may be combined with the lower bits in a multifunctional device.

5432Minor Device Class

bit no of CoD
0000Uncategorized device
0001Joystick
0010Gamepad
0011Remote control
0100Sensing device
0101Digitizer tablet
0110Card Reader (e.g. SIM Card Reader)
0111Digital Pen
1000Handheld scanner for bar-codes, RFID, etc.
1001Handheld gestural input device (e.g., "wand" form factor)
XXXXAll other values reserved
Table 10: Minor Class bits 2 to 5 for Peripheral Major Class

Minor Device Class field - Imaging Major Class
7654Minor Device Class

bit no of CoD
XXX1Display
XX1XCamera
X1XXScanner
1XXXPrinter
XXXXAll other values reserved
Table 11: The Imaging Major Class bits 4 to 7
Bits 4 to 7 independantly specify display, camera, scanner or printer. These may be combined in a multifunctional device.

32Minor Device Class

bit no of CoD
00Uncategorized, default
XXAll other values reserved
Table 12: The Imaging Major Class bits 2 and 3
Bits 2 and 3 are reserved
Minor Device Class field - Wearable Major Class
The Minor Class segment is the lowest level of granularity for defining a Bluetooth Device. There are 64 different possible minor classes.
765432Minor Device Class

bit no of CoD
000001Wrist Watch
000010Pager
000011Jacket
000100Helmet
000101Glasses
XXXXXXAll other values reserved
Minor Device Class field - Toy Major Class
765432Minor Device Class

bit no of CoD
000001Robot
000010Vehicle
000011Doll / Action Figure
000100Controller
000101Game
XXXXXXAll other values reserved
Minor Device Class field - Health
765432Minor Device Class

bit no of CoD
000000Undefined
000001Blood Pressure Monitor
000010Thermometer
000011Weighing Scale
000100Glucose Meter
000101Pulse Oximeter
000110Heart/Pulse Rate Monitor
000111Health Data Display
001000Step Counter
001001Body Composition Analyzer
001010Peak Flow Monitor
001011Medication Monitor
001100Knee Prosthesis
001101Ankle Prosthesis
001110Generic Health Manager
001111Personal Mobility Device
XXXXXXAll other values reserved
Assigned Numbers - References
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: