请看一下配对和绑定的定义:
GAP also handles the initiation of security features during a BLE connection. Certain data may be readable or writeable only in an authenticated connection.
Once a connection is formed, two devices can go through a process called pairing. When pairing is performed, keys are established which encrypt and authenticate the link. In a typical case, the peripheral device will require that the central device provide a passkey in order to complete the pairing process. This could be a fixed value, such as “000000”, or could be a randomly generated value that gets provided to the user (such as on a display). After the central device sends the correct passkey, the two devices exchange security keys to encrypt and authenticate the link.
In many cases, the same central and peripheral devices will be regularly connecting and disconnecting from each other.
BLE has a security feature that allows two devices, when pairing, to give each other a long-term set of security keys. This feature, called bonding, allows the two devices to quickly re-establish encryption and authentication after re-connecting without going through the full pairing process every time that they connect, as long as they store the long-term key information.
请看一下配对和绑定的定义:
GAP also handles the initiation of security features during a BLE connection. Certain data may be readable or writeable only in an authenticated connection. Once a connection is formed, two devices can go through a process called pairing. When pairing is performed, keys are established which encrypt and authenticate the link. In a typical case, the peripheral device will require that the central device provide a passkey in order to complete the pairing process. This could be a fixed value, such as “000000”, or could be a randomly generated value that gets provided to the user (such as on a display). After the central device sends the correct passkey, the two devices exchange security keys to encrypt and authenticate the link.
In many cases, the same central and peripheral devices will be regularly connecting and disconnecting from each other. BLE has a security feature that allows two devices, when pairing, to give each other a long-term set of security keys. This feature, called bonding, allows the two devices to quickly re-establish encryption and authentication after re-connecting without going through the full pairing process every time that they connect, as long as they store the long-term key information.
举报