nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
bt_hogp Struct Reference

HOGP object. More...

#include <hogp.h>

Data Structures

struct  bt_hogp_handlers
 

Data Fields

struct bt_conn * conn
 
struct bt_hids_info info_val
 
struct bt_hogp::bt_hogp_handlers handlers
 
bt_hogp_ready_cb ready_cb
 Callback for HIDS client ready (see bt_hogp_ready_cb).
 
bt_hogp_prep_fail_cb prep_error_cb
 Callback for HIDS client preparation failed.
 
bt_hogp_pm_update_cb pm_update_cb
 Callback for protocol mode updated.
 
bt_hogp_map_cb map_cb
 Callback for report map data chunk received.
 
struct bt_gatt_read_params read_params
 Internal read parameters used when reading Protocol Mode or Report Map. This struct might also be used during initialization.
 
struct k_sem read_params_sem
 The semaphore for common read parameters protection.
 
struct {
   uint8_t   rep_idx
 
init_repref
 
struct {
   struct bt_hogp_rep_info *   kbd_inp
 
   struct bt_hogp_rep_info *   kbd_out
 
   struct bt_hogp_rep_info *   mouse_inp
 
rep_boot
 
struct bt_hogp_rep_info ** rep_info
 
uint8_t rep_count
 
bool ready
 
enum bt_hids_pm pm
 

Detailed Description

HOGP object.

Note
This structure is defined here to allow the user to allocate the memory for it in an application-dependent manner. Do not use any of the fields here directly, but use the accessor functions. There are accessors for every field you might need.

The documentation for this struct was generated from the following file: