![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_hids_init | ( | struct ble_hids * | hids, |
| const struct ble_hids_config * | hids_cfg ) |
#include <ble_hids.h>
Function for initializing the HID Service.
| [out] | hids | HID Service structure. This structure will have to be supplied by the application. It will be initialized by this function, and will later be used to identify this particular service instance. |
| [in] | hids_cfg | Information needed to initialize the service. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If hids or hids_config are NULL. |
| NRF_ERROR_INVALID_PARAM | Invalid parameters. |