| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
# ESP-IDF Gatt Server Service Table Example
This example shows how to create a GATT service with an attribute table defined in one place. Provided API releases the user from adding attributes one by one as implemented in BLUEDROID. A demo of the other method to create the attribute table is presented in [gatt_server_demo](../gatt_server).
Please, check this [tutorial](tutorial/Gatt_Server_Service_Table_Example_Walkthrough.md) for more information about this example.
## How to Use Example
Before project configuration and build, be sure to set the correct chip target using:
```bash
idf.py set-target <chip_name>
```
### Hardware Required
* A development board with ESP32/ESP32-C3/ESP32-H2/ESP32-C2/ESP32-S3 SoC (e.g., ESP32-DevKitC, ESP-WROVER-KIT, etc.)
* A USB cable for Power supply and programming
See [Development Boards](https://www.espressif.com/en/products/devkits) for more information about it.
### Build and Flash
Run `idf.py -p PORT flash monitor` to build, flash and monitor the project.
(To exit the serial monitor, type ``Ctrl-]``.)
See the [Getting Started Guide](https://idf.espressif.com/) for full steps to configure and use ESP-IDF to build projects.
## Example Output
```
I (0) cpu_start: Starting scheduler on APP CPU.
I (512) BTDM_INIT: BT controller compile version [1342a48]
I (522) system_api: Base MAC address is not set
I (522) system_api: read default base MAC address from EFUSE
I (522) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (942) GATTS_TABLE_DEMO: create attribute table successfully, the number handle = 8
I (942) GATTS_TABLE_DEMO: SERVICE_START_EVT, status 0, service_handle 40
I (962) GATTS_TABLE_DEMO: advertising start successfully
```
## Troubleshooting
For any technical queries, please open an [issue](https://github.com/espressif/esp-idf/issues) on GitHub. We will get back to you soon.
没有合适的资源?快使用搜索试试~ 我知道了~
ESP32 BLE 功能-服務端定時上傳數據給客戶端LED閃爍
共1527个文件
obj:1205个
cmake:123个
a:82个
需积分: 2 0 下载量 147 浏览量
2024-01-11
09:19:17
上传
评论
收藏 36.9MB ZIP 举报
温馨提示
ESP32 BLE 功能-服務端定時上傳數據給客戶端LED閃爍
资源推荐
资源详情
资源评论
收起资源包目录
ESP32 BLE 功能-服務端定時上傳數據給客戶端LED閃爍 (1527个子文件)
libbt.a 10.54MB
libdriver.a 6.3MB
libwpa_supplicant.a 4.75MB
libmbedcrypto.a 4.25MB
liblwip.a 3.03MB
libhal.a 1.68MB
libnvs_flash.a 1.35MB
libmbedtls.a 1.16MB
libesp_hw_support.a 1.02MB
libfreertos.a 890KB
libesp_system.a 862KB
libprotocomm.a 764KB
libwifi_provisioning.a 746KB
libmbedx509.a 734KB
libconsole.a 727KB
libspiffs.a 723KB
libspi_flash.a 691KB
libfatfs.a 620KB
libbootloader_support.a 587KB
libesp_eth.a 586KB
libvfs.a 532KB
libbootloader_support.a 515KB
libesp_hid.a 458KB
libheap.a 447KB
libesp_netif.a 424KB
libesp_lcd.a 421KB
libsdmmc.a 413KB
libesp_http_server.a 405KB
libmqtt.a 384KB
libjson.a 367KB
libnewlib.a 343KB
libprotobuf-c.a 336KB
libtcp_transport.a 334KB
libesp_adc.a 316KB
libesp_hw_support.a 308KB
libesp_http_client.a 299KB
libwear_levelling.a 294KB
libefuse.a 291KB
libesp_wifi.a 285KB
libefuse.a 277KB
libesp_local_ctrl.a 256KB
libunity.a 248KB
libesp-tls.a 235KB
libhttp_parser.a 214KB
libhal.a 206KB
libmicro-ecc.a 206KB
libpthread.a 195KB
libesp_gdbstub.a 173KB
libesp_timer.a 151KB
libesp_ringbuf.a 149KB
libesp_mm.a 147KB
libesp_event.a 132KB
libsoc.a 124KB
libsoc.a 123KB
libesp_phy.a 120KB
libesp_rom.a 111KB
libmbedtls.a 108KB
libapp_update.a 104KB
libmain.a 104KB
libesp_https_ota.a 92KB
libapp_trace.a 92KB
libesp_partition.a 91KB
libesp_rom.a 91KB
libesp_pm.a 87KB
liblog.a 73KB
libcxx.a 70KB
liblog.a 59KB
libperfmon.a 48KB
libesp_coex.a 38KB
libxtensa.a 35KB
libespcoredump.a 34KB
libcmock.a 23KB
libesp_common.a 20KB
libmain.a 16KB
libxtensa.a 13KB
libesp_app_format.a 11KB
libesp_app_format.a 11KB
libesp_common.a 10KB
libesp_system.a 10KB
libeverest.a 7KB
libp256m.a 5KB
libspi_flash.a 2KB
app-flash_args 96B
gatt_server_service_table_demo.bin 774KB
bootloader.bin 26KB
CMakeDetermineCompilerABI_CXX.bin 4KB
CMakeDetermineCompilerABI_CXX.bin 4KB
CMakeDetermineCompilerABI_C.bin 4KB
CMakeDetermineCompilerABI_C.bin 4KB
TIME_T_SIZE.bin 4KB
TIME_T_SIZE.bin 4KB
partition-table.bin 3KB
.bin_timestamp 140B
.bin_timestamp 131B
bootloader-complete 0B
bootloader-configure 0B
bootloader-done 0B
bootloader-download 0B
bootloader-flash_args 86B
bootloader-install 0B
共 1527 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
愤怒的火花
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 上市公司高管海外经历、金融背景、学术背景、财务背景等数据指标整理(2008-2021年)
- 大数据Python科学计算库-Numpy实战:numpy代码
- 互联网 Java 工程师面试题1000式资料文件
- 基于php+mysql+html超市商品管理系统(源码+数据库+论文)
- 2011-2022年中国各省三次产业就业人数数据-面板数据形式
- 大数据Python数据分析处理库-pandas实战:Pandas代码
- 2024五一数学建模.txt2024五一数学建模.txt2024五一数学建模.txt2024五一数学建模.txt
- java毕设项目-大学生兼职信息系统(ssm+vue+万字LW+答辩PPT)
- OpenCV计算机视觉实战(Python版):资料+课件
- OpenCV+TensorFlow 入门人工智能图像处理: 课程源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功