07.01.2013 Views

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

Lecture Notes in Computer Science 3472

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Slave BTRoam<strong>in</strong>g Activities<br />

[new master != NULL]<br />

get<br />

l<strong>in</strong>k quality<br />

Connect to<br />

new master<br />

[connection<br />

confirmed]<br />

get<br />

roam<strong>in</strong>g list<br />

[l<strong>in</strong>k quality<br />

== bad]<br />

calculate<br />

new master<br />

send<br />

warn<strong>in</strong>gs<br />

[new master<br />

== NULL]<br />

17 UML 2.0 Test<strong>in</strong>g Profile 507<br />

send data<br />

Fig. 17.5. Roam<strong>in</strong>g Algorithm as Activity Diagram<br />

the last master. If the connection to the last master is still alive, the reception<br />

of a warn<strong>in</strong>g message can be used to <strong>in</strong>itiate appropriate exception handl<strong>in</strong>g<br />

mechanisms.<br />

Figure 17.6 shows the design of the protocol stack result<strong>in</strong>g from the proposed<br />

roam<strong>in</strong>g approach: Special roam<strong>in</strong>g layers (Slave Roam<strong>in</strong>g Layer and Master<br />

Roam<strong>in</strong>g Layer) are added. They take care of the correct transfer of the connections.<br />

Our roam<strong>in</strong>g approach makes no use of the higher protocol stacks of<br />

Bluetooth. Therefore, the roam<strong>in</strong>g layers are implemented directly on the hardware<br />

<strong>in</strong>terface called Host Controller Interface (HCI). The application layers are<br />

set upon the roam<strong>in</strong>g layers. The <strong>in</strong>terface from roam<strong>in</strong>g layer to application<br />

layer is called Slave Roam<strong>in</strong>g Interface (SRI) and Master Roam<strong>in</strong>g Interface<br />

(MRI), respectively.<br />

Additionally, a master is specified as a fixed network node. Thus, it also<br />

embodies the LAN protocol stacks to be able to communicate with the local<br />

network. The <strong>in</strong>terface between the Master Roam<strong>in</strong>g Layer and the Ethernet is<br />

called Local Network Interface (LNI).<br />

17.4.2 Test Preparation<br />

Before specify<strong>in</strong>g the test model, the focus of the test must be def<strong>in</strong>ed, i.e. which<br />

classes should be tested and which <strong>in</strong>terfaces does the tester need <strong>in</strong> order to get<br />

access to these classes.<br />

Figure 17.7 presents a test configuration with one slave and two masters.<br />

The focus of the tests is the Slave BTRoam<strong>in</strong>g layer of Figure 17.6. Thus, the Slave<br />

[l<strong>in</strong>k quality == good]<br />

[connection not confirmed]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!