![]() |
S115 SoftDevice for nRF54LM20 API documentation 10.0.0
|
| uint32_t sd_ble_gatts_attr_get | ( | uint16_t | handle, |
| ble_uuid_t * | p_uuid, | ||
| ble_gatts_attr_md_t * | p_md ) |
#include <ble_gatts.h>
Retrieve the attribute UUID and/or metadata.
| [in] | handle | Attribute handle |
| [out] | p_uuid | UUID of the attribute. Use NULL to omit this field. |
| [out] | p_md | Metadata of the attribute. Use NULL to omit this field. |
| NRF_SUCCESS | Successfully retrieved the attribute metadata, |
| NRF_ERROR_INVALID_ADDR | Invalid pointer supplied. |
| NRF_ERROR_INVALID_PARAM | Invalid parameters supplied. Returned when both p_uuid and p_md are NULL. |
| NRF_ERROR_NOT_FOUND | Attribute was not found. |