How a gatt server can get th name of a connected gatt client
Posted: Mon Apr 17, 2023 2:45 pm
Hello,
I have implemented a gatt server in esp-idf V4.3.3 on WROOM module. This server is emulating a BLE SPP server as per esp-idf gatt server example so that smartphones (with the right software) can connect to it. I have implemented pairing + bonding between the module and the smartphone.
Everything is working fine.
Now, I would like to be able to retrieve the name of the client (smartphone) which is connected to my gatt server. So far, I only have its mac address.
I could not find an easy way to get this name.
Could you please help me ?
Many thanks
Thierry
I have implemented a gatt server in esp-idf V4.3.3 on WROOM module. This server is emulating a BLE SPP server as per esp-idf gatt server example so that smartphones (with the right software) can connect to it. I have implemented pairing + bonding between the module and the smartphone.
Everything is working fine.
Now, I would like to be able to retrieve the name of the client (smartphone) which is connected to my gatt server. So far, I only have its mac address.
I could not find an easy way to get this name.
Could you please help me ?
Many thanks
Thierry