Starting March 27, 2025, we recommend using android-latest-release instead of aosp-main to build and contribute to AOSP. For more information, see Changes to AOSP.
         
       
     
  
  
  
  
  
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
  
  bthh_interface_t Struct Reference
 
  
   #include <
   
    bt_hh.h
   
   >
  
 
 
 
 
 
 
  
   Represents the standard BT-HH interface.
  
  
   Definition at line
   
    140
   
   of file
   
    bt_hh.h
   
   .
  
  
 
 
 
 
  
  
   
    Closes the interface.
   
   
    Definition at line
    
     178
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    connect to hid device
   
   
    Definition at line
    
     151
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    dis-connect from hid device
   
   
    Definition at line
    
     154
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    Get the HID proto mode.
   
   
    Definition at line
    
     163
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    Send a GET_REPORT to HID device.
   
   
    Definition at line
    
     169
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    Register the BtHh callbacks
   
   
    Definition at line
    
     148
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
   
    
     | bt_status_t
      
      (* send_data)(bt_bdaddr_t *bd_addr, char *data) | 
   
   
  
   
    Send data to HID device.
   
   
    Definition at line
    
     175
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    Set the HID device descriptor for the specified HID device.
   
   
    Definition at line
    
     160
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    Set the HID proto mode.
   
   
    Definition at line
    
     166
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    Send a SET_REPORT to HID device.
   
   
    Definition at line
    
     172
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    set to sizeof(BtHhInterface)
   
   
    Definition at line
    
     143
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 
 
  
  
   
    Virtual UnPlug (VUP) the specified HID device
   
   
    Definition at line
    
     157
    
    of file
    
     bt_hh.h
    
    .
   
   
  
 
 The documentation for this struct was generated from the following file:
 
  - 
   hardware/libhardware/include/hardware/
   
    bt_hh.h
   
  
 
 
  
  
 
  
    
    
      
    
    
  
       
    
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2019-10-02 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[]]