pub unsafe fn sd_ble_gatts_attr_get(
    handle: u16,
    p_uuid: *mut ble_uuid_t,
    p_md: *mut ble_gatts_attr_md_t
) -> u32
Expand description

@brief Retrieve the attribute UUID and/or metadata.

@param[in] handle Attribute handle @param[out] p_uuid UUID of the attribute. Use NULL to omit this field. @param[out] p_md Metadata of the attribute. Use NULL to omit this field.

@retval ::NRF_SUCCESS Successfully retrieved the attribute metadata, @retval ::NRF_ERROR_INVALID_ADDR Invalid pointer supplied. @retval ::NRF_ERROR_INVALID_PARAM Invalid parameters supplied. Returned when both @c p_uuid and @c p_md are NULL. @retval ::NRF_ERROR_NOT_FOUND Attribute was not found.