blizz
blizz

Reputation: 4168

iOS secure communication with paired BLE device

I would like to develop an iOS app that works with a medical device which is paired to the iPhone using BLE (Bluetooth Low Energy).

My concern is that paired devices are available to all apps on an iOS device. How can I secure communication so only my app can communicate with this specific device? Is there perhaps a way to encrypt communication to prevent other apps from being able to communicate with the device?

Upvotes: 0

Views: 796

Answers (1)

Emil
Emil

Reputation: 18497

In that case you need to implement some secure protocol on top of GATT / BLE, since as you say iOS gives all apps access, regardless if it's paired or not. You may also want to make sure no one can reverse engineer this. But at this point we are no longer really discussing BLE but just general security. So you might be better off asking at https://security.stackexchange.com.

But note that the other app will not see the communication that the first app does to / from the peripheral, with the exception of notifications / indications. However what you need to solve is how the peripheral knows if a request comes from the correct app.

Upvotes: 2

Related Questions