mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-01 23:51:49 +01:00
docs: provide CN translation for api-reference/system/esp_err and api-reference/bluetooth/esp_gatts
This commit is contained in:
@@ -1,22 +1,24 @@
|
||||
GATT SERVER API
|
||||
GATT Server API
|
||||
===============
|
||||
|
||||
Application Example
|
||||
-------------------
|
||||
:link_to_translation:`zh_CN:[中文]`
|
||||
|
||||
Application Examples
|
||||
--------------------
|
||||
|
||||
Check :example:`bluetooth/bluedroid/ble` folder in ESP-IDF examples, which contains the following demos and their tutorials:
|
||||
|
||||
* This is a GATT sever demo and its tutorial. This demo creates a GATT service with an attribute table, which releases the user from adding attributes one by one. This is the recommended method of adding attributes.
|
||||
* This is a GATT server demo and its tutorial. This demo creates a GATT service with an attribute table, which releases the user from the operation of adding attributes one by one. This is the recommended method of adding attributes (officially recommended).
|
||||
|
||||
- :example:`bluetooth/bluedroid/ble/gatt_server_service_table`
|
||||
- :example_file:`GATT Server Service Table Example Walkthrough <bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/Gatt_Server_Service_Table_Example_Walkthrough.md>`
|
||||
|
||||
* This is a GATT server demo and its tutorial. This demo creates a GATT service by adding attributes one by one as defined by Bluedroid. The recommended method of adding attributes is presented in example above.
|
||||
* This is a GATT server demo and its tutorial. This demo creates a GATT service by adding attributes one by one as defined by Bluedroid. The recommended method of adding attributes is presented in the example below.
|
||||
|
||||
- :example:`bluetooth/bluedroid/ble/gatt_server`
|
||||
- :example_file:`GATT Server Example Walkthrough <bluetooth/bluedroid/ble/gatt_server/tutorial/Gatt_Server_Example_Walkthrough.md>`
|
||||
|
||||
* This is a BLE SPP-Like demo. This demo, which acts as a GATT server, can receive data from UART and then send the data to the peer device automatically.
|
||||
* This is a demo similar to Bluetooth SPP. In this demo, GATT server can receive data from UART and then send the data to the peer device automatically.
|
||||
|
||||
- :example:`bluetooth/bluedroid/ble/ble_spp_server`
|
||||
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
Error Codes and Helper Functions
|
||||
Error Code and Helper Functions
|
||||
================================
|
||||
|
||||
:link_to_translation:`zh_CN:[中文]`
|
||||
|
||||
This section lists definitions of common ESP-IDF error codes and several helper functions related to error handling.
|
||||
|
||||
For general information about error codes in ESP-IDF, see :doc:`Error Handling <../../api-guides/error-handling>`.
|
||||
|
||||
For the full list of error codes defined in ESP-IDF, see :doc:`Error Code Reference <../error-codes>`.
|
||||
For the full list of error codes defined in ESP-IDF, see :doc:`Error Codes Reference <../error-codes>`.
|
||||
|
||||
API Reference
|
||||
-------------
|
||||
|
||||
Reference in New Issue
Block a user