![](/media/cache/profiles/37f5bdb3a2a1159584d0a30e9a1e71bf.jpg.50x50_q85.jpg)
This is a sample using ESP32 AT command for BLE.
Information
Japanese version is available in lower part of this page.
このページの後半に日本語版が用意されています.
What is this ?
This is a sample using ESP32 AT command for BLE.
You can test communication with your smartphone using the following GATT profile. In the sample, the GR board is the server and the smartphone is the client. In GR-LYCHEE, pressing the UB 0 button writes the value to C 300, and pressing the UB 1 button performs Notification to C 305.
UUID | Access Propety | Size(Byte) | Characteristic Index |
---|---|---|---|
A002 | Read | 2 | - |
C300 | Read | 1 | 1 |
C301 | Read | 512 | 2 |
C302 | Write | 1 | 3 |
C303 | Write Without Response | 3 | 4 |
C304 | Write | 2 | 5 |
C305 | Notify | 5 | 6 |
C306 | Indicate | 5 | 7 |
概要
ESP32のBLE用ATコマンドを使用したサンプルです。
以下のGATTプロファイルを利用して、スマートフォンとの通信をテストできます。サンプルではGRボードがサーバとなり、スマートフォンがクライアントです。GR-LYCHEEでは、UB0ボタンを押すとC300への値書込み、UB1ボタンを押すとC305へのNotificationが行われます。
UUID | Access Propety | Size(Byte) | Characteristic Index |
---|---|---|---|
A002 | Read | 2 | - |
C300 | Read | 1 | 1 |
C301 | Read | 512 | 2 |
C302 | Write | 1 | 3 |
C303 | Write Without Response | 3 | 4 |
C304 | Write | 2 | 5 |
C305 | Notify | 5 | 6 |
C306 | Indicate | 5 | 7 |