T
The Daily Insight

What is GATT server in BLE

Author

Mia Morrison

Published Apr 08, 2026

A GATT Server is a device which stores attribute data locally and provides data access methods to a remote GATT Client paired via BLE. … Once two devices are paired each device can act as both a GATT Server and a GATT Client.

Is GATT only for BLE?

The GATT only comes into play after a connection has been established between two BLE devices.

What is GATT characteristic?

A GATT characteristic is a basic data element used to construct a GATT service, BluetoothGattService . The characteristic contains a value as well as additional information and optional GATT descriptors, BluetoothGattDescriptor .

What is SPP and GATT?

When a Bluetooth module supports both SPP & GATT, it means that it’s a Bluetooth dual-mode module. … FSC-BT836B is a Bluetooth 5.0 dual-mode module, the most feature is high data rate, in SPP mode, the data is up to 85KB/s, while in GATT mode, the data rate is up to 75KB/s (When do test with an iPhone X).

What is Cccd in BLE?

CCCD is an abbreviation for Client Characteristic Configuration Descriptor. This descriptor is defined in the Core Specification, Volume 3, Part G, section 3.3. 3.3. This descriptor will be added automatically…

What is GATT service on Android?

Generic Attribute Profile (GATT) The GATT profile is a general specification for sending and receiving short pieces of data known as “attributes” over a BLE link. All current BLE application profiles are based on GATT. Review the Android BluetoothLeGatt sample on GitHub to learn more.

What is GATT service on my phone?

Bluetooth 4.0 provides low power conception with higher baud rate. The GATT profile is a way of specifying the transmission – sending and receiving – of short pieces of data known as ‘attributes’ over a Bluetooth smart link. All current Low Energy application profiles are based on GATT, states Wikipedia.

What is service UUID?

Universally Unique ID (UUID) It is a unique number used to identify services, characteristics and descriptors, also known as attributes. These IDs are transmitted over the air so that e.g. a peripheral can inform a central what services it provides.

What is attribute in BLE?

Attribute Protocol (ATT) is a protocol in the Bluetooth Low Energy (BLE) protocol stack. It defines how data is represented in a BLE server database and the methods by which that data can be read or written. … This data is stored on the BLE server as attributes.

What is Rfcomm protocol in Bluetooth?

Bluetooth Radio Frequency Communication (RFCOMM) is a transport protocol running on top of L2CAP, providing emulated RS-232 serial ports to communicate with upper layer profiles such as those running on top of OBEX and the Serial Port Profile.

Article first time published on

What is gap in Bluetooth?

GAP is an acronym for the Generic Access Profile, and it controls connections and advertising in Bluetooth. GAP is what makes your device visible to the outside world, and determines how two devices can (or can’t) interact with each other.

What is SPP in Bluetooth?

The Bluetooth® Serial Port Profile (SPP) of the ClarinoxBlue protocol stack with Bluetooth Classic runs on the Renesas PE-HMI1 Kit to connect and transfer bidirectional data. It uses the Bluetooth SPP Pro app running on an Android smartphone to pair with nearby Bluetooth devices.

How does GATT work?

The General Agreement on Tariffs and Trade (GATT), signed on October 30, 1947, by 23 countries, was a legal agreement minimizing barriers to international trade by eliminating or reducing quotas, tariffs, and subsidies while preserving significant regulations.

What is the difference between Gap and GATT in BLE?

It is important to differentiate between GAP and GATT. GAP defines the general topology of the BLE network stack. GATT describes in detail how attributes (data) are transferred once devices have a dedicated connection.

What is ble2902?

Detailed Description. Descriptor for Client Characteristic Configuration. This is a convenience descriptor for the Client Characteristic Configuration which has a UUID of 0x2902.

What is UUID in Bluetooth?

The UUID is used for uniquely identifying information. It identifies a particular service provided by a Bluetooth device. The standard defines a basic BASE_UUID: 00000000-0000-1000-8000-00805F9B34FB .

What is characteristic UUID?

The Characteristic UUID field is a 16-bit Bluetooth UUID or 128-bit UUID that describes the type of Characteristic Value. A client shall support the use of both 16-bit and 128-bit Characteristic UUIDs. A client may ignore any characteristic definition with an unknown Characteristic UUID.

How do I connect to the GATT server?

bluetoothGatt = device. connectGatt(this, false, gattCallback); This connects to the GATT server hosted by the BLE device, and returns a BluetoothGatt instance, which you can then use to conduct GATT client operations. The caller (the Android app) is the GATT client.

What is the difference between BLE and Bluetooth?

The difference lies in how they distribute data for energy savings. Bluetooth can handle a lot of data but quickly consumes battery life and costs a lot more. Bluetooth Low Energy is used for applications that do not need to exchange large amounts of data and can run on battery power for years at a cheaper cost.

What is GATT error?

GATT error Print If you are using the micro:bit with the mobile apps, you might come across a GATT error when you are trying to flash a program to the device. The Generic Attribute Profile (GATT), defines the way that two Bluetooth devices transfer data back and forth, for example a micro:bit and a mobile phone.

Does BLE need pairing?

First, in order to connect to a BLE device, the target device must be advertising that it is connectable. Second, a connection can be made without pairing, with pairing being left as an optional security mode. Finally, a connection does not have to be made in order to get data from a remote device.

How do I turn off Bluetooth low energy?

Users can disable system-level Bluetooth background scanning by going to Settings > Security & Location > Location > Scanning and disabling the toggle for Bluetooth scanning. This does not affect BLE scanning for location or local devices.

How does a UUID work?

How does UUID work? The UUID relies on a combination of components to ensure uniqueness. UUIDs are constructed in a sequence of digits equal to 128 bits. The ID is in hexadecimal digits, meaning it uses the numbers 0 through 9 and letters A through F.

How do I find my UUID BLE?

1 Answer. You can use startScan (List<ScanFilter> filters, ScanSettings settings, ScanCallback callback) method inside class BluetoothLeScanner. Set the service UUID in the ScanFilter to display specific BLE devices according to UUIDs. More API details can be found here.

What is Avrcp transport?

AVRC is a Bluetooth profile that allows remote control of media playback on other devices. Supported functions are play, pause, stop, next, and previous.

What is Rfcomm socket?

The most common type of Bluetooth socket is RFCOMM, which is the type supported by the Android APIs. RFCOMM is a connection-oriented, streaming transport over Bluetooth. It is also known as the Serial Port Profile (SPP). To create a BluetoothSocket for connecting to a known device, use BluetoothDevice.

What is a Rfcomm Protocol TDI?

The Bluetooth Device (RFCOMM Protocol TDI) component provides a TDI transport driver for RFCOMM (Serial Cable Emulation Protocol). This component implements the Bluetooth RFCOMM protocol layer. This component is associated with the Standard Modem over Bluetooth link component.

What is supervision timeout in BLE?

The 720 milliseconds are called the “supervision timeout” in BLE and are exchanged between the phone and the peripheral as part of the connection request: The hexadecimal value 0x48 in the red rectangle (decimal 72) is multiplied by 10 milliseconds to define the connection supervision timeout.

What is BLE MTU?

ATT Maximum Transmission Unit (MTU) is the maximum length of an ATT packet. The ATT MTU is defined by the L2CAP and can be anywhere between 23 and infinity. The implementation of the Bluetooth stack is the key factor of determining the ATT MTU on both client and peripheral.

Does ble support SPP?

SPP Server. Because Bluetooth Low Energy does not have a standard SPP service, it needs to be implemented as a custom service. The custom service is as minimal as possible. Only one characteristic is used for both incoming and outgoing data.

What is an HID profile?

The HID profile defines the protocols, procedures and features to be used by Bluetooth HID such as keyboards, pointing devices, gaming devices and remote monitoring devices.