How to set a static device address for the BLE when using ble as a GATT Server

Appx qingwa2009 0 Reputation points
2023-06-17T04:27:53.64+00:00

I make a GATT Server (HID keyboard) on win10.

And i can pair it and bond it with my Android phone.

The connection is ok!

Then I close my gatt server(program on win10), and reopen the server.

At this time, the ble address is changed, and i can't connect the server with my phone any more.

I have to unbond the device from my phone, and re pair an re bond again

I think this is because the ble server address on win10 is change, and the android phone

use the old address try to connect to the server, it failed!

So, how can i make a static device address for the ble server on win10?

or is it any other way can solve the problem?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.