티스토리 뷰

반응형

BLE (3) - ATT/GATT 이해하기

 

BLE (3) - ATT/GATT 이해하기

3. ATT/GATT

enidanny.github.io

Attribute protocol (ATT)

속성 프로토콜(ATT)

 

Generic Attribute Profile (GATT)

포괄적 특성 프로필(GATT)

 

Service 는 특정 어플리케이션을 구현하기 위해 필요한 데이터의 집합

각각의 데이터는 characteristic 에 의해 정의

 service  characteristic 에 대한 정보는 attribute 라는 최소 데이터 유닛에 의해 정의되고, BLE 디바이스 내의 attribute 에 대한 정보는 최종적으로 attribute table 내에 저장

Attribute Table

GATT Server/Client

https://www.researchgate.net/figure/BLE-Data-Hierarchy_fig2_317553032

 

Figure 2.4: BLE Data Hierarchy 

Download scientific diagram | 4: BLE Data Hierarchy  from publication: Fabrication of an Integrated PCB-MEMS Dielectric Sensor Node for Liquid Characterization | This thesis demonstrates the fabrication, instrumentation, and functionality of a sensor node

www.researchgate.net

https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial

 

Bluetooth low energy Characteristics, a beginner's tutorial

Before we begin Table of content Topics that will be covered include: Before we begin Basic theory Attribute tables in nRFConnect Bluetooth Low Energy application Description of the example Adding a characteristic Updating the characteristic and s...

devzone.nordicsemi.com

https://greatgift.tistory.com/entry/Bluetooth-LE-Example-%EC%9D%B4%ED%95%B4%ED%95%98%EA%B8%B0

 

Bluetooth LE Example 이해하기

Bluetooth LE Example 이해하기 안드로이드 BLE 기본 샘플 https://developer.android.com/samples/BluetoothLeGatt/index.html 1.    scanning 2.    connect to GATT server 3.    Attempting to start..

greatgift.tistory.com

Bluetooth GATT 서버 - UWP applications | Microsoft Docs

 

전력 블루투스 권한

애플리케이션에서 블루투스 기능을 사용하려면 블루투스 권한인 BLUETOOTH를 선언해야 합니다. 이 권한은 연결 요청, 연결 수락 및 데이터 전송과 같은 블루투스 통신을 수행하는 데 필요합니다.

저전력 비콘은 위치와 연결되는 경우가 많기 때문에 ACCESS_FINE_LOCATION 권한도 선언해야 합니다. 이 권한이 없으면 스캔 시 아무런 결과가 반환되지 않습니다.

참고: 앱이 Android 9(API 레벨 28) 이하를 대상으로 하는 경우 ACCESS_FINE_LOCATION 권한 대신 ACCESS_COARSE_LOCATION 권한을 선언할 수 있습니다.

<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>

<!-- If your app targets Android 9 or lower, you can declare
     ACCESS_COARSE_LOCATION instead. -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

 

 

https://blog.naver.com/PostView.naver?blogId=chandong83&logNo=222414483554&parentCategoryNo=130&categoryNo=&viewDate=&isShowPopularPosts=true&from=search 

 

플러터(Flutter) - BLE 통신하기(블루투스 저전력) 1. 검색(Scan) 편 flutter_blue

목차 1. 검색(scan) 편 2. 특정 장치만 검색(Scan) 편 3. 연결 및 연결 해제 편 약 1년 전에 플러터(Flut...

blog.naver.com

 

 

https://blog.naver.com/PostView.naver?blogId=chandong83&logNo=222589954997&categoryNo=0&parentCategoryNo=130&viewDate=&currentPage=1&postListTopCurrentPage=1&from=search&userTopListOpen=true&userTopListCount=30&userTopListManageOpen=false&userTopListCurrentPage=1 

 

플러터(Flutter) - BLE 통신하기(블루투스 저전력) 2. 특정 장치만 검색(Scan) 편 flutter_blue

목차 1. 검색(scan) 편 2. 특정 장치만 검색(Scan) 편 3. 연결 및 연결 해제 편 소스코드 위치 아래의 코...

blog.naver.com

https://blog.naver.com/PostView.naver?blogId=chandong83&logNo=222593416035&categoryNo=125&parentCategoryNo=0&viewDate=&currentPage=1&postListTopCurrentPage=1&from=postView&userTopListOpen=true&userTopListCount=20&userTopListManageOpen=false&userTopListCurrentPage=1 

 

플러터(Flutter) - BLE 통신하기(블루투스 저전력) 3. 연결 및 연결 해제 편 flutter_blue

목차 1. 검색(scan) 편 2. 특정 장치만 검색(Scan) 편 3. 연결 및 연결 해제 편 1. 동작 영상 2. 소스코드...

blog.naver.com

 

https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/bluedroid/ble/gatt_server/tutorial/Gatt_Server_Example_Walkthrough.md

 

GitHub - espressif/esp-idf: Espressif IoT Development Framework. Official development framework for Espressif SoCs.

Espressif IoT Development Framework. Official development framework for Espressif SoCs. - GitHub - espressif/esp-idf: Espressif IoT Development Framework. Official development framework for Espress...

github.com

 

 

 

 

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/bluetooth/esp_gatts.html

 

GATT SERVER API - ESP32 - — ESP-IDF Programming Guide latest documentation

© Copyright 2016 - 2022, Espressif Systems (Shanghai) Co., Ltd

docs.espressif.com

 

 

 

반응형
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2026/01   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함