# Setting verification load This sample app demonstrates how to use the C-V2X Radio Manager API to set the verificaton load. 1. Create verification load callback method static std::promise gCallbackPromise; // Callback method for Cv2xThrottleManager->setVerificationLoad() static void cv2xsetVerificationLoadCallback(telux::common::ErrorCode error) { std::cout << "error=" << static_cast(error) << std::endl; gCallbackPromise.set_value(error); } Copy to clipboard 2. Create a initialization status callback method bool cv2xTmStatusUpdated = false; telux::common::ServiceStatus cv2xTmStatus = telux::common::ServiceStatus::SERVICE_UNAVAILABLE; std::condition_variable cv; std::mutex mtx; auto statusCb = [&](telux::common::ServiceStatus status) { std::lock_guard lock(mtx); cv2xTmStatusUpdated = true; cv2xTmStatus = status; cv.notify_all(); }; Copy to clipboard 3. Get a handle to the ICv2xThrottleManager instance // Get handle to Cv2xThrottleManager auto & cv2xFactory = Cv2xFactory::getInstance(); auto cv2xThrottleManager = cv2xFactory.getCv2xThrottleManager(statusCb); Copy to clipboard 4. Wait for throttle manager to complete initialization std::unique_lock lck(mtx); cv.wait(lck, [&] { return cv2xTmStatusUpdated; }); if (telux::common::ServiceStatus::SERVICE_AVAILABLE != cv2xTmStatus) { std::cout << "Error: failed to initialize Cv2xThrottleManager." << std::endl; return EXIT_FAILURE; } Copy to clipboard 5. Set the verification load cv2xThrottleManager->setVerificationLoad(load, cv2xsetVerificationLoadCallback); if (telux::common::ErrorCode::SUCCESS != gCallbackPromise.get_future().get()) { std::cout << "Error : failed to set verification load" << std::endl; return EXIT_FAILURE; } else { std::cout << "set verification load success" << std::endl; } gCallbackPromise = std::promise(); Copy to clipboard Last Published: Aug 05, 2026 [Previous Topic Transmitting data](https://docs.qualcomm.com/bundle/publicresource/80-PF458-9/topics/cv2x_tx_app.md) [Next Topic Obtaining adjust filter rate notification](https://docs.qualcomm.com/bundle/publicresource/80-PF458-9/topics/cv2x_tm_rate.md)