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

  • You can set up a pairing with a static passkey. This key will be constricted to 6 digits. Alternatively you can do this authentication through a GATT service. Then you can implement a more complex algorithm or scheme. (Btw, most peripheral devices are GATT servers, your phone will most likely be the GATT client).

Reply Children
No Data
Related