This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How do I make a GATT server connect to a specific clients(without pairing mechanism)?

How do I make sure, the GATT server running on the BLE peripheral client connects only to a specific app based central/GATT client app, which has been authenticated via web? In other words, how Estimote allows its BLEs to connect only to its specific app.

Parents
  • Hi.

    If you are referring to estimote beacons? These are iBeacons, which just broadcasts a set message out in the area around them. The smartphone app does not connect to the beacons, it just scans them and read the information they broadcast.

    A BLE peripheral cannot choose which central is allowed to connect. The only exception is with whitelisting, where the peripheral has stored information about a previously bonded device. It will then only allow connections from that device.

    If you tell me more about what you want to make, i might be able to provide more specific tips. How are you planning to do authentication over web to a BLE device?

    -Anders

  • Say, for example, after connecting to any GATT client, it goes here. I have a key hardcoded on the BLE device, which the app will only know downloading from internet after secure login. How do I prompt the app to send the key so that, the device can keep or drop the connection based on it?

Reply Children
No Data
Related