Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gmap.h
Go to the documentation of this file.
1
10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_GMAP_
11#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_GMAP_
12
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
63
86
135
141
153
165
178 void (*discover)(struct bt_conn *conn, int err, enum bt_gmap_role role,
179 struct bt_gmap_feat features);
180};
181
191int bt_gmap_cb_register(const struct bt_gmap_cb *cb);
192
207int bt_gmap_discover(struct bt_conn *conn);
208
220int bt_gmap_register(enum bt_gmap_role role, struct bt_gmap_feat features);
221
240int bt_gmap_set_role(enum bt_gmap_role role, struct bt_gmap_feat features);
241
242#ifdef __cplusplus
243}
244#endif
245 /* end of bt_gmap */
246
247#endif /* ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_GMAP_ */
Bluetooth connection handling.
bt_gmap_ugt_feat
Unicast Game Terminal Feature bitfield.
Definition gmap.h:88
bt_gmap_bgs_feat
Broadcast Game Sender Feature bitfield.
Definition gmap.h:137
bt_gmap_ugg_feat
Unicast Game Gateway Feature bitfield.
Definition gmap.h:65
bt_gmap_role
Gaming Role bitfield.
Definition gmap.h:33
int bt_gmap_register(enum bt_gmap_role role, struct bt_gmap_feat features)
Adds GMAS instance to database and sets the received Gaming Audio Profile role(s).
int bt_gmap_set_role(enum bt_gmap_role role, struct bt_gmap_feat features)
Set one or multiple Gaming Audio Profile roles and features dynamically.
bt_gmap_bgr_feat
Broadcast Game Receiver Feature bitfield.
Definition gmap.h:143
int bt_gmap_discover(struct bt_conn *conn)
Discover Gaming Service on a remote device.
int bt_gmap_cb_register(const struct bt_gmap_cb *cb)
Registers the callbacks used by the Gaming Audio Profile.
@ BT_GMAP_UGT_FEAT_MULTIPLEX
Support for receiving multiple LC3 codec frames per block in an SDU.
Definition gmap.h:118
@ BT_GMAP_UGT_FEAT_80KBPS_SOURCE
80 kbps source support
Definition gmap.h:100
@ BT_GMAP_UGT_FEAT_64KBPS_SINK
64 kbps sink support
Definition gmap.h:112
@ BT_GMAP_UGT_FEAT_SOURCE
Source support.
Definition gmap.h:94
@ BT_GMAP_UGT_FEAT_MULTISOURCE
Support for sending at least two audio channels, each in a separate CIS.
Definition gmap.h:133
@ BT_GMAP_UGT_FEAT_MULTISINK
Support for receiving at least two audio channels, each in a separate CIS.
Definition gmap.h:125
@ BT_GMAP_UGT_FEAT_SINK
Sink support.
Definition gmap.h:106
@ BT_GMAP_BGS_FEAT_96KBPS
96 kbps support
Definition gmap.h:139
@ BT_GMAP_UGG_FEAT_MULTISINK
Support for receiving at least two channels of audio, each in a separate CIS.
Definition gmap.h:84
@ BT_GMAP_UGG_FEAT_MULTIPLEX
Support transmitting multiple LC3 codec frames per block in an SDU.
Definition gmap.h:71
@ BT_GMAP_UGG_FEAT_96KBPS_SOURCE
96 kbps source support
Definition gmap.h:77
@ BT_GMAP_ROLE_UGT
Gaming Role Unicast Game Terminal.
Definition gmap.h:47
@ BT_GMAP_ROLE_BGS
Gaming Role Broadcast Game Sender.
Definition gmap.h:54
@ BT_GMAP_ROLE_UGG
Gaming Role Unicast Game Gateway.
Definition gmap.h:40
@ BT_GMAP_ROLE_BGR
Gaming Role Broadcast Game Receiver.
Definition gmap.h:61
@ BT_GMAP_BGR_FEAT_MULTISINK
Support for receiving at least two audio channels, each in a separate BIS.
Definition gmap.h:149
@ BT_GMAP_BGR_FEAT_MULTIPLEX
Support for receiving multiple LC3 codec frames per block in an SDU.
Definition gmap.h:151
#define BIT(n)
Unsigned integer with bit position n set (signed in assembly language).
Definition util_macro.h:44
Hearing Access Service Client callback structure.
Definition gmap.h:167
void(* discover)(struct bt_conn *conn, int err, enum bt_gmap_role role, struct bt_gmap_feat features)
Callback function for bt_has_discover.
Definition gmap.h:178
Broadcast Game Receiver Feature bitfield.
Definition gmap.h:155
enum bt_gmap_bgs_feat bgs_feat
Remote Broadcast Game Sender features.
Definition gmap.h:161
enum bt_gmap_ugt_feat ugt_feat
Unicast Game Terminal features.
Definition gmap.h:159
enum bt_gmap_ugg_feat ugg_feat
Unicast Game Gateway features.
Definition gmap.h:157
enum bt_gmap_bgr_feat bgr_feat
Remote Broadcast Game Receiver features.
Definition gmap.h:163
Macro utilities.