This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

HID service makes phone lock screen? How to go about the development, is it a basic source project?

Based on nRF52 hardware,I want to develop a phone based on HID protocol to control the phone, send instructions to let the phone into the lock screen state,

How to go about the development, is it a basic source project?

Parents
  • Hi 

    The Keyboard Power command, defined on page 56 of the HID Usage Table document, can be used to make the phone enter the lock screen. 

    This is defined under the Generic Device Controls page, rather than the Generic Desktop page normally used for keyboards, and we don't have any example showing how to do it out of the box. 

    The ble_app_hids_keyboard example in the SDK gives you a good starting point for making this change, and if you give me a couple of days I can try to do this for you and send you an updated example that includes the Keyboard Power command. 

    Best regards
    Torbjørn

Reply
  • Hi 

    The Keyboard Power command, defined on page 56 of the HID Usage Table document, can be used to make the phone enter the lock screen. 

    This is defined under the Generic Device Controls page, rather than the Generic Desktop page normally used for keyboards, and we don't have any example showing how to do it out of the box. 

    The ble_app_hids_keyboard example in the SDK gives you a good starting point for making this change, and if you give me a couple of days I can try to do this for you and send you an updated example that includes the Keyboard Power command. 

    Best regards
    Torbjørn

Children
Related