| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_hids_evt_t Struct Reference
Human Interface Device Service

HID Service event. More...

`#include <ble_hids.h>`

## Data Fields
ble_hids_evt_type_t | evt_type
union {
struct {
ble_hids_char_id_t char_id
} notification
struct {
ble_hids_char_id_t char_id
uint16_t offset
uint16_t len
uint8_t * data
} char_write
struct {
ble_hids_char_id_t char_id
} char_auth_read
} | params
ble_evt_t * | p_ble_evt

## Detailed Description

HID Service event.

## Field Documentation

ble_hids_char_id_t ble_hids_evt_t::char_id

Id of characteristic for which notification has been started.

Id of characteristic having been written.

Id of characteristic being read.

uint8_t* ble_hids_evt_t::data

Incoming data, variable length

ble_hids_evt_type_t ble_hids_evt_t::evt_type

Type of event.

uint16_t ble_hids_evt_t::len

Length of the incoming data.

uint16_t ble_hids_evt_t::offset

Offset for the write operation.

ble_evt_t* ble_hids_evt_t::p_ble_evt

corresponding received ble event, NULL if not relevant