Zephyr API 3.6.99
Loading...
Searching...
No Matches
gmap.h File Reference

Header for Bluetooth Gaming Audio Profile (GMAP). More...

Go to the source code of this file.

Data Structures

struct  bt_gmap_feat
 Broadcast Game Receiver Feature bitfield. More...
 
struct  bt_gmap_cb
 Hearing Access Service Client callback structure. More...
 

Enumerations

enum  bt_gmap_role { BT_GMAP_ROLE_UGG = BIT(0) , BT_GMAP_ROLE_UGT = BIT(1) , BT_GMAP_ROLE_BGS = BIT(2) , BT_GMAP_ROLE_BGR = BIT(3) }
 Gaming Role bitfield. More...
 
enum  bt_gmap_ugg_feat { BT_GMAP_UGG_FEAT_MULTIPLEX = BIT(0) , BT_GMAP_UGG_FEAT_96KBPS_SOURCE = BIT(1) , BT_GMAP_UGG_FEAT_MULTISINK = BIT(2) }
 Unicast Game Gateway Feature bitfield. More...
 
enum  bt_gmap_ugt_feat {
  BT_GMAP_UGT_FEAT_SOURCE = BIT(0) , BT_GMAP_UGT_FEAT_80KBPS_SOURCE = BIT(1) , BT_GMAP_UGT_FEAT_SINK = BIT(2) , BT_GMAP_UGT_FEAT_64KBPS_SINK = BIT(3) ,
  BT_GMAP_UGT_FEAT_MULTIPLEX = BIT(4) , BT_GMAP_UGT_FEAT_MULTISINK = BIT(5) , BT_GMAP_UGT_FEAT_MULTISOURCE = BIT(6)
}
 Unicast Game Terminal Feature bitfield. More...
 
enum  bt_gmap_bgs_feat { BT_GMAP_BGS_FEAT_96KBPS = BIT(0) }
 Broadcast Game Sender Feature bitfield. More...
 
enum  bt_gmap_bgr_feat { BT_GMAP_BGR_FEAT_MULTISINK = BIT(0) , BT_GMAP_BGR_FEAT_MULTIPLEX = BIT(1) }
 Broadcast Game Receiver Feature bitfield. More...
 

Functions

int bt_gmap_cb_register (const struct bt_gmap_cb *cb)
 Registers the callbacks used by the Gaming Audio Profile.
 
int bt_gmap_discover (struct bt_conn *conn)
 Discover Gaming Service on a remote device.
 
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.
 

Detailed Description

Header for Bluetooth Gaming Audio Profile (GMAP).

Copyright (c) 2023-2024 Nordic Semiconductor ASA

SPDX-License-Identifier: Apache-2.0