The SDK function sd_ble_uuid_vs_add may return NRF_ERROR_INVALID_ADDR If p_vs_uuid or p_uuid_type is NULL or invalid.
When the pointer is not NULL, how does this function tell wether it is "invalid" or not? I would like to perform the same test.
Context: I am implementing an initialisation function that takes the same p_uuid_type parameter and calls this function if it needs to (buffers p_uuid_type to a local variable). Right now I am only able to check the provided pointer is not NULL.