![]() |
S145 SoftDevice for nRF54LM20 API documentation 10.0.0
|
| uint32_t sd_ble_uuid_vs_remove | ( | uint8_t * | p_uuid_type | ) |
#include <ble.h>
Remove a Vendor Specific base UUID.
This call removes a Vendor Specific base UUID. This function allows the application to reuse memory allocated for Vendor Specific base UUIDs.
| [in,out] | p_uuid_type | Pointer to a uint8_t where its value matches the UUID type in ble_uuid_t::type to be removed. If the type is set to BLE_UUID_TYPE_UNKNOWN, or the pointer is NULL, the last Vendor Specific base UUID will be removed. If the function returns successfully, the UUID type that was removed will be written back to p_uuid_type. If function returns with a failure, it contains the last type that is in use by the ATT Server. |
| NRF_SUCCESS | Successfully removed the Vendor Specific base UUID. |
| NRF_ERROR_INVALID_ADDR | If p_uuid_type is invalid. |
| NRF_ERROR_INVALID_PARAM | If p_uuid_type points to a non-valid UUID type. |
| NRF_ERROR_FORBIDDEN | If the Vendor Specific base UUID is in use by the ATT Server. |