# Human Interface Device over GATT Profile

HOGP defines how a Bluetooth Low Energy wireless communications device can support
HID services over the Bluetooth Low Energy protocol stack using GATT.

## Set up device for HOGP functions

**Prerequisites**

- Enable SSH to access your host device. For instructions, see [Sign in using SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-70018-254/how_to.html#use-ssh).
- Place the DUT and the remote device in the Bluetooth vicinity.

**Procedure**

1. Run the SSH in command prompt using the following command:

ssh root@<device_IP_address>
        Copy to clipboard

    **Example**

    If the IP address of the device is `10.92.160.222`, run the following command:

ssh root@10.92.160.222
        Copy to clipboard
2. Connect to the SSH by entering the following password:

oelinux123
        Copy to clipboard
3. Open the Bluetooth test application by running the following command:

bluetoothctl
        Copy to clipboard

    You can perform a few GATT functions like connecting and scanning through the main menu options of **bluetoothctl**.

    **Sample output**

sh-5.1# bluetoothctl
        Agent registered        uetoothd...
        [CHG] Controller 22:22:F1:C1:99:C0 Pairable: yes
        Copy to clipboard
4. Enable Bluetooth by running the following command:

power on
        Copy to clipboard

    **Sample output**

[bluetooth]# power on
        [CHG] Controller 22:22:F1:C1:99:C0 Class: 0x007c0000
        Changing power on succeeded
        [CHG] Controller 22:22:F1:C1:99:C0 Powered: yes
        Copy to clipboard

    For HOGP functions, see [Perform Bluetooth HOGP functions](https://docs.qualcomm.com/doc/80-70018-13/topic/bluez-perform-bluetooth-hogp-functions.html#bluez-perform-bluetooth-hogp-functions).

**Next steps**

- [Perform Bluetooth HOGP functions](https://docs.qualcomm.com/doc/80-70018-13/topic/bluez-perform-bluetooth-hogp-functions.html)
You can perform HOGP functions using the `bluetoothctl` options and
evtest tool.

Last Published: Apr 02, 2025

[Previous Topic
Perform Bluetooth Low Energy GATT client functions](https://docs.qualcomm.com/bundle/publicresource/80-70018-13/topics/bluez-perform-bluetooth-low-energy-gatt-client-functions.md) [Next Topic
Perform Bluetooth HOGP functions](https://docs.qualcomm.com/bundle/publicresource/80-70018-13/topics/bluez-perform-bluetooth-hogp-functions.md)