doc: write about sm keypress notifications in 4.2

This commit is contained in:
Matthias Ringwald 2016-06-16 14:31:16 +02:00
parent 76427ed5d9
commit 9dcc7a0dfc

View File

@ -873,6 +873,9 @@ called.
After the bonding process, *SM_EVENT_JUST_WORKS_CANCEL*, *SM_EVENT_PASSKEY_DISPLAY_CANCEL*, or *SM_EVENT_NUMERIC_COMPARISON_CANCEL* is emitted to update the user interface if an Just Works request or a passkey has been shown before.
### Keypress Notifications
As part of Bluetooth Core V4.2 specification, a device with a keyboard but no display can send keypress notifications to provide better user feedback. In BTstack, the *sm_keypress_notification()* function is used for sending notifcations. Notifications are received by BTstack via the *SM_EVENT_KEYPRESS_NOTIFICATION* event.
### Out-of-Band Data with LE Legacy Pairing