ble_hids_evt_t

nRF5 SDK v15.2.0

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 const * data
} char_write
struct {
ble_hids_char_id_t char_id
} char_auth_read
} params
ble_evt_t const * 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 const* 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 const* ble_hids_evt_t::p_ble_evt

corresponding received ble event, NULL if not relevant

  • components/ble/ble_services/ble_hids/ble_hids.h