]> granicus.if.org Git - esp-idf/commitdiff
component/bt : mv demo name
authorTian Hao <tianhao@espressif.com>
Thu, 12 Jan 2017 06:44:26 +0000 (14:44 +0800)
committerTian Hao <tianhao@espressif.com>
Thu, 12 Jan 2017 06:44:26 +0000 (14:44 +0800)
1. mv demo name
2. fix a docs

components/bt/bluedroid/api/esp_blufi_api.c
components/bt/bluedroid/api/include/esp_gatts_api.h
examples/33_gatt_server_service_table/Makefile [moved from examples/30_gatt_server_table_create/Makefile with 81% similarity]
examples/33_gatt_server_service_table/README.rst [moved from examples/30_gatt_server_table_create/README.rst with 100% similarity]
examples/33_gatt_server_service_table/main/component.mk [moved from examples/30_gatt_server_table_create/main/component.mk with 100% similarity]
examples/33_gatt_server_service_table/main/gatts_table_creat_demo.c [moved from examples/30_gatt_server_table_create/main/gatts_table_creat_demo.c with 100% similarity]
examples/33_gatt_server_service_table/main/gatts_table_creat_demo.h [moved from examples/30_gatt_server_table_create/main/gatts_table_creat_demo.h with 100% similarity]
examples/33_gatt_server_service_table/sdkconfig.defaults [moved from examples/30_gatt_server_table_create/sdkconfig.defaults with 100% similarity]

index 00fbeffbc98575b7d9895089d37a548a0ea8523b..2fcbbab794822015e38c3c82a13c974c63516c56 100644 (file)
@@ -27,7 +27,7 @@ esp_err_t esp_blufi_register_callbacks(esp_blufi_callbacks_t *callbacks)
     if (esp_bluedroid_get_status() == ESP_BLUEDROID_STATUS_UNINITIALIZED) {
         return ESP_ERR_INVALID_STATE;
     }
-    
+
     if (callbacks == NULL) {
         return ESP_FAIL;
     }
@@ -44,7 +44,7 @@ esp_err_t esp_blufi_send_wifi_conn_report(wifi_mode_t opmode, esp_blufi_sta_conn
     if (esp_bluedroid_get_status() != ESP_BLUEDROID_STATUS_ENABLED) {
         return ESP_ERR_INVALID_STATE;
     }
-    
+
     msg.sig = BTC_SIG_API_CALL;
     msg.pid = BTC_PID_BLUFI;
     msg.act = BTC_BLUFI_ACT_SEND_CFG_REPORT;
@@ -64,7 +64,7 @@ esp_err_t esp_blufi_profile_init(void)
     if (esp_bluedroid_get_status() != ESP_BLUEDROID_STATUS_ENABLED) {
         return ESP_ERR_INVALID_STATE;
     }
-    
+
     msg.sig = BTC_SIG_API_CALL;
     msg.pid = BTC_PID_BLUFI;
     msg.act = BTC_BLUFI_ACT_INIT;
@@ -79,7 +79,7 @@ esp_err_t esp_blufi_profile_deinit(void)
     if (esp_bluedroid_get_status() != ESP_BLUEDROID_STATUS_ENABLED) {
         return ESP_ERR_INVALID_STATE;
     }
-    
+
     msg.sig = BTC_SIG_API_CALL;
     msg.pid = BTC_PID_BLUFI;
     msg.act = BTC_BLUFI_ACT_DEINIT;
index 8d51ac7375fe7b64ee6663d6a551bd79f4ab743c..b18039ce790503a626b9d1ca4cf452375d57513d 100644 (file)
@@ -441,7 +441,8 @@ esp_err_t esp_ble_gatts_stop_service(uint16_t service_handle);
 
 
 /**
- * @brief           This function is called to read a characteristics descriptor.
+ * @brief           Send indicate or notify to GATT client.
+ *                  Set param need_confirm as false will send notification, otherwise indication.
  *
  * @param[in]       gatts_if: GATT server access interface
  * @param[in]       conn_id - connection id to indicate.
similarity index 81%
rename from examples/30_gatt_server_table_create/Makefile
rename to examples/33_gatt_server_service_table/Makefile
index a6e41ff33ac557f29714c715aa9c6170bb643d63..2ff9c6eaeeaa29e34cdc2b5ab66cfe6ee5ed3236 100644 (file)
@@ -3,7 +3,7 @@
 # project subdirectory.
 #
 
-PROJECT_NAME := gatt_server_table_creat_demo
+PROJECT_NAME := gatt_server_service_table_demo
 
 COMPONENT_ADD_INCLUDEDIRS := components/include