Hello,
Welcome to Microsoft Q&A!
but I found there is no windows API to set custom data to Scan Response
Scan response data are not directly controllable from the App. I have to say it has no such method for writing scan response data directly, you need refer ADVERTISING AND SCAN RESPONSE DATA FORMAT to make scan response data manually. If the App wants more space, they can consider enabled extended advertisement (only available on systems that have radios that support this on both sending and receiving sides). They can use BluetoothLEAdvertisementPublisher.UseExtendedAdvertisement Property (Windows.Devices.Bluetooth.Advertisement) - Windows UWP applications | Microsoft Learn
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.