/* Set Local Appearance. 
This API is used to set the local device appearance. This appearance is populated when discoverable if the device is peripheral or may be read by the remote device when connected. Setting the appearance will improve user experience. */
ADI_BLER_RESULT adi_radio_SetLocalAppearance(const ADI_BLE_GAP_APPEARANCE eAppearance)
/* Set Local Appearance. 
This API is used to set the local device appearance. This appearance is populated when discoverable if the device is peripheral or may be read by the remote device when connected. Setting the appearance will improve user experience. */
ADI_BLER_RESULT adi_radio_SetLocalAppearance(const ADI_BLE_GAP_APPEARANCE eAppearance)
{
    ADI_BLER_RESULT bleResult;
    uint16_t nAppearance = (uint16_t) eAppearance;
    ADI_BLE_LOGEVENT(LOGID_CMD_BLEGAP_SET_LOCAL_APPEARANCE);
    ADI_BLE_RADIO_CMD_START(CMD_BLEGAP_SET_LOCAL_APPEARANCE);
    memcpy(&pBLERadio->cmdPkt[ADI_RADIO_CMD_HEADER_LEN], &nAppearance, 2u);
    bleResult = bler_process_cmd(CMD_BLEGAP_SET_LOCAL_APPEARANCE, 2u, NULL, 0u);
    if(bleResult == ADI_BLER_SUCCESS){
    	bleResult = ADI_BLE_WAIT_FOR_COMPLETION(ADI_EVENT_FLAG_RESP_SUCCESS,ADI_BLER_CMD_TIMEOUT);
    }
    ADI_BLE_RADIO_CMD_END();
    return (bleResult);
}