-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path00018.html
173 lines (163 loc) · 10.4 KB
/
00018.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>Bluetooth Basics</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Doc-O-Matic" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="STYLESHEET" href="default.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoadEx('frames.html', 'topic', '00018.html');" onmousedown="onBodyMouseDown();">
<!-- Begin Popups -->
<!-- End Popups -->
<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element94">
<a href="00020.html" target="topic">Bluetooth Overview</a> > <a href="00018.html" target="topic">Bluetooth Basics</a></div>
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element1">
MPLAB Harmony Bluetooth Help</div>
</td><td width="25%">
<div class="Element2">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00020.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element90">
<a href="00020.html" target="topic">Previous</a> | <a href="00020.html" target="topic">Up</a> | <a href="00019.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element96">
<a href="mailto:[email protected]&subject=MPLAB Harmony Documentation Feedback (Topic ID: BT_OVR Bluetooth Basics Topic Title: Bluetooth Basics)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table><div class="Element5">
Bluetooth Basics</div>
</div>
</div>
<!-- End Page Header -->
<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">
<!-- Begin Page Content -->
<a name="PageContent"></a><div class="Element58">
<a name="4465736372697074696F6E"></a><div class="Element11">
<div class="Element10">
<p class="Element10">
<strong>If you are new to Bluetooth, this section provides definitions of basic concepts found in most discussions of Bluetooth.</strong> </p>
<p class="Element10">
Bluetooth is a wireless technology standard for exchanging data over relatively short distances, operating between frequencies 2.400 and 2.4835 GHz, using a radio technology called frequency-hopping spread spectrum. Bluetooth sends data in packets on one of 79 channels, each with a bandwidth of 1 MHz. </p>
<p class="Element10">
Bluetooth Low Energy (BLE) is aimed at very low power applications powered by a coin cell and uses 2 MHz spacing, which allows for 40 channels. It has a latency time of only 6 ms, compared to 100 ms for classic Bluetooth. However BLE does not support voice. </p>
<p class="Element10">
Classic Bluetooth and BLE can be implemented in the same device and operational at the same time. </p>
<p class="Element10">
Bluetooth exists in numerous products such as telephones, speakers, tablets, media players, robotics systems, laptops, and console gaming equipment as well as headsets, modems, hearing aids and watches. BLE applications include mobile phones, gaming, smart homes, wearables, automotive, PCs, security, proximity, health care, sports and fitness. </p>
<p class="Element10">
The range of Bluetooth devices is based on their class: </p>
<p class="Element10">
<strong>Ranges of Bluetooth devices by class</strong> </p><div class="Element63">
<div class="TableDiv">
<table cellspacing="0" class="Table2">
<tr>
<td class="Element65" valign="top" width="12%">
<div class="Element66">
Class </div></td><td class="Element65" valign="top" width="47%">
<div class="Element66">
Max. permitted power (mW) </div></td><td class="Element65" valign="top" width="41%">
<div class="Element66">
Typical range (m) </div></td></tr><tr>
<td class="Element67" valign="top" width="12%">
<div class="Element68">
1 </div></td><td class="Element67" valign="top" width="47%">
<div class="Element68">
100 </div></td><td class="Element67" valign="top" width="41%">
<div class="Element68">
~100 </div></td></tr><tr>
<td class="Element67" valign="top" width="12%">
<div class="Element68">
2 </div></td><td class="Element67" valign="top" width="47%">
<div class="Element68">
2.5 </div></td><td class="Element67" valign="top" width="41%">
<div class="Element68">
~10 </div></td></tr><tr>
<td class="Element67" valign="top" width="12%">
<div class="Element68">
3 </div></td><td class="Element67" valign="top" width="47%">
<div class="Element68">
1 </div></td><td class="Element67" valign="top" width="41%">
<div class="Element68">
~1 </div></td></tr><tr>
<td class="Element67" valign="top" width="12%">
<div class="Element68">
4 </div></td><td class="Element67" valign="top" width="47%">
<div class="Element68">
0.5 </div></td><td class="Element67" valign="top" width="41%">
<div class="Element68">
~0.5 </div></td></tr></table></div></div>
<p class="Element10">
Most Bluetooth applications are for indoor conditions, where attenuation of walls and signal fading due to signal reflections make the range far lower than the specified line-of-sight ranges of some Bluetooth products.</p><div class="Element15">
Pairing</div>
<p class="Element10">
Any classic Bluetooth device in discoverable mode transmits the following information on demand:</p>
<ul class="Element630">
<li class="Element600"> Device name</li>
<li class="Element600"> Device class</li>
<li class="Element600"> List of services</li>
</ul><p class="Element10">
During pairing, the two devices establish a relationship by creating a shared secret known as a link key. Pairing requires both devices to support the same profile.</p><div class="Element15">
Classic Bluetooth Profiles</div>
<p class="Element10">
Bluetooth devices must be able to interpret certain Bluetooth profiles, which define possible applications and specify general behaviors that they will use to communicate with other Bluetooth devices. Som eof the profiles relevant to Harmony applications are:</p>
<ul class="Element630">
<li class="Element600">Advanced Audio Distribution Profile (A2DP) – most common profile for streaming multimedia audio.</li>
<li class="Element600">Audio Video Remote Control Profile (AVRCP) – standardized remote control profile for TV’s, home theater, etc. Used in conjunction with A2DP. Provides playback control such as play, pause, fast-forward and rewind, and volume control.</li>
<li class="Element600">Hands-Free Profile (HFP) – typically used to place phone calls in automobiles.</li>
<li class="Element600">Headset Profile (HSP) – used with mobile phones and gaming consoles.</li>
<li class="Element600">Serial Port Profile (SPP) – standard replacement for wireless RS-232 data transmission</li>
</ul><div class="Element15">
Bluetooth Low Energy (BLE)</div>
<p class="Element10">
BLE devices are detected through a procedure based on broadcasting advertising packets. This is done using 3 separate channels in order to reduce interference. </p>
<p class="Element10">
All Bluetooth Low Energy devices use the Generic Attribute Profile (GATT). GATT has the following terminology:</p>
<ul class="Element630">
<li class="Element600">Client - a device that initiates GATT commands and requests, and accepts responses, for example, a computer or smartphone.</li>
<li class="Element600">Server - a device that receives GATT commands and requests, and returns responses, for example, a temperature sensor.</li>
<li class="Element600">Characteristic - a data value transferred between client and server, for example, the current battery voltage.</li>
<li class="Element600">Service - a collection of related characteristics, which operate together to perform a particular function. For instance, the Health Thermometer service includes characteristics for a temperature measurement value, and a time interval between measurements.</li>
<li class="Element600">Descriptor - provides additional information about a characteristic. For instance, a temperature value characteristic may have an indication of its units (e.g. Celsius), and the maximum and minimum values which the sensor can measure. Descriptors are optional – each characteristic can have any number of descriptors.</li>
</ul><p class="Element10">
A large number of low energy application profiles is based on GATT, including:</p>
<ul class="Element630">
<li class="Element600">Health care profiles (blood pressure, thermometers, glucose monitors etc.)</li>
<li class="Element600">Sensors (industrial and residential)</li>
<li class="Element600">Sports and fitness profiles (heart rate, running speed, weight scale)</li>
<li class="Element600">HID connectivity (mice and keyboards)</li>
</ul><p class="Element10" style="text-align: center;">
<img src="BT BLE.png" border="0" alt="" title=""></p><p class="Element10">
In addition, some Bluetooth modules support a “Transparent Data Service” for basic communication, where data in any structured format can be communicated. This is used in the BM64_ble_comm demonstration in this distribution.</p></div>
</div>
</div>
<!-- End Page Content -->
<!-- Begin Page Footer -->
<div class="Element95">
<a href="00020.html" target="topic">Bluetooth Overview</a> > <a href="00018.html" target="topic">Bluetooth Basics</a></div>
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element3">
MPLAB Harmony Bluetooth Help</div>
</td><td width="25%">
<div class="Element4">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00020.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element91">
<a href="00020.html" target="topic">Previous</a> | <a href="00020.html" target="topic">Up</a> | <a href="00019.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element97">
<a href="mailto:[email protected]&subject=MPLAB Harmony Documentation Feedback (Topic ID: BT_OVR Bluetooth Basics Topic Title: Bluetooth Basics)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table></div>
<!-- End Page Footer -->
</div>
</div>
<!-- End Client Area -->
</body></html>