nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
◆
BT_HIDS_DEF
#define BT_HIDS_DEF
(
_name
,
... )
#include <
hids.h
>
Value:
BT_CONN_CTX_DEF
(_name, \
CONFIG_BT_HIDS_MAX_CLIENT_COUNT, \
_BT_HIDS_CONN_CTX_SIZE_CALC(__VA_ARGS__)); \
static
struct
bt_hids
_name = \
{ \
.gp =
BT_GATT_POOL_INIT
(CONFIG_BT_HIDS_ATTR_MAX), \
.conn_ctx = &_CONCAT(_name, _ctx_lib), \
}
BT_CONN_CTX_DEF
#define BT_CONN_CTX_DEF(_name, _max_clients, _ctx_sz)
Macro for defining a Bluetooth connection context library instance.
Definition
conn_ctx.h:31
BT_GATT_POOL_INIT
#define BT_GATT_POOL_INIT(_attr_array_size)
Initialization of the GATT attribute pool variable.
Definition
gatt_pool.h:31
bt_hids
HID Service structure.
Definition
hids.h:514
Declare a HIDS instance.
Parameters
_name
Name of the HIDS instance.
...
Lengths of HIDS reports
Bluetooth LE GATT Human Interface Device Service API
Generated on
for nRF Connect SDK API by
1.17.0