Академический Документы
Профессиональный Документы
Культура Документы
Abstract:
The Bluetooth Networking Encapsulation Protocol (BNEP) test cases document
contains all of the test cases for testing conformance to the BNEP specification.
Introduction
Page 1
Page 2 of 2
Revision 0.95a
Introduction
Page 2
Page 3 of 3
Revision 0.95a
Copyright
Introduction
2001.
Bluetooth
SIG,
Inc.
Page 3
Page 4 of 4
Revision 0.95a
Contents
1
2
4
5
6
7
8
Introduction............................................................................................................ 8
Profile Testing........................................................................................................ 9
2.1
Overview ........................................................................................................ 9
2.2
Testing Topology ........................................................................................... 9
2.3
Test Purposes (TP)......................................................................................... 9
2.3.1
Introduction............................................................................................ 9
BNEP Conformance Tests ....................................................................................12
3.1.1
TP/ BNEP/TX-TYPE-0/BV-01-C (BNEP Test Case 1 -- TX for BNEP
Type 0x00) ............................................................................................................12
3.1.2
TP/ BNEP/TX-C/BV-02-C (BNEP Test Case 2 -- TX BNEP Type
0x02)
14
3.1.3
TP/ BNEP/TX-C-S/BV-03-C (BNEP Test Case 3 -- TX for BNEP
Type 0x03) ............................................................................................................16
3.1.4
TP/ BNEP/TX-C-D/BV-04-C (BNEP Test Case 4 -- TX for BNEP
Type 0x04) ............................................................................................................18
3.1.5
TP/BNEP/CTRL/BV-05-C (BNEP Test Case 5 Unknown Control
Message) 20
3.1.6
TP/BNEP/CTRL/BV-06-C (BNEP Test Case 6 Setup Connection
Message) 22
3.1.7
TP/BNEP/CTRL/BV-07-C (BNEP Test Case 7 Setup Connection
Message Lost) .......................................................................................................24
3.1.8
TP/BNEP/CTRL/BV-08-C (BNEP Test Case 8 Network Protocol
Filter Message) ......................................................................................................26
3.1.9
TP/BNEP/CTRL/BV-09-C (BNEP Test Case 9 Network Protocol
Filter Message Lost) ..............................................................................................29
3.1.10
TP/BNEP/CTRL/BV-10-C (BNEP Test Case 10 Multicast Address
Filter Message) ......................................................................................................31
3.1.11
TP/BNEP/CTRL/BV-11-C (BNEP Test Case 11 Multicast Address
Filter Message Lost) ..............................................................................................34
References .............................................................................................................36
Acronyms and Abbreviations ................................................................................37
List of Figures .......................................................................................................38
List of Tables .........................................................................................................39
Annex ....................................................................................................................40
8.1
Test Case Mapping ........................................................................................40
8.1.1
PAN Profile Test Cases Mappings........................................................40
Introduction
Page 4
Page 5 of 5
Revision 0.95a
Revision History
Revision
Date
Comments
0.0
April 4, 2000
0.1
Added various sections and added useful part of the Ethernet bridge
profile proposal
0.2
0.3
0.4
Added Addressing
0.5
September 26,
2000
Editorial changes
0.6
Released to Adopters
November 27,
2000
Editorial changes
0.9
February 6, 2001
Separated PICS and Test Case from the PAN Profile document into
two separate document
0.95
Separated the BNEP test cases from the PAN Profile test cases.
Editorial changes and changes based on BARB, BTI, BQRB, BTAB
feedback.
0.95a
Introduction
Page 5
Page 6 of 6
Revision 0.95a
Contributors
Name
Company
David Moore
3COM Corporation
Tom Scribner
3COM Corporation
Barry Corlett
Agere Systems
Willy Sagefalk
Axis Communications
Dan Willey
Certicom Corporation
Horia Balog
Conrad Maxwell
Conexant Systems
Allan Bogeskov
Telefonaktiebolaget LM Ericsson
Theo Borst
Telefonaktiebolaget LM Ericsson
Per Johansson
Telefonaktiebolaget LM Ericsson
Tero Kauppinen
Telefonaktiebolaget LM Ericsson
Martin Kitchen
Telefonaktiebolaget LM Ericsson
Jesper Krogh
Telefonaktiebolaget LM Ericsson
Tony Larsson
Telefonaktiebolaget LM Ericsson
Johan Sorensen
Telefonaktiebolaget LM Ericsson
Dave Suvak
Jean Tourrilhes
Toru Aihara
Chatschik Bisdikian
Intel Corporation
Robert Hunter
Intel Corporation
Jon Inouye
Intel Corporation
Diego Melpignano
Philips Inc.
Eiji Kato
Mike Foley
Microsoft Corporation
Billy Brackenridge
Microsoft
Dale Farnsworth
Motorola Inc.
Carmen Kuhl
Nokia Corporation
Introduction
Page 6
Jaakko Lipasti
Nokia Corporation
James Scales
Nokia Corporation
Markus Schetelig
Nokia Corporation
Sander
Valkenburg
Steven Kenny
Norwood Systems
Rebecca Ostergaard
Norwood Systems
Graeme Reid
Norwood Systems
Darrell Goff
Rappore
Daniel Shaw
Red-M Inc.
Pravin Bhagwat
ReefEdge, Inc.
Daryl Hlasny
Leonard Ott
Johannes Lobbert
Sony Corporation
Wilhelm Hagg
Sony Corporation
Mike Blackstock
Yosuke Tajika
Toshiba Corporation
Tatuya Junmei
Kazuo Nogami
Toshiba Corporation
Jim Hobza
Widcomm Inc.
Introduction
Page 7 of 7
Revision 0.95a
Page 7
Page 8 of 8
Revision 0.95a
1 Introduction
Bluetooth is a short-range wireless technology operating in the 2.4 GHz ISM
band. Many devices such as notebook computers, phones, PDAs, and other
computing devices will incorporate Bluetooth wireless technology. Using
Bluetooth wireless technology, devices will have the ability to form networks
and exchange information. For these devices to interoperate and exchange
information, a common packet format must be defined to encapsulate layer 3
network protocols.
The document contains the test cases for the Bluetooth Networking
Encapsulation Protocol (BNEP) specification.
Introduction
Page 8
Page 9 of 9
Revision 0.95a
2 Profile Testing
2.1 Overview
The test strategy will consist of only conformance testing. The conformance
testing will focus on testing the Bluetooth Networking Encapsulation Protocol
(BNEP) specification.
Master
Slave
Profile Testing
Page 9
Page 10 of 10
Revision 0.95a
TP Id
Reference
Initial Condition
Test Procedure
Test Condition
Expected Outcome
Uncertainties
Notes
Profile Testing
Page 10
Page 11 of 11
Revision 0.95a
Identifier
<func> = Function
<xx> = Type of testing
<nn> = Sequential number
<y> = Test platform
TP/BNEP/<func>/<xx>-<nn> -<y>
TX =
TX_C = TX CompressedCTRL = Control
Valid Behavior (BV) tests
Invalid Behavior (BI) tests
(00-99) Test purpose number
I = Interoperability testing performed as product Vs.
product testing
C = Conformance testing performed with dedicated
Bluetooth test equipment
Profile Testing
Page 11
Page 12 of 12
Revision 0.95a
Device A
Device B
Page 12
Page 13 of 13
Revision 0.95a
Dependent
Header or
other payload
information
Data
0x00
0x0
Device As
Bluetooth
Address
Device Bs
Bluetooth
Address
0x0800
Or
0x86DD
Or
0xXXXX
48 Bytes
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_GENERAL _ETHERNET
BNEP Extension flag = 0x0 = no extension header
The 48 bit Bluetooth Address of Device A
The 48 bit Bluetooth Address of Device B
Fail verdict:
Device B is unsuccessful, if Device B sends incorrect data.
3.1.1.6 Uncertainties
N/A
3.1.1.7 Notes
N/A
Page 13
Page 14 of 14
Revision 0.95a
Device A
Device B
Description
Length of the BNEP packet contained in the
L2CAP packet.
Page 14
0x02
Extension
0x0
Network
Protocol Type
0x0800
Or
0x86DD
Or
0xXXXX
48 Bytes
Dependent
Header or
other payload
information
Data
Page 15 of 15
Revision 0.95a
Fail verdict:
Device B is unsuccessful, if Device B sends incorrect data.
3.1.2.6 Uncertainties
N/A
3.1.2.7 Notes
N/A
Page 15
Page 16 of 16
Revision 0.95a
Device A
Device B
Description
Length of the BNEP packet contained in the
Page 16
BNEP Type
0x03
Extension
0x0
Source
Address
Device Bs
Bluetooth
Address
0x0800
Or
0x86DD
Or
0xXXXX
48 Bytes
Network
Protocol Type
Dependent
Header or
other payload
information
Data
Page 17 of 17
Revision 0.95a
L2CAP packet.
BNEP Type field is
BNEP_COMPRESSED_ETHERNET_SOURCE_
ONLY
BNEP Extension flag = 0x0 = no extension
header
The 48 bit Bluetooth Address of Device B
The Network Protocol Type Internet IP (IPv4)
Or
The Network Protocol Type Internet IP (IPv6)
Or
Other
48 bytes of Data to be ignored
Fail verdict:
Device B is unsuccessful, if Device B sends incorrect data.
3.1.3.6 Uncertainties
N/A
3.1.3.7 Notes
N/A
Page 17
Page 18 of 18
Revision 0.95a
Device A
Device B
Description
Length of the BNEP packet contained in the L2CAP
Page 18
BNEP Type
0x04
Extension
Destination
Address
0x0
Device As
Bluetooth
Address
0x0800
Or
0x86DD
Or
0xXXXX
48 Bytes
Network
Protocol Type
Dependent
Header or
other payload
information
Data
Page 19 of 19
Revision 0.95a
packet.
BNEP Type field is
BNEP_COMPRESSED_ETHERNET_DEST_ONLY
BNEP Extension flag = 0x0 = no extension header
The 48 bit Bluetooth Address of Device A
Fail verdict:
Device B is unsuccessful, if Device B sends incorrect data.
3.1.4.6 Uncertainties
N/A
3.1.4.7 Notes
N/A
Page 19
Page 20 of 20
Revision 0.95a
Device A
Device B
CTRL Msg
0x01
0x0
0xFF
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
Unknown control command
Page 20
Page 21 of 21
Revision 0.95a
0x01
0x0
0x00
0xFF
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_CONTROL_COMMAND_NOT_UNDERST
OOD
BNEP control type that was received and not
understood.
Fail verdict:
Device B is unsuccessful, if Device B does not send the above control
Response Message.
3.1.5.6 Uncertainties
N/A
3.1.5.7 Notes
N/A
Page 21
Page 22 of 22
Revision 0.95a
Device A
Device B
CTRL Msg
0x01
0x0
BNEP Control
Type
UUID Size
Destination
0x01
0x04
0x1116
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension
header
BNEP_SETUP_CONNECTION_REQUEST_MS
G
UUID Size = 4 bytes [3]
NAP Service UUID* [3]
Page 22
Page 23 of 23
Revision 0.95a
* Note: Both the destination and source service UUID may be change to
match the supported services for each device under test. Also, in the future
addition profile may use BNEP and therefore other UUID [3] values are valid.
3.1.6.4 Test Condition
Device A must be in radio range of the Device B and successfully receive the
packet. Device A and Device B must be capable of maintaining an open
L2CAP connection.
3.1.6.5 Expected Outcome
Pass verdict:
Device B is successful if Device B sent the correct data as defined below.
CTRL
Value
Response
Msg
L2CAP Length 0x0002
BNEP Type
Extension
BNEP Control
Type
Response
Message
Description
0x01
0x0
0x02
0x0000
Operation Successful
Fail verdict:
Device B is unsuccessful, if Device B does not send either of the above
control Response Message.
3.1.6.6 Uncertainties
N/A
3.1.6.7 Notes
N/A
Page 23
Page 24 of 24
Revision 0.95a
Device A
Device B
CTRL Msg
Time <=
30 sec.
CTRL Msg
0x01
0x0
0x01
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_SETUP_CONNECTION_REQUEST_MSG
Page 24
Page 25 of 25
Revision 0.95a
* Note: Both the destination and source service UUID may be change to
match the supported services for each device under test. Also, in the future
addition profile may use BNEP and therefore other UUID [3] values are valid.
Device B will intentionally drop the first control message.
0x01
0x0
0x01
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_SETUP_CONNECTION_REQUEST_MSG
0x04
0x1116
Fail verdict:
Device A is unsuccessful, if Device A does not sends the above control
Response Message within 30 seconds.
3.1.7.6 Uncertainties
N/A
3.1.7.7 Notes
Page 25
Page 26 of 26
Revision 0.95a
Device A
Device B
CTRL Msg
0x01
0x0
0x03
0x0004
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_NET_TYPE_SET_MSG
Length of the list, in bytes, of the network protocols
not to be filtered
Page 26
Page 27 of 27
Revision 0.95a
0x01
0x0
0x04
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_ NET_TYPE_RESPONSE_MSG
0x0000
Operation Successful
0x01
0x0
0x04
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_ NE T_TYPE_RESPONSE_MSG
0x0001
Unsupported Request
Fail verdict:
Device B is unsuccessful, if Device B does not send either of the above
control Response Messages.
3.1.8.6 Uncertainties
N/A
Page 27
Page 28 of 28
Revision 0.95a
3.1.8.7 Notes
N/A
Page 28
Page 29 of 29
Revision 0.95a
Device A
Device B
CTRL Msg
Time <=
30 sec.
CTRL Msg
0x01
0x0
0x03
Network
Protocol Type
0x86DD
0x0004
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_NET_TYPE_SET_MSG
Length of the list, in bytes, of the network protocols
not to be filtered
Network protocol type range starting at 0x86DD
Page 29
Page 30 of 30
Revision 0.95a
0x01
0x0
0x03
0x0004
Network
0x86DD
Protocol Type
Range Start #1
Network
0x86DD
Protocol Type
Range End #1
Description
Length of the BNEP packet contained in the
L2CAP packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_NET_TYPE_SET_MSG
Length of the list, in bytes, of the network protocols
not to be filtered
Network protocol type range starting at 0x86DD
Network protocol type range ending at 0x86DD
Fail verdict:
Device A is successful if Device A does not resend the original filter control
message as defined below within 30 seconds.
3.1.9.6 Uncertainties
N/A
3.1.9.7 Notes
N/A
Page 30
Page 31 of 31
Revision 0.95a
Reference
Initial Condition
Device A
Device B
CTRL Msg
Test Procedure
0x01
0x0
0x05
0x000C
Description
Length of the BNEP packet contained in the L2CAP
packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_MULTI_ADDR_SET_MSG
Length of the list, in bytes, of the multicast address
not to be filtered
Page 31
3.1.10.4
Page 32 of 32
Revision 0.95a
Test Condition
Device A must be in radio range of the Device B and successfully receive the
packet. Device A and Device B must be capable of maintaining an open
L2CAP connection.
3.1.10.5
Expected Outcome
Pass verdict:
Device B is successful if Device B supports networking filtering for multicast
addresses and sent the correct data as defined below.
CTRL Msg
Value
L2CAP Length 0x0003
BNEP Type
Extension
BNEP Control
Type
Response
0x01
0x0
0x06
Description
Length of the BNEP packet contained in the L2CAP
packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_MULTI_ADDR_RESPONSE_MSG
0x0000
Operation Successful
0x01
0x0
0x06
Description
Length of the BNEP packet contained in the L2CAP
packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_MULTI_ADDR_RESPONSE_MSG
0x0001
Unsupported Request
Fail verdict:
Device B is unsuccessful, if Device B does not sends either the above control
Response Messages.
3.1.10.6
Uncertainties
N/A
Page 32
Page 33 of 33
Revision 0.95a
Notes
N/A
Page 33
Page 34 of 34
Revision 0.95a
Reference
Initial Condition
Device A
Device B
CTRL Msg
Time <=
30 sec.
CTRL Msg
Test Procedure
0x01
0x0
0x05
Description
Length of the BNEP packet contained in the L2CAP
packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_MULTI_ADDR_SET_MSG
0x000C
Page 34
Page 35 of 35
Revision 0.95a
Range Start #1
Multicast
0x03000020 Multicast address range ending at 0x030000200000
Address
0000
Range End #1
Test Condition
Device A must be in radio range of the Device B and successfully receive the
packet. Device A and Device B must be capable of maintaining an open
L2CAP connection.
3.1.11.5
Expected Outcome
Pass verdict:
Device A is successful if Device A resends the original filter control message
as defined below within 30 seconds.
CTRL Msg
Value
L2CAP Length 0x0010
BNEP Type
Extension
BNEP Control
Type
List Length
0x01
0x0
0x05
Description
Length of the BNEP packet contained in the L2CAP
packet.
BNEP Type field is BNEP_CONTROL
BNEP Extension flag = 0x0 = no extension header
BNEP_FILTER_MULTI_ADDR_SET_MSG
0x000C
Multicast
Address
Range Start #1
Multicast
0x03000020 Multicast address range ending at 0x030000200000
Address
0000
Range End #1
Fail verdict:
Device A is unsuccessful, if Device A does not resend the original filter control
message as defined below within 30 seconds.
3.1.11.6
Uncertainties
N/A
3.1.11.7
Notes
N/A
Page 35
Page 36 of 36
Revision 0.95a
References
[1]
[2]
[3]
References
Page 36
Page 37 of 37
Revision 0.95a
Meaning
BNEP
IP
Internet Protocol
L2CAP
MTU
Page 37
Page 38 of 38
Revision 0.95a
6 List of Figures
Figure 1 BNEP Testing Topology............................................................................................................................9
List of Figures
Page 38
Page 39 of 39
Revision 0.95a
7 List of Tables
Table 1: Test Definition Conventions ...................................................................................................................10
Table 2: Test Naming Convention ........................................................................................................................11
List of Tables
Page 39
Page 40 of 40
Revision 0.95a
8 Annex
8.1 Test Case Mapping
8.1.1 PAN Profile Test Cases Mappings
Fill out the columns "Support" in the following way
If the BNEP feature is supported, mark it in the "Support" field, where x
corresponds to the feature number in the PAN's ICS tables.
For PAN features refer to the BT ICS/IXIT Proforma document, Table 1, 2, and 3.
Selection
Expression
1/0 AND
2/0 AND
3/0
Feature
Supported
Supports BNEP
Test Case(s)
Test Case
Applicable
TP/BNEP/TX
-TYPE-0/BV01-C
TP/BNEP/TX
-C/BV-02-C
TP/BNEP/TX
-C-S/BV-03C
TP/BNEP/TX
-C-D/BV-04C
TP/BNEP/CT
RL/BV-05-C
TP/BNEP/CT
RL/BV-06-C
TP/BNEP/CT
RL/BV-07-C
TP/BNEP/CT
RL/BV-08-C
Annex
Page 40
Feature
Supported
Page 41 of 41
Revision 0.95a
Test Case(s)
Test Case
Applicable
TP/BNEP/CT
RL/BV-09-C
TP/BNEP/CT
RL/BV-10-C
TP/BNEP/CT
RL/BV-11-C
Annex
Page 41