Bluetooth.ppt
《Bluetooth.ppt》由会员分享,可在线阅读,更多相关《Bluetooth.ppt(65页珍藏版)》请在麦多课文档分享上搜索。
1、Bluetooth,Owen Garmire and Seila Kheang CSE 466 Fall 2001 http:/www.cs.washington.edu/homes/seila/bluetooth.ppt,Bluetooth Overview,Wireless technology for short-range voice and data communication Low-cost and low-power Provides a communication platform between a wide range of “smart” devices Not lim
2、ited to “line of sight” communication,Motivation,Computer,Bluetooth Applications,Automatic synchronization between mobile and stationary devices Connecting mobile users to the internet using bluetooth-enabled wire-bound connection ports Dynamic creation of private networks,Synchronization,Keep data
3、on different devices synchronized without using a cable Example: Walk into office and have your PDA synch with your laptop on your desk without even taking your PDA out of your briefcase,Connecting to Internet,Being able to gain access to the Internet by using “Bluetooth access points” Access point
4、is used as a gateway to the internet Both the access point and the device are Bluetooth-enabled An example of Service Discovery Protocol Access point provides a service to the device,Ad Hoc Networks,Up to 8 devices can be actively connected in master/slave configuration Piconets can be combined to f
5、orm scatternets providing unlimited device connectivity,Protocol Stack,Bluetooth Radio,Uses 2.4 GHz ISM band spread spectrum radio (2400 2483.5 MHz) Advantages Free Open to everyone worldwide Disadvantages Can be noisy (microwaves, cordless phones, garage door openers),Frequency Hopping,In order to
6、mitigate interference, Bluetooth implements frequency hopping 1600 hops per second through 79 1MHz channels Spreads Bluetooth traffic over the entire ISM band All slaves in piconet follow the master for frequency hop sequence,Frequency Hopping (cont.),Hops every packet Packets can be 1, 3, or 5 slot
7、s long (a slot is 625s) Packets are pretty short,Baseband Layer,Provides in-order delivery of byte streams Handles Frequency Hop Sequences for Synchronization and Transmission Establishes Links Synchronous Connection Oriented (SCO) Asynchronous Connection-Less (ACL) Provides functionality to determi
8、ne nearby Bluetooth devices,Connection (Inquiry and Paging),Link controller states during connection process,Bluetooth: Hello, Anyone Around?,Inquiry Procedure Sends out an inquire, which is a request for nearby devices (within 10 meters) Devices that allow themselves to be discoverable issue an inq
9、uiry response Can take up to 10.24 seconds, after which the inquiring device should know everyone within 10 meters of itself,Device Discovery Illustrated,D,A,10 meters,H,M,N,L,P,O,Q,B,C,F,K,J,G,I,E,After inquiry procedure, A knows about others within range,Issues with Inquire Messages,Are the inquir
10、er transmitting and the receiver listening on the same frequency? Since they are not yet connected, they are on totally different hop sequences, and most likely on different channels If they are on the same frequency, what if they are on a noisy channel? Bluetooth provides the capability for receive
11、rs to issue multiple inquiry responses,Main Idea Behind Inquire,Inquiring device sends out an inquire on 16 different frequencies (16 channel train) Receiver (device in standby mode), performs an inquire scan long enough for an inquiring device to send the inquire on 16 frequencies Receiver does an
12、inquire scan frequent enough so that it is guaranteed to wake up during a 16 channel train,Inquiry Hop Train,The Numbers Behind Inquire,Each full scan of a 16 channel train takes about 1.28 seconds 16 channels * 625us * 128 trains = 1.28 seconds One full 16 channel train takes 10ms. Receiver enters
13、inquiry scan state at least once every 1.28 seconds, and stays in that state for 10ms.,What about noise?,Devices always reply to received inquiry messages with an inquiry response An inquirer is allowed to received multiple responses from one device In order to account for the fact that channels can
14、 be noisy and transmissions can get lost, the 128 train scan is repeated up to 4 times for each train (10.24 seconds) Designed to successfully communicate at least once with all devices within range,Inquiry,Uses 32 inquire channels to send out inquiry messages Send out inquiry on 32 channels, broken
15、 up into 2 inquiry hop trains (16 different channels to transmit packets) Intended to catch a device in inquiry scan mode on one of the 32 inquire channels,Inquiry Scan,A device periodically listens for inquiry packets at a single frequency chosen out of 16 frequencies Inquiry hop sequence depends o
16、n device address Stays in the state long enough for a inquiring device to cover 16 frequencies Will re-enter inquiry scan state even after responding to an inquire,Inquiry Response,When radio receives inquire, it will wait between 0 and .32 seconds before sending an FHS packet as a response This is
17、done to avoid collision with another radio that also wants to send an FHS packet FHS Packet contains: Device ID Clock After inquiring radio is done with inquiring procedure, it knows all of the radios (that are discoverable) within range,Paging: Will you connect to me?,Very similar to inquire Still
18、have not synchronized clocks or frequencies Establishes actual Piconet connection with a device that it knows about Connection process involves a 6 steps of communication between the the master and the slave,Paging Illustrated,D,E,F,H,G,I,K,J,C,M,N,L,P,O,Q,B,B,A,A,A,10 meters,Step 1: The Page Comman
19、d,Device broadcasts a page message out to the device that it wants to set up a connection with Does this in a similar manner as inquire messages (on 2 frequency trains of 16 frequencies each) Once the device receives a page response, it will stop paging and move on to step 2,Paging: Steps 2 & 3,Step
20、 2: In the page response, an acknowledgement is sent back to the master containing the slave ID Step 3: In the master response, the frequency hopping generator is stopped and the master issues an FHS packet to the slave,Paging: Step 4,The slave issues a final slave response transmission that is alig
21、ned to the slaves native clock Using the data from the FHS packet, the slave calculates adopts the masters frequency hopping pattern and synchronizes to its clock,Paging: Step 5,When the master receives the packet, it jumps back to its frequency hopping pattern and assigns the slave an Active Member
22、 Address (AMA) for the piconet Master sends out a poll packet to ensure that the slave is on its frequency hopping pattern,Paging: Step 6,Once the slave receives the poll packet, the slave replies with any kind of packet to ensure that it is on the right channel The acknowledgement must be received
23、by the Master within the timeout period At the conclusion of step 6, a new synchronized connection is established between the master and the slave,Link Manager,Performs all link creation, management, and termination operations Responsible for all the physical link resources in the system Handles the
24、 control and negotiation of packet sizes used when transmitting data Controls Operation Modes for devices in a piconet Sets up, terminates, and manages baseband connections between devices Establishes different types of links dependent on requests from the L2CAP layer Synchronous Connection-Oriented
25、 (SCO) Asynchronous Connection-Less (ACL),Asynchronous Connection-Less (ACL),Designed for data traffic Packet switched connection where data is exchanged sporadically as and when data is available from higher up the stack Data integrity is checked through error checking and retransmission One ACL li
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BLUETOOTHPPT
