高通CSR102x开发板 GATT Server Application Note简介(二)

This example application supports GATT to provide access to service characteristics to a GATT Client.
It supports GAP to allow services to be discovered and establish connections with GATT Clients.

The example application uses ATT to transport data between Client and Server.

本示例应用程序支持GATT为GATT客户端提供对服务特征的访问。
它支持GAP以允许发现服务并建立与GATT客户端的连接。

示例应用程序使用ATT在客户端和服务器之间传输数据。

See ATT Specification for detailed information about the attribute protocol.
All of the current Bluetooth Low Energy profiles use the Attribute Protocol for transport. The Attribute
Protocol defines two roles: a Client and a Server. A Server exposes a set of attributes which are made

accessible to a Client via the Attribute Protocol.

有关属性协议的详细信息,请参阅ATT规范。
所有当前的蓝牙低能耗配置文件都使用属性协议进行传输。 属性
协议定义了两个角色:客户端和服务器。 服务器提供了一组属性
客户端可以通过属性协议访问。

Client-Server architecture
Client and Server roles do not depend on the link establishment roles. The connection initiator can be
an ATT Server or an ATT Client or both at the same time.

客户端 - 服务器架构
客户端和服务器角色不依赖于链接建立角色。 连接发起者可以

一个ATT服务器或一个ATT客户端或两者同时。

An attribute is a discrete value consisting of a handle, an attribute type (UUID), permissions and a
value, see
Figure 1-1.
属性是由句柄,属性类型(UUID),权限和a组成的离散值

值,请参见图1-1。

高通CSR102x开发板 GATT Server Application Note简介(二)

Data is arranged on the Server in a table of attributes, with each row indexed by an attribute handle,
see
Figure 1-2.
数据在服务器中排列在一个属性表中,每行由一个属性句柄索引,
见图1-2。

高通CSR102x开发板 GATT Server Application Note简介(二)