components/bt: Make modifications to the support of GAP appearance/icon

characateristic

1. In addition to mentioning in the documentation, use the standard appearance
   values already present and return appropriate error in case an incorrect
   value is passed
2. Add ESP_BLE_APPEARANCE* macros corresponding to BTM_BLE_APPEARANCE*
and use them from the API instead
3. Add the missing appearance parameter values from
https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml
4. Fix some minor typos

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
This commit is contained in:
Hrishikesh Dhayagude
2018-04-16 12:23:16 +05:30
parent ee9ab48347
commit fd7baaf4ba
6 changed files with 149 additions and 15 deletions
+2 -2
View File
@@ -4684,9 +4684,9 @@ void bta_dm_ble_config_local_privacy (tBTA_DM_MSG *p_data)
/*******************************************************************************
**
** Function bta_dm_ble_config_local_privacy
** Function bta_dm_ble_config_local_icon
**
** Description This function set the local device LE privacy settings.
** Description This function sets the local icon value.
**
**
*******************************************************************************/