nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_hids_init()

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.

Parameters
[out]hidsHID 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_cfgInformation needed to initialize the service.
Return values
NRF_SUCCESSOn success.
NRF_ERROR_NULLIf hids or hids_config are NULL.
NRF_ERROR_INVALID_PARAMInvalid parameters.