Zephyr API Documentation  3.6.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
15
53};
54
76};
77
125};
126
131};
132
143};
144
155};
156
169 void (*discover)(struct bt_conn *conn, int err, enum bt_gmap_role role,
170 struct bt_gmap_feat features);
171};
172
182int bt_gmap_cb_register(const struct bt_gmap_cb *cb);
183
198int bt_gmap_discover(struct bt_conn *conn);
199
211int bt_gmap_register(enum bt_gmap_role role, struct bt_gmap_feat features);
212
231int bt_gmap_set_role(enum bt_gmap_role role, struct bt_gmap_feat features);
232 /* end of bt_gmap */
234
235#endif /* ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_GMAP_ */
Bluetooth connection handling.
bt_gmap_ugt_feat
Unicast Game Terminal Feature bitfield.
Definition: gmap.h:79
bt_gmap_bgs_feat
Broadcast Game Sender Feature bitfield.
Definition: gmap.h:128
bt_gmap_ugg_feat
Unicast Game Gateway Feature bitfield.
Definition: gmap.h:56
bt_gmap_role
Gaming Role bitfield.
Definition: gmap.h:24
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:134
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:109
@ BT_GMAP_UGT_FEAT_80KBPS_SOURCE
80 kbps source support
Definition: gmap.h:91
@ BT_GMAP_UGT_FEAT_64KBPS_SINK
64 kbps sink support
Definition: gmap.h:103
@ BT_GMAP_UGT_FEAT_SOURCE
Source support.
Definition: gmap.h:85
@ BT_GMAP_UGT_FEAT_MULTISOURCE
Support for sending at least two audio channels, each in a separate CIS.
Definition: gmap.h:124
@ BT_GMAP_UGT_FEAT_MULTISINK
Support for receiving at least two audio channels, each in a separate CIS.
Definition: gmap.h:116
@ BT_GMAP_UGT_FEAT_SINK
Sink support.
Definition: gmap.h:97
@ BT_GMAP_BGS_FEAT_96KBPS
96 kbps support
Definition: gmap.h:130
@ BT_GMAP_UGG_FEAT_MULTISINK
Support for receiving at least two channels of audio, each in a separate CIS.
Definition: gmap.h:75
@ BT_GMAP_UGG_FEAT_MULTIPLEX
Support transmitting multiple LC3 codec frames per block in an SDU.
Definition: gmap.h:62
@ BT_GMAP_UGG_FEAT_96KBPS_SOURCE
96 kbps source support
Definition: gmap.h:68
@ BT_GMAP_ROLE_UGT
Gaming Role Unicast Game Terminal.
Definition: gmap.h:38
@ BT_GMAP_ROLE_BGS
Gaming Role Broadcast Game Sender.
Definition: gmap.h:45
@ BT_GMAP_ROLE_UGG
Gaming Role Unicast Game Gateway.
Definition: gmap.h:31
@ BT_GMAP_ROLE_BGR
Gaming Role Broadcast Game Receiver.
Definition: gmap.h:52
@ BT_GMAP_BGR_FEAT_MULTISINK
Support for receiving at least two audio channels, each in a separate BIS.
Definition: gmap.h:140
@ BT_GMAP_BGR_FEAT_MULTIPLEX
Support for receiving multiple LC3 codec frames per block in an SDU.
Definition: gmap.h:142
#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:158
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:169
Broadcast Game Receiver Feature bitfield.
Definition: gmap.h:146
enum bt_gmap_bgs_feat bgs_feat
Remote Broadcast Game Sender features.
Definition: gmap.h:152
enum bt_gmap_ugt_feat ugt_feat
Unicast Game Terminal features.
Definition: gmap.h:150
enum bt_gmap_ugg_feat ugg_feat
Unicast Game Gateway features.
Definition: gmap.h:148
enum bt_gmap_bgr_feat bgr_feat
Remote Broadcast Game Receiver features.
Definition: gmap.h:154
Macro utilities.