Home
last modified time | relevance | path

Searched refs:src_uuid_len (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c44 static inline void btc_gatts_uuid_format_convert(esp_bt_uuid_t* dest_uuid, uint16_t src_uuid_len, u… in btc_gatts_uuid_format_convert() argument
46 dest_uuid->len = src_uuid_len; in btc_gatts_uuid_format_convert()
47 if(src_uuid_len == ESP_UUID_LEN_16){ in btc_gatts_uuid_format_convert()
50 else if(src_uuid_len == ESP_UUID_LEN_32){ in btc_gatts_uuid_format_convert()
53 else if(src_uuid_len == ESP_UUID_LEN_128){ in btc_gatts_uuid_format_convert()
54 memcpy(dest_uuid->uuid.uuid128, src_uuid_p, src_uuid_len); in btc_gatts_uuid_format_convert()
57 BTC_TRACE_ERROR("%s wrong uuid length %d\n", __func__, src_uuid_len); in btc_gatts_uuid_format_convert()