ysk-san KT

技術系の情報をKTするために、まずは勉強

Bluetooth:Gatt?BEL?Advertisement?なにそれ?/Bluetooth: Gatt?BEL?Advertisement?What's that?

(English Below)

イントロダクション

Bluetoothは、無線通信技術の中でも最も広く利用されているものの1つです。Bluetoothの一部として、Gatt(Generic Attribute Profile)、BEL(Bluetooth Low Energy)、Advertisementという機能があります。この記事では、BluetoothGatt、BEL、Advertisementについて詳しく解説します。

 

セクション1: BluetoothGattについて

Gatt(Generic Attribute Profile)は、Bluetoothバイス間でデータを交換するためのプロファイルです。Gattは、Bluetooth Low Energy(BLE)デバイスでよく使用されます。Gattは、デバイスの機能や属性(characteristic)を表現するためのサービス(service)と特性(characteristic)を提供します。たとえば、心拍数モニタリングデバイスは、心拍数サービスというGattサービスを持ち、その中に心拍数測定という特性が存在します。

セクション2: BluetoothのBELについて

BEL(Bluetooth Low Energy)は、エネルギー効率が高く、長時間のバッテリ寿命が必要なアプリケーションに最適なBluetoothのバージョンです。BELは、BLEとも呼ばれます。従来のBluetoothに比べて消費電力が少なく、小型のデバイスでも動作するため、ウェアラブルバイスや健康モニタリング機器など、多くのIoTデバイスで使用されています。

BELは、Gattを基盤としており、Gattのプロファイルとサービスを使用してデータをやり取りします。しかし、BELではGattよりもシンプルな手法が採用されており、データの送信と受信が効率的に行われます。また、BELではデバイスの省電力機能が強化されており、デバイスがアイドル状態になると自動的に電力消費を抑えることができます。

セクション3: BluetoothのAdvertisementについて

Advertisementは、Bluetoothバイスが他のデバイスに対して自身の存在や機能を通知するために使用するメカニズムです。Advertisementは、近くのBluetoothバイスに対してビーコン(beacon)として情報を放送します。この情報には、デバイスの識別情報やサービスの提供などが含まれます。

Advertisementは、BLEデバイスにおいて特に重要な役割を果たします。BLEデバイスは、常にAdvertisementパケットを送信し、他のデバイスに対して自身の存在をアナウンスします。これにより、周囲のデバイスが接続を確立したり、Gattサービスや特性にアクセスしたりすることが可能になります。

Advertisementには、スキャン(scan)とアドバタイズ(advertise)の2つのモードがあります。スキャンモードでは、デバイスが周囲のAdvertisementパケットを受信し、利用可能なデバイスやサービスを検出します。一方、アドバタイズモードでは、デバイスが自身のAdvertisementパケットを送信し、他のデバイスに対して自己発見を促します。

 

まとめ

BluetoothGatt、BEL、Advertisementは、Bluetoothバイス間でのデータ交換と通信を可能にする重要な機能です。Gattは、デバイス間でのデータの読み書きや操作を提供し、BELはエネルギー効率が高く省電力な通信を実現します。Advertisementは、デバイスの存在や機能を通知し、接続や通信の開始を可能にします。これらの機能は、IoTデバイスウェアラブルバイスなど、様々な応用分野で活用されています

 

====English translation====

INTRODUCTION

Bluetooth is one of the most widely used wireless communication technologies.As part of Bluetooth, there are features called Gatt (Generic Attribute Profile), BEL (Bluetooth Low Energy), and Advertisement This article will focus on the Bluetooth Gatt. This article will discuss Bluetooth Gatt, BEL, and Advertisement in detail.

 

Section 1: About Bluetooth Gatt

Gatt (Generic Attribute Profile) is a profile for exchanging data between Bluetooth devices. Gatt provides a service (service) and a characteristic (characteristic) to describe a device's functions and attributes (characteristics). For example, a heart rate monitoring device has a Gatt service called Heart Rate Service, which contains the characteristic of heart rate measurement.

Section 2: About Bluetooth BEL

BEL (Bluetooth Low Energy) is a version of Bluetooth that is energy efficient and ideal for applications that require long battery life BEL is also called BLE. It is used in many IoT devices, such as wearable devices and health monitoring equipment, because it consumes less power than traditional Bluetooth and works with smaller devices.

BEL is based on Gatt and uses Gatt profiles and services to exchange data. However, BEL uses a simpler approach than Gatt, which allows data to be sent and received more efficiently. BEL also has enhanced device power saving features that automatically reduce power consumption when the device is idle.

Section 3: About Bluetooth Advertisement

Advertisement is a mechanism used by Bluetooth devices to notify other devices of their presence and functionality. This information may include device identification information and service offerings.

Advertisement plays a particularly important role in BLE devices, which constantly send Advertisement packets to announce their presence to other devices. This allows surrounding devices to establish connections and access Gatt services and properties.

Advertisement has two modes: scan and advertise. In scan mode, a device receives surrounding Advertisement packets and discovers available devices and services. In advertise mode, on the other hand, the device sends its own Advertisement packets to encourage other devices to discover itself.

 

Summary.

Bluetooth's Gatt, BEL, and Advertisement are key features that enable data exchange and communication between Bluetooth devices; Gatt provides for reading, writing, and manipulating data between devices, while BEL enables energy-efficient and power-saving communication. Advertisement notifies devices of their presence and functionality and enables them to connect and initiate communication. These functions are used in a variety of applications, including IoT devices and wearable devices