You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dariusz Seweryn edited this page Feb 2, 2018
·
1 revision
This library does not provide possibility to explicitly create a bond with a peripheral.
There is a possibility that a bond will be automatically created by the OS. This usually happens when a read/write request is sent to a characteristic that needs encryption.
The usual process on a low level looks like this:
Central sends a read/write characteristic request to a peripheral
Central—OS intercepts the response and kicks off bonding procedure
After the bond is created the iOS automatically retries the request that was responded with the GATT_INSUF_AUTH* whereas Android returns an error and a manual retry should be performed.