<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Phone&amp;#39;s screen can&amp;#39;t be  used keyboard when phone connects to HID device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89144/phone-s-screen-can-t-be-used-keyboard-when-phone-connects-to-hid-device</link><description>Dear Nordic Engineers 
 Our customer use NRF52840 make a electronic lock .They would like to use HID to unlock bike when phone connects to the lock. 
 They are base on ble_keyboard samples. 
 In the program they set 
 err_code = sd_ble_gap_appearance_set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jun 2022 11:02:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89144/phone-s-screen-can-t-be-used-keyboard-when-phone-connects-to-hid-device" /><item><title>RE: Phone's screen can't be  used keyboard when phone connects to HID device</title><link>https://devzone.nordicsemi.com/thread/373411?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2022 11:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b7f5c3d-e0c8-427d-b647-16ff952dd047</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If the device is a HID keyboard device, or otherwise appears as a keyboard, then it is reasonable for the phone to remove the on-screen keyboard. Since you have connected a physical keyboard, it would be logical to use that connected device for keyboard instead of the on-screen keyboard.&lt;/p&gt;
&lt;p&gt;If a lock appears as a keyboard for a phone, then they are most likely on the wrong track and should reconsider the overall architecture of their solution. They should use a different method for communicating from the lock to the phone. For that they should not use the HID keyboard on the lock. Instead they should either create a completely new custom BLE Service with characteristics for communicating between lock and phone, or base it off of the Nordic UART Service, or find a different suitable BLE Service that fits their need.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>