component/bt : clean up the demos

1. cleanup gatt client demo
2. cleanup gatt server demo
3. cleanup blufi demo
4. use correct log level
This commit is contained in:
Tian Hao
2016-11-22 20:32:45 +08:00
parent 190b6d629b
commit db007fbb2e
20 changed files with 233 additions and 1011 deletions
@@ -203,7 +203,7 @@ esp_err_t esp_ble_gap_set_device_name(char *name)
** Returns pointer of ADV data
**
*******************************************************************************/
uint8_t *esp_ble_resolve_adv_data( uint8_t *p_adv, uint8_t type, uint8_t *p_length )
uint8_t *esp_ble_resolve_adv_data( uint8_t *p_adv, uint8_t type, uint8_t *p_length)
{
if (((type < ESP_BLE_AD_TYPE_FLAG) || (type > ESP_BLE_AD_TYPE_128SERVICE_DATA)) &&
(type != ESP_BLE_AD_MANUFACTURER_SPECIFIC_TYPE))