Prerequisites
Before you begin, set up your device as described in Set up the device for HOGP functions.Connect a remote device
To connect a remote device, run the following command from thebluetoothctl menu:
<bt_address> is the Bluetooth address of the remote device.
Example
To connect to a paired remote device with <bt_address> 30:73:00:41:22:49, run the following command:
Verify HOGP functionality
The evtest tool is an open-source tool used to verify HOGP functionality. It monitors and queries device events of an input device, such as a mouse or keyboard.The evtest tool isnât available in the user build. To verify HOGP functionality, build the tool from its open-source repository and push it to the DUT, as follows:
1
Clone the evtest source code
2
Configure the build for the target architecture
3
Compile the tool
4
Push the binary to the DUT
Push the compiled
evtest binary to /usr/bin on the DUT.- Switch on the Bluetooth wireless mouse.
- Run a Low Energy scan on the DUT for the Bluetooth wireless mouse.
- Connect the DUT to the Bluetooth wireless mouse.
-
Run the evtest tool by running the following command in SSH:
- Select the Bluetooth wireless mouse from the list of connected input devices that appears on the screen.
- Use the mouse and perform different actions such as clicking, scrolling, dragging, and moving.
- Verify the events printed on the screen for each action.
Disconnect a remote device
To disconnect a remote device, run the following command from thebluetoothctl menu:
<bt_address> is the Bluetooth address of the remote device.
Example
To disconnect a paired remote device with <bt_address> 30:73:00:41:22:49, run the following command:

