2005 spring cs492 lab #4 2005.11.1. tuesday 10:30am-noon building e3-1, classroom #3 lee, dooyoung...

11
2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

Upload: herbert-chad-stevens

Post on 29-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

2005 Spring CS492 Lab #4

2005.11.1. Tuesday 10:30am-NoonBuilding E3-1, Classroom #3

Lee, DooyoungKim, Taehee

Dept of EECS, Div. of CS

Page 2: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

2

Goals and Overview of Lab #4

• Goals– To introduce students to Bluetooth

• Overview1. TCP and UDP throughput measurement in

Bluetooth2. Various usage models

– one large piconet with parked and standby devices– multiple master-slave connections– scatternet

• Preparation for Lab #4– Install a Bluetooth USB adapter on Window– Install a messenger for bluetooth

Page 3: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

3

Lab #4: Step 1

• On your iPAQ– Turn Bluetooth on and build a piconet (master =

TA)– Start a messenger for bluetooth– Measurement at server or client?– Repeat with packet size = 40, 120, 300, 700, 1500

Page 4: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

4

Setting Up a Piconet

Slave 2

Master

Slave 3

Slave 6

Slave 5

Slave 1

Slave 4

Slave 7

Page 5: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

5

Step 2

• Form multiple master-slave piconets– Measurement at server or client?– Repeat with packet size = 40, 120, 300, 700, 1500

Page 6: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

6

Setting Up Multiple Pt-to-Pt Connections

Page 7: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

7

Lab #4: Step -

• Scatternet– No one sell Bluetooth USB adapter in korea– It’s so touch installing Bluetooth USB adapter in

Linux

– > so, it might be hard to experiment a scatternet in lab

Page 8: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

8

Lab #4: Step 2

• Compare Bluetooth with WLAN– After building a piconet and WLAN in lab,

Application works better in piconet or WLAN

– Application: – How to compare : using Iper or time if application

is file-share?

– Skype doesn’t support bluetooth.

Page 9: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

9

Lab #4: Step 2

device 6

device 3

device 9

Master

device 10

device 7

device 1

device 4

device 5device 2

Server

SNU2 Access pointDHCP server

Wireless Lan

device 8

Bluetooth

Page 10: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

10

Lab #4: Step 3

• Please think about …

Page 11: 2005 Spring CS492 Lab #4 2005.11.1. Tuesday 10:30am-Noon Building E3-1, Classroom #3 Lee, Dooyoung Kim, Taehee Dept of EECS, Div. of CS

11

Lab #4: Wrap Up

• Questions to ask yourself– What was your iPAQ’s throughput?– Which would make iPAQ’s batter last longer, WLAN

in PS mode or Bluetooth?