The Bluetooth® Configurator contains several tabs in which to configure parameters. The set of active tabs depends on the selected device and other parameter values.

General tab (Option1, Option3)

The

General

tab allows general configuration of the Bluetooth® resource and displays depending on the mode selected:

for Option1


../figures/image9.png

for Option3


../figures/image10.png

The following chapters describe the

General (Option1, Option3)

tab settings.

Bluetooth® mode

The

Bluetooth® mode

parameter supports the following functionality in different modes:

  • Single mode LE

    – Only the Low Energy.

  • Single mode BR/EDR

    – Only the Basic Rate (BR)/Enhanced Data Rate (EDR) or "classic" Bluetooth®.

  • Dual mode

    – Both the Low Energy and BR/EDR.

Class of device

The

Class of Device

group of parameters indicates the device type and is available in

Single mode BR/EDR

or

Dual mode

:

  • Service classes

    – Defines the general categories of devices your application will be associated with.

  • Major

    – Defines the main device’s function.

  • Minor 1

    – Extends the Major device class value.

  • Minor 2

    – Extends the Major device class value.

Isochronous Connection configuration

The

Isochronous Connection

configuration group is located in the

General LE

tab and is available in

Single mode LE

, and

Dual mode

. Isochronous Channels support is one of the main new features added in Bluetooth® specification 5.2. In conjunction with new GATT Audio profiles, it supports Bluetooth® LE Audio transport. LE Audio exists in the two main forms:

  • Multi-Stream Audio – Supports the connection between an audio source device and one or more audio sink devices. It is bidirectional, with acknowledgments.

  • Auracast™ Broadcast audio. – Supports the broadcasting of one or more audio streams from the source to an unlimited number of sink devices. It is unidirectional, without acknowledgments.

Isochronous Connection configuration

parameters:

  • Max SDU size

    – The maximum size of Service Data Unit (octets).

  • Max audio channels per packet

    – The maximum number of audio channels (left, right …) contained in one packet.

  • Max number of CIS connections

    – The maximum number of Connected Isochronous Stream connections. CIS is point-to-point, bidirectional connection between the central and peripheral device.

  • Max number of CIG connections

    – The maximum number of Connected Isochronous Groups. CIG is the group of one or more Connected Isochronous Streams created by the central device.

  • Max number of buffers per CIS

    – The maximum number of buffers per one Connected Isochronous Stream.

  • Max number of BIG connections

    – The maximum number of Broadcast Isochronous Groups. BIG is the group of one or more Broadcast Isochronous Streams created by the Isochronous Broadcaster device.

BR/EDR configuration

The

BR/EDR configuration

group of parameters is available only for

Single mode BR/EDR

and

Dual mode

:

  • Max simultaneous connections

  • Max size of received L2CAP PDU

  • Max Audio/Video connections

  • Max Audio/Video stream end points

  • Max Audio/Video remote control connections

  • Max RFCOMM connections

  • Max RFCOMM ports

General tab (Option4)

The

General

tab for

Option4

allows general configuration of the Bluetooth® resource. The tab displays as follows, depending on the mode selected.


../figures/image11.png

The following chapters describe the

General (Option4)

tab settings:

Complete Bluetooth LE Protocol

The

Complete Bluetooth LE Protocol

mode enables both Bluetooth® Host and Controller. All GAP roles are exposed for configuration.

Maximum number of Bluetooth® LE connections

This parameter displays how many Bluetooth® LE connections (both Central and Peripheral) are allowed. The valid range is 1 - 4.

GAP role

The

GAP role

parameter can take the following values:

  • Peripheral

    – Defines the device to advertise using connectable advertising packets in order to establish connection. Peripheral devices need a Central device, because the Central device initiates connection. A Peripheral device can broadcast general information about the device through the advertisement data.

  • Central

    – Defines the device to initiate connection. Peripheral devices need a Central device, because the Central device initiates connection.

  • Broadcaster

    – Defines the device to send advertising data – similar to the Peripheral role. However, the Broadcaster does not support connection, it sends data but does not receive it.

  • Observer

    – Defines the device to scan for a Broadcaster and reports the received information to an application. The Observer role does not allow transmission.

Bluetooth LE Controller only (HCI)

HCI

mode enables the use of the device as

Bluetooth LE Controller

. Selecting this mode makes all other tabs unavailable.


../figures/image12.png

General LE tab (Option2, Option3)

The

General LE (Option2, Option3)

tab allows general configuration of the Bluetooth® resource and displays:

for Option2


../figures/image13.png

for Option3


../figures/image14.png

The following chapters describe the

General LE tab (Option2, Option3)

tab settings.

Enable GATT database

This parameter enables the GATT database. When not enabled, the

GATT Settings

tab hides and the files

cycfg_gatt_db.h

and

cycfg_gatt_db.c

are not generated.

Maximum remote clients/servers connections

These parameters display the maximum number of clients/servers that a local server can connect to.

Maximum attribute length

This value is the maximum length of an attribute in the design. The valid range is 23 - 512 bytes.

Note:

This parameter is used in BTSTACK 3.0 or earlier.

Attribute MTU size

This value is the Maximum Transmission Unit size (bytes) of an attribute in the design. The valid range is 23 - 517 bytes. This value is used to respond to an Exchange MTU request from the GATT Client.

Note:

This parameter is used in BTSTACK 3.0 or earlier.

RX PDU size

This value is the maximum size allowed for any received L2CAP PDU. The valid range is 65 - 65535 bytes.

Note:

This parameter is used in BTSTACK 3.0 or earlier.

GATT Settings tab (Option1..4)

The

GATT Settings (Option1..4)

tab is used to configure Profile-specific parameters. The tab has three areas: toolbars,

Profiles

tree, and Parameters configuration pane. Depending on the selected device, some parameters may be unavailable. The tab displays:

for Option1


../figures/image15.png

for Option4


../figures/image16.png

for Option2, Option3


../figures/image17.png

Toolbars (GATT Settings)

The toolbars contain navigation options and various commands to add or delete Services, Characteristics, and Descriptors.

  • Server instances

    (

    Option4

    ) – The number of GATT Server instances. The Bluetooth® resource supports a single instance of a GATT Server (single GATT database). You can add additional Services or complete Profiles to the existing Server Profiles tree to build the GATT database. This single GATT database will be re-used across all Bluetooth® Low Energy connections.

Note:

The CCCD values for each of active connections will be unique.

  • Client instances

    (

    Option4

    ) – The number of GATT Client instances. One GATT Client instance exists per connection. You can configure up to four GATT Client instances. All GATT Client instances have one common Client Profiles tree configuration.

  • Add Profile

    – Available when the GATT node is highlighted in the Profile tree. It allows adding a whole Profile to the Profiles tree. This option does not remove existing Services from the tree. Several Profiles can exist in the tree simultaneously.

  • Add Service

    – Available when the Profile Role is highlighted in the Profile tree. Allows loading of Services in the selected Profile Role. In the GATT server configuration, adds the selected service data to the server GATT database and enables service-specific APIs.

    For

    Option4

    , in the GATT client configuration, the data structures for auto discovery of this service are created. If services not populated in the GUI are discovered during auto discovery, this option ignores those services and the application is responsible for discovering the details of such services. Refer to the

    Profiles

    section for the available Services.

  • Add Characteristic

    – Available when a service is highlighted in the Profile tree. The Characteristic options are unique to each Service and are loaded automatically when a service is added to the design. The Add Characteristic button can be used to manually add a new characteristic to the service. All characteristics for the above-mentioned services plus Custom Characteristic are available for selection.

  • Add Descriptor

    – Available when a characteristic is highlighted in the Profile tree. Similar to the Characteristic options, the Descriptor options are unique to a characteristic and are all automatically loaded when a characteristic is added to the design.

  • Delete

    – Deletes the selected Service, Characteristic, or Descriptor.

  • Rename

    – Renames the selected item in the Profiles tree.

  • Copy/Paste

    – Copies/pastes items in the Profiles tree.

  • Move Up/Down

    – Moves the selected item up or down in the Profiles tree.

  • Reset branch to default

    – Resets the selected item with child items in the Profiles tree to the default.

  • Expand Al

    l – Expands all items in the Profiles tree.

  • Collapse all Services

    – Collapses all Services in the Profiles tree.

Profiles tree

The

Profiles

tree is used to view GATT Services, Characteristics, and Descriptors of the GATT Server and Client roles (GATT Client role is supported for

Option4

. By navigating through the tree, you can quickly add, delete, or modify Services, Characteristics, and Descriptors using the toolbar buttons or the context menu. You can configure the parameters by clicking an item on the tree. These parameters will show in the

Parameters configuration

section.

For GATT Services defined by Bluetooth® SIG (except for Generic Attribute and Generic Access), the version number displays on the tree next to the Service name. This corresponds to the Service specification version currently implemented in the Bluetooth® Configurator.

The tree may contain the following nodes:

  • ../figures/image18.png

    Profile

  • ../figures/image19.png

    Profile Role

  • ../figures/image20.png

    Service

  • ../figures/image21.png

    Characteristic

  • ../figures/image22.png

    Descriptor

In addition, nodes may include colors and icons as follows:

  • ../figures/image20.png

    Shaded icon – The node is mandatory

  • ../figures/image23.png

    White icon – The node is optional

  • ../figures/image24.png

    A '+' sign – The Service includes other Services

  • ../figures/image25.png

    Error icon – The node parameters have errors

Parameters configuration

The Parameters configuration pane allows you to configure a Profile, Service, or Characteristic by selecting the type of a Service or Characteristic in the tree. The filter box above the list of parameters allows limiting the items shown in the pane.

Attribute MTU size

Applicable for

Option4

. The Maximum Transmission Unit size (bytes) of an attribute to be used in the design. The valid range is 23 – 512 bytes. This value is used to respond to an Exchange MTU request from the GATT Client.

Profiles

You can add a whole profile to the Profiles tree from a list of supported profiles.

Note:

All Profiles must have a Generic Access Service and a Generic Attribute Service.

Note:

For

Option1

,

Option2

, and

Option3

devices, only the GATT Server role is configurable.

Note:

The Service Characteristics are configurable only if they belong to a GATT Server node.

Note:

The security settings located in the

GAP Settings

tab are applied globally. Also, you may manually configure the security of each Characteristic/Descriptor.

The following profiles are available for selection:

Alert Notification

This profile enables a GATT Client device to receive different types of alerts and event information, as well as information on the count of new alerts and unread items, which exist in the GATT Server device.

  • Alert Notification Server Profile role – Specified as a GATT Server. Requires the following Service: Alert Notification Service.

  • Alert Notification Client Profile role – Specified as a GATT Client.

Refer to the

Alert Notification Profile Specification

for detailed information about the Alert Notification Profile.

Automation IO

This profile enables a device to connect and interact with an Automation IO Module (IOM) in order to access digital and analog signals.

  • Automation IO Server Profile role – Specified as a GATT Server. Requires the following Service: Automation IO Service.

  • Automation IO Client Profile role – Specified as a GATT Client.

Refer to the

Automation IO Profile Specification

for detailed information about the Automation IO Profile.

Blood Pressure

This profile enables a device to connect and interact with a Blood Pressure Sensor device for use in consumer and professional health care applications.

  • Blood Pressure Sensor Profile role – Specified as a GATT Server. Requires the following Services: Blood Pressure Service, Device Information Service.

  • Blood Pressure Collector Profile role – Specified as a GATT Client. Requires support of the following Services: Blood Pressure Service. Support of Device Information Service is optional.

Refer to

Blood Pressure Profile Specification

for detailed information about the Blood Pressure Profile.

Continuous Glucose Monitoring

This profile enables a device to connect and interact with a Continuous Glucose Monitoring Sensor device for use in consumer healthcare applications.

  • Continuous Glucose Monitoring Sensor Profile role – Specified as a GATT Server. Requires the following Services: Continuous Glucose Monitoring Service, Device Information Service. Optionally may include Bond Management Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Services: Continuous Glucose Monitoring Service. Support of Bond Management Service and Device Information Service is optional.

Refer to

Continuous Glucose Monitoring Profile Specification

for detailed information about the Continuous Glucose Monitoring Profile.

Cycling Power

This profile enables a Collector device to connect and interact with a Cycling Power Sensor for use in sports and fitness applications.

  • Cycling Power Sensor Profile role – Specified as a GATT Server. Requires the following Service: Cycling Power Service. Optionally may include Device Information Service and Battery Service.

  • Cycling Power Sensor and Broadcaster Profile role. Requires the following Service: Cycling Power Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Service: Cycling Power Service. Support of Device Information Service and Battery Service is optional.

Refer to

Cycling Power Profile Specification

for detailed information about the Cycling Power Profile.

Cycling Speed and Cadence

This profile enables a Collector device to connect and interact with a Cycling Speed and Cadence Sensor for use in sports and fitness applications.

  • Cycling Speed and Cadence Sensor Profile role – Specified as a GATT Server. Requires the following Service: Cycling Speed and Cadence Service. Optionally may include Device Information Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Service: Cycling Speed and Cadence Service. Support of Device Information Service is optional.

Refer to

Cycling Speed and Cadence Profile Specification

for detailed information about the Cycling Speed and Cadence Profile.

Environmental Sensing Profile

This profile enables a Collector device to connect and interact with an Environmental Sensor for use in outdoor activity applications.

  • Environmental Sensor Profile role – Specified as a GATT Server. Requires the following Service: Environmental Sensing Service. Optionally may include Device Information Service and Battery Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Service: Environmental Sensing Service. Support of Device Information Service and Battery Service is optional.

Refer to

Environmental Sensing Profile Specification

for detailed information about the Environmental Sensing Profile.

Find Me

This profile defines the behavior when a button is pressed on one device to cause an alerting signal on a peer device.

  • Find Me Target Profile role – Specified as a GATT Server. Requires the following Service: Immediate Alert Service.

  • Find Me Locator Profile role – Specified as a GATT Client. Requires support of the following Service: Immediate Alert Service.

Refer to

Find Me Profile Specification

for detailed information about the Find Me Profile.

Glucose

This profile enables a device to connect and interact with a Glucose Sensor for use in consumer healthcare applications.

  • Glucose Sensor Profile role – Specified as a GATT Server. Requires the following Services: Glucose Service, Device Information Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Service: Glucose Service. Support of Device Information Service is optional.

Refer to

Glucose Profile Specification

for detailed information about the Glucose Profile.

Health Thermometer

This profile enables a Collector device to connect and interact with a Thermometer sensor in healthcare applications.

  • Thermometer Profile role – Specified as a GATT Server. Requires the following Services: Health Thermometer Service, Device Information Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Service: Health Thermometer Service. Support of Device Information Service is optional.

Refer to

Health Thermometer Profile Specification

for detailed information about the Health Thermometer Profile.

HTTP Proxy

This service allows a Client device, typically a sensor, to communicate with a Web Server through a gateway device. HTTP Proxy Service is not available in the Add Profile drop-down list. It can be added as a separate Service.

Refer to

HTTP Proxy Service Specification

for detailed information about the HTTP Proxy Service.

Heart Rate

This profile enables a Collector device to connect and interact with a Heart Rate Sensor for use in fitness applications.

  • Heart Rate Sensor Profile role – Specified as a GATT Server. Requires the following Services: Heart Rate Service, Device Information Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the Heart Rate Service. Support of Device Information Service is optional.

Refer to

Heart Rate Profile Specification

for detailed information about the Heart Rate Profile.

HID over GATT

This profile defines how a device with Bluetooth® LE wireless communications can support HID Services over the Bluetooth® LE protocol stack using the Generic Attribute Profile.

  • HID Device Profile role – Specified as a GATT Server. Requires the following Services: HID Service, Battery Service, and Device Information Service. Optionally may include Scan Parameters Service as part of the Scan Server role of the Scan Parameters Profile. HID Device supports multiple instances of HID Service and Battery Service and may include any other optional Services.

  • Boot Host Profile role – Specified as a GATT Client. Requires support of the following Service: HID Service. Support of Battery Service and Device Information Service is optional.

  • Report Host Profile role – Specified as a GATT Client. Requires support of the following Services: HID Service, Battery Service, Device Information Service. Support of Scan Client role of the Scan Parameters is optional.

  • Report and Boot Host Profile role – Specified as a GATT Client. Requires support of the following Services: HID Service, Battery Service, Device Information Service. Support of Scan Client role of the Scan Parameters is optional.

Refer to

HID over GATT Profile Specification

for detailed information about the HID over GATT Profile.

Indoor Positioning

This service exposes location information to support mobile devices to position themselves in an environment where GNSS signals are not available. For example, on indoor premises. The location information is mainly exposed via advertising and the GATT-based service is primarily intended for configuration.

The Indoor Positioning Service is not available in the Profile drop-down list. It can be added as a separate Service.

Refer to

Indoor Positioning Service Specification

for detailed information about the Indoor Positioning Service.

Internet Protocol Support

This profile provides the support of exchanging Ipv6 packets between devices over the Bluetooth® Low Energy transport. The IPSP defines two roles – Node role and Router role. A device may support both Node role and Router role. A device supporting the Node role can be a sensor or actuator. A device supporting the Router role can be an Access Point (such as home router, mobile phone, or similar).

  • Node Profile role – Specified as a GATT Server. Requires the following Service: Internet Protocol Support Service.

  • Router Profile role – Specified as a GATT Client. Requires support of the following Services: Internet Protocol Support Service.

Refer to

Internet Protocol Support Profile Specification

for detailed information about IPSP.

Location and Navigation

This profile enables devices to communicate with a Location and Navigation Sensor for use in outdoor activity applications.

  • Location and Navigation Sensor Profile role – Specified as a GATT Server. Requires the following Service: Location and Navigation Service. Optionally may include Device Information Service and Battery Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Services: Location and Navigation Service. Support of Device Information Service and Battery Service is optional.

Refer to

Location and Navigation Profile Specification

for detailed information about the Location and Navigation Profile.

Object Transfer

This profile defines the fundamental requirements to enable an Object Client in order to create and delete objects and to execute a variety of actions using the currently-selected object such as reading the object data from or writing the object data to an Object Server that exposes the Object Transfer Service. This profile is designed to be referenced by a higher-layer specification to enable a variety of object transfer use cases.

  • Object Server role – Specified as a GATT Server. The Object Server device interacts with an Object Client to read or write the object data and expose the object metadata. Requires the Object Transfer Service.

  • Object Client role – Specified as a GATT Client. The Object Client device initiates the reading, writing or another object action from the Object Server. Requires the Object Transfer Service.

Refer to

Object Transfer Profile Specification

for detailed information about the Object Transfer Profile.

Phone Alert Status

This profile enables a device to alert its user about the alert status of a phone connected to the device.

  • Phone Alert Server Profile role – Specified as a GATT Server. Requires the following Services: Phone Alert Status Service.

  • Phone Alert Client Profile role – Specified as a GATT Client. Requires support of the following Service: Phone Alert Service.

Refer to

Phone Alert Status Profile Specification

for detailed information about the Phone Alert Status Profile.

Proximity

This profile enables the proximity monitoring between two devices.

  • Proximity Reporter Profile role – Specified as a GATT Server. Requires the following Service: Link Loss Service. Optionally may include Immediate Alert Service and TX Power Service if both are used. Using only one of the optional Services is not allowed.

  • Proximity Monitor Profile role – Specified as a GATT Client. Requires support of the following Services: Link Loss Service. Support of Immediate Alert Service and TX Power Service is optional. Same restrictions apply as to Proximity Reporter.

Refer to

Proximity Profile Specification

for detailed information about the Proximity Profile.

Pulse Oximeter

This profile enables a device to connect and interact with a Pulse Oximeter device for use in consumer and professional health care applications.

  • Pulse Oximeter Sensor Profile role – Specified as a GATT Server. Requires the following Services: Pulse Oximeter Service, Device Information Service. Optionally may include Bond Management Service, Current Time Service and Battery Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Services: Pulse Oximeter and Device Information Service. Support of Bond Management Service, Current Time Service and Battery Service are optional.

Refer to

Pulse Oximeter Profile Specification

for detailed information about the Pulse Oximeter Profile.

Running Speed and Cadence

This profile enables a Collector device to connect and interact with a Running Speed and Cadence Sensor for use in sports and fitness applications.

  • Running Speed and Cadence Sensor Profile role – Specified as a GATT Server. Requires the following Service: Running Speed and Cadence Service. Optionally may include Device Information Service.

  • Collector Profile role – Specified as a GATT Client. Requires support of the following Services: Running Speed and Cadence Service. Support of Device Information Service is optional.

Refer to

Running Speed and Cadence Profile Specification

for detailed information about the Running Speed and Cadence Profile.

Scan parameters

This profile defines how a Scan Client device with Bluetooth® LE wireless communications can write its scanning behavior to a Scan Server, and how a Scan Server can request updates of the Scan Client scanning behavior.

  • Scan Server Profile role – Specified as a GATT Server. Requires the following Service: Scan Parameters Service.

  • Scan Client Profile role – Specified as a GATT Client. Required support of the following Service: Scan Parameters Service.

Refer to

Scan Parameters Profile Specification

for detailed information about the Scan Parameters Profile.

Time

This profile enables the device to get the date, time, time zone, and DST information and control the functions related to time.

  • Time Server Profile role – Specified as a GATT Server. Requires the following Service: Current Time Service. Optionally may include Next DST Change Service and Reference Time Update Service.

  • Time Client Profile role – Specified as a GATT Client. Requires support of the following Service: Current Time Service. Support of Next DST Change Service and Reference Time Update Service is optional.

Refer to

Time Profile Specification

for detailed information about the Time Profile.

Weight Scale

This profile is used to enable a data collection device to obtain data from a Weight Scale that exposes the Weight Scale Service.

  • Weight Scale Profile role – Specified as a GATT Server.

  • Requires the following Services: Weight Scale Service and Device Information Service.

  • Optionally may include: User Data Service, Body Composition Service, Battery Service and Current Time Service.

  • Collector Profile role – Specified as a GATT Client.

  • Required support of the following Service: Weight Scale Service and Device Information Service.

  • Support of User Data Service, Body Composition Service, Battery Service and Current Time Service is optional.

Refer to

Weight Scale Profile Specification

for detailed information about the Weight Scale Profile.

Wireless Power Transfer (A4WP)

Enables the communication between Power Receiver Unit and Power Transmitter Unit in Wireless Power Transfer systems.

  • Power Receiver Unit Profile role – Specified as a GATT Server. Requires the following Service: Wireless Power Transfer.

  • Power Transmitter Unit Profile role – Specified as a GATT Client. Requires support of the following Service: Wireless Power Transfer.

Wireless Power Transfer Profile is a custom service defined by the Alliance for Wireless Power (A4WP). Refer to the

AirFuel Alliance

web site for detailed information about the Wireless Power Transfer Profile.

Bootloader profile

(

Option4

) The Bluetooth® Configurator supports the Bootloader Profile and Bootloader Service, which allow a Bootloader to update the existing firmware on the Bluetooth® Low Energy device. The Bootloader Service uses the Bluetooth® Low Energy interface as a communication interface. It can be added to any of the profiles if the design requires updating the firmware Over-the-Air (OTA).

Refer to the

Bootloader service configuration

section for detailed information about the Bootloader Service.

OTA Upgrade and OTA Secure Upgrade services

(

Option1

devices only) The Bluetooth® resource provides the firmware upgrade feature. It supports secure and non-secure versions of the upgrade. The OTA Upgrade Service supports the non-secure upgrade, and the OTA Secure Upgrade Service supports the secure upgrade. They can be added to any of the profiles if the design requires updating the firmware OTA.

Refer to the

AIROC™ Firmware Upgrade Library

documentation for detailed information about the OTA Upgrade and OTA Secure Upgrade Services.

Generic Access service

The

Generic Access Service

is used to define the basic Bluetooth® connection and discovery parameters. Click on the Characteristic under the Generic Access Service to view particular Characteristic settings.


../figures/image26.png

When the

GAP Settings

tab is available, you perform the actual Characteristics configuration in the General options located in it.

  • Device Name

    – This is the name of your device. It has a Read (without authentication/authorization) property associated with it by default. This parameter can be up to 248 bytes. For

    Option2

    ,

    Option3

    , and

    Option4

    , the value comes from the

    Device Name

    field on the

    GAP Settings

    tab, under

    General

    .

  • Appearance

    – The device's logo or appearance, which is a SIG defined 2-byte value. It has a Read (without authentication/authorization) property associated with it by default. For

    Option2

    ,

    Option3

    , and

    Option4

    , the value comes from the

    Appearance

    field on the

    GAP Settings

    tab, under

    General

    .

  • Peripheral Preferred Connection

    – A device in the peripheral role can convey its preferred connection parameter to the peer device. This parameter is 8 bytes in total and is composed of the following sub-parameters.

Note:

This parameter is available only when the device supports a Peripheral role. Refer to the

GAP Settings tab Connection parameters

section for more information.

Note:

Minimum Connection Interval

– A 2-byte parameter that denotes the minimum permissible connection time.

Note:

Maximum Connection Interval

– A 2-byte parameter that denotes the maximum permissible connection time.

Note:

Peripheral Latency

– A 2-byte value that defines the latency between consecutive connection events.

Note:

Connection Supervision Timeout

– A 2-byte value that denotes the LE link supervision timeout interval. Defines the timeout duration for which an LE link needs to be sustained if there is no response from the peer device over the LE link.

Note:

For proper operation, the

Connection Supervision Timeout

must be larger than (1 + Peripheral latency) * Connection Interval * 2 (ms). Refer to Bluetooth® Core Specification Volume 6, Part B, Chapter 4.5.2 for more information on Connection Supervision Timeout.

Note:

The above parameters are used for the connection parameters update procedure over L2CAP if a GAP central device does not use the peripheral preferred connection parameters. For example, iOS7 ignores peripheral preferred connection parameter Characteristics and establishes a connection with a default 30 ms connection interval. The peripheral device requests a connection parameter update by sending an L2CAP connection parameter update request at an appropriate time.

Note:

A typical peripheral implementation initiates the L2CAP connection parameter update procedure once any Characteristic is configured for periodic notification or indication.

  • Central Address Resolution

    – A device in the central role can convey whether it supports privacy with address resolution. The Peripheral checks if the peer device supports address resolution by reading the

    Central Address Resolution

    characteristic before using directed advertisement where the initiator address is set to a Resolvable Private Address (RPA).

  • Resolvable Private Address Only

    – Defines whether the device will use only Resolvable Private Addresses (RPAs) as local addresses.

Generic Attribute service

By default, the

Generic Attribute Service

does not have any Characteristics.


../figures/image27.png

Add the optional

Service Changed

characteristic under the

Generic Attribute Service

if needed.

  • Service Changed

    – This Characteristic is used to indicate to the connected devices that a Service has changed (added, removed, modified). It is used to indicate to GATT Clients that have a trusted relationship (bond) with the GATT Server when GATT-based Services have changed when they re-connect to the GATT Server. It is mandatory for the device in the GATT Client role. For the device in the GATT Server role, the Characteristic is mandatory if the GATT Server changes the supported Services in the device.

Custom Service configuration


../figures/image28.png

  • UUID

A universally unique identifier of the service. This field is editable for Custom Services. By default, it is initialized with a random 128-bit UUID.

  • Service type

    • Primary

      – Represents the primary functionality of the device.

    • Secondary

      – Represents additional functionality of the device. The secondary service must be included in another service.

  • Included sevirces

This is the list of the services that can be included in the selected service. Each service may have one or more included services. The included services provide additional functionality for the service.

Custom Characteristic configuration


../figures/image29.png

  • UUID

    A universally unique identifier of the Characteristic. This field is editable for

    Custom Characteristic

    . By default, it is initialized with a random 128-bit UUID.

  • Fields

    The fields represent a Characteristic value. The default value for each field can be set in the Value property. The fields are customizable for the Custom Characteristic. You can add or delete fields using the tool buttons located above the Properties editor.

  • Properties

    The Characteristic properties define how the Characteristic value can be used. Some properties (Broadcast, Notify, Indicate, Reliable Write, Writable Auxiliaries) require the presence of a corresponding Characteristic Descriptor. For details, see

    Bluetooth ® Core Specification

    Vol.3, part G (GATT), Section 3.3.1.1 "Characteristic Properties".

  • Permissions

    Characteristic permissions define how the

    Characteristic Value

    attribute can be accessed and the security level required for this access. Access permissions are set based on the Characteristic properties.

    Permissions parameters differ depending on the selected device.

    For

    Option4

    , the

    Auto sync

    property is available which determines if the

    Security permissions

    are automatically updated when the

    Security Mode

    or

    Security Level

    parameters are changed in

    Security Configuration 0

    on the

    GAP Settings

    tab. Additional Security configurations do not affect attribute permissions.

Custom Descriptor configuration


../figures/image30.png

  • UUID

    A universally unique identifier of the

    Descriptor

    . This field is editable for

    Custom Descriptors

    . By default, it is initialized with a random 128-bit UUID.

  • Fields

    Fields represent a descriptor value. The default value for each field can be set in the Value property. In case of the

    Custom Descriptor

    , the fields are customizable. You can add or delete fields using the tool buttons located above the

    Properties

    editor.

  • Permissions

    Descriptor permissions define how the

    Descriptor

    attribute can be accessed and the security level required for this access.

    Permissions

    parameters differ depending on the selected device.

Bootloader service configuration

This service is available only for

Option4

.


../figures/image31.png

  • UUID

    A universally unique identifier of the service. The

    UUID

    is set to 00060000-F8CE-11E4-ABF4-0002A5D5C51B.

Command characteristic configuration


../figures/image32.png

  • UUID

    The universally unique identifier of the Characteristic. The

    UUID

    is set to 00060001-F8CE-11E4-ABF4-0002A5D5C51B.

  • Fields

    • Start of packet

      – The start of a bootloader packet.

    • Command

      – A bootloader command.

    • Status Code

      – Command status code.

    • Data Length

      – The length of a bootloader command/response to set to the maximum command data length possible in the design.

    Per Bluetooth® Low Energy protocol, if the command requires a response larger than 20 bytes, the attribute MTU size should be increased. To support responses with a data length set to 56 (response for Get Metadata command), set the attribute MTU size to 66 according to the equation:

    MTU size = Data Length + Bootloader command overhead + notification parameters overhead where:

    • Data Length = the response data length

    • Bootloader command overhead = 7

    • Notification parameters overhead = 3

    If the requirements are not followed, the Bluetooth® resource will fail to send a response to the requested command.

    • Data

      – Bootloader command data. The length of this field is specified by the Data Length field.

    • Checksum

      – A checksum computed for the entire packet except for the Checksum and End of Packet fields.

    • End of Packet

      – The end of a bootloader packet.

L2CAP Settings tab (Option2, Option3, Option4)

The

L2CAP Settings

define the parameters for L2CAP connection-oriented channel configuration.


../figures/image49.png

Enable L2CAP logical channels

This parameter enables configuration of the L2CAP logical channels.

The default value for

Option4

is true, for

Option2

and

Option3

– false.

Number of L2CAP logical channels

This parameter defines the number of Low Energy

L2CAP

connection oriented logical channels required by the application. The valid range is 1 - 255. Default: 1.

Number of PSMs

This parameter defines the number of PSMs required by the application. The valid range is 1 - 255. Default: 1.

L2CAP MTU size

This parameter defines the maximum SDU size of an L2CAP packet. The valid range is 23 - 65488 bytes. Default: 1280 bytes when Internet Protocol Support Service is supported and 23 bytes otherwise.

The

Link Layer Settings

parameters for the Link Layer.


../figures/image50.png

The maximum link layer transmits a payload size to be used in the design. The actual size of the link-layer transmit packet is decided based on the peer device’s link-layer receive packet size during Data Length Update Procedure and will be informed through the

CY_BLE_EVT_GAP_DATA_LENGTH_CHANGE

event. The valid range is 27 - 251 bytes.

The maximum link layer receives a payload size to be used in the design. The actual size of the link-layer receive packet is decided based on the peer device’s link-layer transmit packet size during Data Length Update Procedure and will be informed through

CY_BLE_EVT_GAP_DATA_LENGTH_CHANGE

event. The valid range is 27 - 251 bytes.

Setting

Link Layer Max TX Payload Size

or

Link Layer Max RX Payload Size

to the value greater than 27 enables the Low Energy Data Length Extension feature.

Filter accept list size

The maximum number of devices that can be added to the

Filter accept list

. The valid range is 1 - 16. Default: 16.

Enables LL Privacy 1.2 feature of Bluetooth® 4.2 and enables generation of

CY_BLE_EVT_GAP_ENHANCE_CONN_COMPLETE

and

CY_BLE_EVT_GAPC_DIRECT_ADV_REPORT

events.

Note:

The

CY_BLE_EVT_GAP_DEVICE_CONNECTED

event is not generated when this feature is enabled.

Resolving list size

The maximum number of peer devices whose addresses should be resolved by this device. This parameter is applicable when the Enable Link Layer Privacy feature is enabled. The valid range is 1 - 16. Default:16.

Enable LE 2 Mbps

Enables the LE 2 Mbps feature of Bluetooth® 5.0.

The LE 2 Mbps feature enables a new Physical (PHY) modulation scheme that allows increasing data throughput between the two devices which support this feature. Refer to Bluetooth® Core Specification v5.0 for more details about this feature.

Use the

Cy_BLE_SetDefaultPhy()

API after the

CY_BLE_EVT_STACK_ON

event to set the preferred default PHY for all connections, or the

Cy_BLE_SetPhy()

API to set PHY for the current connection.

The

CY_BLE_EVT_PHY_UPDATE_COMPLETE

event will indicate when the controller changes the transmitter PHY or receiver PHY in use.

Enable TX Power Calibration Retention

When enabled, the Bluetooth® Low Energy radio TX power calibration is performed only once after programming and the calibration values are retained in the Sflash location. This retained value is reloaded to radio power calibration registers during consecutive device reboots. This reduces the Bluetooth® LE stack boot-up time significantly.

Note:

In Bluetooth® LE Dual-core mode, ensure to call the

Cy_SysDisableCM4()

function before enabling the Bluetooth® LE controller [that is, before calling

Cy_BLE_Enable()

on the controller core].

Note:

The calibration values are retained in user’s row 0 (after

BLE_DEVICE_ADDRESS

) of the Sflash location.

Service Discovery Settings tab (Option1, Option3)

(Beta)

The

Service Discovery Settings

are used to configure SDP Services. This tab is available for

Bluetooth® mode

Single mode BR/EDR

or

Dual mode

. The tab has three areas: toolbars, the Services tree, and the Parameter configuration pane.


../figures/image51.png

Toolbars

The toolbars contain navigation options and means to add or delete Services and Attributes.

  • Add

    – Allows adding a Service or an Attribute to the Services tree. To add an Attribute, highlight the parent Service in the Services tree. Refer to the

    Profiles

    section for the available Services.

  • Delete

    – Deletes the selected Service or Attribute.

  • Rename

    – Renames the selected item in the Services tree.

  • Copy/Paste

    – Copies/pastes items in the Services tree.

  • Move Up

    – Moves the selected item up in the Services tree

  • Move Down

    – Moves the selected item down in the Services tree.

  • Reset branch to default

    – Resets the selected item with child items in the Services tree to the default.

  • Expand All

    – Expands all items in the Services tree.

  • Collapse All

    – Collapses all items in the Services tree.

Services tree

The

Services

tree is used to view SDP Services, Attributes, Data element groups, and Data elements. By navigating through the tree, you can quickly add, delete, or modify Services and Attributes using the toolbar buttons or the context menu.

You can configure the parameters by clicking an item on the tree. These parameters will show in the

Parameters configuration

section.

The tree may contain the following nodes:

  • ../figures/image20.png

    Service

  • ../figures/image52.png

    Service Attribute

  • Data element group:

    ../figures/image22.png

    Data element.

    ../figures/image53.png

    means that the Data element has editable fields.

In addition, nodes may have the following colors:

  • ../figures/image20.png

    Shaded icon – The node is mandatory

  • ../figures/image23.png

    White icon – The node is optional

Parameters configuration

The Parameters configuration pane allows you to view and configure a Service, Attribute, or Data element by selecting them in the tree. Attribute values are mainly hard-coded (and thus editing is disabled) to supply the required values according to the Bluetooth® Core Specification. Click through each Attribute and Data element under each Service to identify configurable values, and perform any additional configuration needed.

SDP services

The following SDP Services are available for selection:

  • Advanced Audio Distribution Profile (A2DP) Sink

  • Advanced Audio Distribution Profile (A2DP) Source

  • A/V Remote Control (AVRC) Controller

  • A/V Remote Control (AVRC) Target

  • Device ID

  • Hands-Free Audio Gateway

  • Hands-Free Unit

  • Human Interface Device

  • Serial Port