nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_hids_evt_t Struct Reference

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_tp_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