Tizen Native API
9.0
|
Bluetooth HID(Human Interface Device) API provides functions for connecting to Bluetooth HID such as keyboards and mouse.
Required Header
#include <bluetooth.h>
Overview
In HID Profile, there are two roles - Host and Device. The Host is a device that uses or requests the services of a HID. The Device is a device that provides the service of human data input and output to and from th Bluetooth Human Interface Device (HID) APIs furnish a collection of functionalities tailored towards linking with Bluetooth HID peripherals, such as keyboards and mouse. Primary offerings entail:
- Initialization of Bluetooth HID Host, accompanied by optional callbacks for tracking connection state changes
- Deinitialization of Bluetooth HID Host
- Connection setup with remote devices featuring HID services, performed asynchronously
- Disconnection of remote devices equipped with HID services, likewise conducted asynchronously By harnessing these capabilities, developers gain access to simplified pathways for interfacing with Bluetooth HID accessories.
Related Features
This API is related with the following features:
- http://tizen.org/feature/network.bluetooth.hid
- http://tizen.org/feature/network.bluetooth.hid_device
It is recommended to design feature related codes in your application for reliability.
You can check if a device supports the related features for this API by using System Information, thereby controlling the procedure of your application
To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK
More details on featuring your application can be found from Feature Element.