From 9dcc7a0dfc0688e7db72803cdba0781b61f8edb7 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 16 Jun 2016 14:31:16 +0200 Subject: [PATCH] doc: write about sm keypress notifications in 4.2 --- doc/manual/docs/protocols.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/manual/docs/protocols.md b/doc/manual/docs/protocols.md index 3fdf53464..cc435ae43 100644 --- a/doc/manual/docs/protocols.md +++ b/doc/manual/docs/protocols.md @@ -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