palowireless
          Bluetooth Resource Center


Advanced search


Bluetooth Protocol Stack Technology Profiles
Bluetooth Stack Examples Overview FAQ
WPAN Technology Tutorial Baseband RFCOMM L2CAP LMP HCI


specs specifications docs pdfs WPAN Wireless Personal Area Network
 
 

Members

Member:

Password:

Forgot your
password?


New Member


 
 

 

 
Radio Baseband LMP HCI L2CAP RFCOMM SDP Profiles

Common ISDN Access Profile

    The Common ISDN Access Profile defines provision of ISDN services over Bluetooth in a way that allows application interfaces to be implemented without loss of backward compatibility to existing (legacy) ISDN applications based on the Common-ISDN-Application Programming Interface (CAPI).

For more details : Download the CIP Profile from the Bluetooth.org website.

        Table Of Contents

1 Profile Overview
1.1 Introduction
1.2 Profile Dependencies/Stack
1.3 Configurations/Roles
1.4 User Requirements/Scenarios
1.5 Profile Fundamentals
2 Application Layer
3 Interoperability Requirements
4 Service Discovery
5 L2CAP
5.1 Channel Types
5.2 Configuration Options
6 LMP Procedures Overview
6.1 Capability Overview
6.2 Master-slave Switch
6.3 Authentication and Pairing
6.4 Encryption
7 Link Control Features
7.1 Inquiry Scan
7.2 Inter-piconet Capabilities
8 CAPI Message Transport Protocol
8.1 Structure of a CMTP Message

 

 

Profile Overview

1.1   Introduction

    The purpose of the Common ISDN Access Profile (CIP) is:

  1. to define how applications shall access ISDN over Bluetooth;
  2. to allow wherever possible unrestricted access to services, data or signaling provided by ISDN;
  3.  to ensure that legacy ISDN applications do continue to work without any modification inside that application itself;
  4.  to define how the ISDN access co-exists with Bluetooth Specifications and Profiles that possibly access ISDN in one way or other;
  5.  to show how ISDN over Bluetooth can co-exist with existing ISDN in one application.

 

1.2   Profile Dependencies/Stack

    The Common ISDN Access Profile is dependent only upon the Generic Access Profile (GAP). The terminology, user interface and security aspects, modes and procedures as defined in the GAP are applicable to this profile,

Image reprinted from Bluetooth CIP Profile, Figure 2.1 , page 13

    This profile defines the requirements for each of the layers in the protocol model above for the Common ISDN Access Profile.

    The Baseband, LMP and L2CAP are the lower layer Bluetooth protocols [1,2,3]. SDP is the Bluetooth Service Discovery Protocol.

    CMTP is the CAPI Message Transport Protocol, while CAPI stands for Common ISDN Application Programming Interface. This is publicly available from the CAPI Association e.V. under http://www.capi.org  This profile refers especially to Common ISDN Application Programming Interface Part II, and PART IV Section 9.2.3.

  • The CAPI Message Gateway (CMG) is an optional, functional entity. Its presentation here only depicts the routing of the CAPI Messages between the Bluetooth protocol stack and the ISDN protocol stack with the OSI layer 1 to 3 for the ISDN B- and D-Channels. The CMG is a manufacturer dependent piece of software and out of scope in this profile.
  • The CAPI Message Client (CMC) is an optional, functional entity that routes CAPI Messages between the client CAPI Interface and the Bluetooth protocol stack. The CMC is manufacturer dependent and out of the scope of this profile.

 

1.3   Configurations/Roles

    The following roles are defined in this profile:

  • Access Point (AP): The AP acts as a terminal endpoint from the external network point of view and handles all interworking towards that network. The AP is the central point with respect to external calls, which means that it handles the D-Channel Protocol on the ISDN and routes the signaling requests and indications via CAPI Messages to the ISDN client. The AP shall accept more than one IC in parallel.
  • ISDN Client (IC): The IC is the client that accesses the AP wireless and may offer CAPI to the user. The IC can for example be a laptop, PC, handheld, cordless phone or otherwise.

    A device may implement both roles if suitable for its design.

 

1.4  User Requirements/Scenarios

    Only one scenario has to be defined:

  • Connecting to the AP so that CAPI Messages can be routed from and to the IC.

    This enables the IC to use all ISDN features defined in Common ISDN Application Programming Interface  like for instance: telephony, HDLC (internet), X.75, facsimile, supplementary services.

 

1.5  Profile Fundamentals

    The AP may be the master of the piconet in the Common ISDN Access Profile. If the IC is not connected to an AP and wishes to establish a connection it shall attempt to page a local AP.

    An AP should devote as much of its free capacity as possible (considering power limitations and ongoing signaling) to page scanning in order to allow roaming ICs that enter the range of the AP to find it as quickly as possible. This scheme minimizes radio traffic and gives reasonable access time when the IC comes into range of the AP.

    When an IC has successfully paged an AP, the AP may request a master-slave switch. A connection-oriented L2CAP channel shall be established and is used for all data transfer. Note: The AP may defer a master slave switch request. As an example, in a single IC environment this allows the IC to stay as master, so the IC can continue to drive other Bluetooth devices.

    For security purposes, mutual authentication of ICs and AP shall be performed, and all data shall be encrypted.

 

Application Layer

    The following text, together with the associated sub-clauses, defines the feature requirements with regard to this profile.

Image reprinted from Bluetooth CIP Profile, Table 3.1 , page 16

   

Interoperability Requirements  

    As stated above, this profile requires compliance to the Generic Access Profile. Section 4 of the actual Common ISDN Access Profile defines the support requirements with regards to procedures and capabilities defined in the Generic Access Profile. This shows

  • the support status for modes within the support status for modes within this profile
  • the support status for security aspects within this profile.
  • the support status for idle mode procedures within this profile.

    Note: Bonding, The IC shall support initiation of bonding, and the AP shall accept bonding.

 

Service Discovery

    See Section 5 of the actual Common ISDN Access Profile for a table of all entries in the SDP database of the AP defined by this profile.

 

L2CAP

5.1  Channel Types

    In this profile, only connection-oriented channels shall be used.

5.2  Configuration Options

    This section describes the usage of configuration options in the Common ISDN Access Profile..

Maximum Transmission Unit (MTU)

The maximum transmission unit (MTU) a L2CAP implementation uses for this profile shall support at least 152 octets.

Flush Time-out

The flush timeout value used for both the AP and the IC shall be the default value of 0xFFFF.

Quality of Service

CMTP does not rely on a guaranteed quality of service (QoS), therefore the client shall set-up the connection with default QoS values.

Due to the nature of the ISDN Client applications the optimum bandwidth can be determined by the Access Point while connected. To achieve optimal bandwidth usage, the Access Point should reconfigure the QoS parameters of each connection dynamically, if necessary.

 

LMP Procedures Overview

6.1  Capability Overview

    In this section, the LMP layer is discussed. Table 7.1 on the Common ISDN Access Profile ,  shows which LMP features are mandatory to support with respect to this profile, which are optional and which are excluded. The reason for excluding features is that they may degrade operation of devices in this profile. Therefore, a unit active in this profile shall never activate these features.

 

6.2  Master-slave Switch

    The AP may be the master of the piconet. The AP may request a master-slave switch when an IC connects. If the IC rejects the request, the AP shall detach it.

    Consequently, an IC shall accept master-slave switch requests of the AP, however, the AP may refuse a connection.

 

6.3  Authentication and Pairing

    Only Combination keys shall be used for authentication This also yields for the mutual authentication during the pairing procedure or any change of the connection link key.

 

6.4  Encryption

    The encryption key size should be negotiated to 16 bytes (128 bits). If restricted by any regulation, a smaller key size shall be accepted. The AP shall initiate encryption immediately after successful authentication.

 

Link Control Features

7.1  Inquiry Scan

    A device, which is active in the AP role of the Common ISDN Access Profile may, in the Class of Device field:

  1. Indicate the value for ‘Phone’ as Major Device Class
  2. Indicate the value for ‘Common ISDN Access’ as Minor Device Class

    The device shall set the ‘Networking’ and ‘Telephony’ bits in the Service Class field. This may be used by an inquiring device to filter the inquiry responses.

 

7.2  Inter-piconet Capabilities

   Inter-piconet capability is the capability, as master, to keep the synchronization of a piconet while page scanning in free slots and allowing for new members to join the piconet. While a new unit is joining the piconet (until the master-slave switch has been performed), operation may temporarily be degraded for the other members.

    The AP should be able to accept requests from other clients and such may need limited inter-piconet capabilities. The case that a piconet is full shall be handled by the application.

 

 

CAPI Message Transport Protocol

    The CAPI Message Transport Protocol (CMTP) is used to transfer Common ISDN Application Interface messages. The data is transferred via L2CAP. The CAPI Messages itself are specified in the Common ISDN Application Interface, which is publicly available from the CAPI Association e.V. under http://www.capi.org 

    To achieve the use of maximum Bluetooth bandwidth it is reasonable to concatenate several messages in one (L2CAP) data block. For data delay reason it is sensible to transport the data as quickly as possible. Therefore data should be sent immediately after reception from the ISDN line. In case of a receive error the partly transferred blocks can be discarded by setting an error value in the last part of the message.

    Besides concatenation of CAPI Messages as stated above, CAPI Messages may be split over several CMTP messages. CMTP messages shall not be split over multiple L2CAP packets.

    Parts of different CAPI Messages may be interleaved by using different CMTP Block IDs.

Image reprinted from Bluetooth CIP Profile, Figure 9.1 & 9.2 , page 24

 

8.1 Structure of a CMTP Message

    A single CMTP message shall consist of at least a message header, which shall be followed by the length field and the payload body (see Figure below) as indicated in the header. The payload shall transport the CAPI Message. For coding of the payload length Little Endian format is used. The payload length shall be in the range of zero to 216 -1 Bytes (0..65535 Bytes). If there is no length field then the payload length is 0.

    As indicated in the table below. the CAPI Block ID shall be used to identify the segmented parts of CAPI Messages if CAPI Messages are interleaved. Adjacent, non interleaved CAPI Messages may use the same CAPI block ID. Up to 16 segmented not yet completed CAPI Messages may be outstanding.

 

Image reprinted from Bluetooth CIP Profile, Figure 9.3 , page 25

 

 

Note , the above text contains excerpts from the Bluetooth SIG's Specification, as well as various interpretations of the Specs. For complete details of the various sections, consult the actual Bluetooth Specification.