summaryrefslogtreecommitdiffstats
path: root/bta
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2012-12-12 16:01:31 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2012-12-12 16:01:31 -0800
commit62b1414bcf9da45381ac2862aed405b641308f54 (patch)
treedeb73e198950072c0b038b596ab452fa71aa97b8 /bta
parent5738f83aeb59361a0a2eda2460113f6dc9194271 (diff)
downloadexternal_bluetooth_bluedroid-62b1414bcf9da45381ac2862aed405b641308f54.zip
external_bluetooth_bluedroid-62b1414bcf9da45381ac2862aed405b641308f54.tar.gz
external_bluetooth_bluedroid-62b1414bcf9da45381ac2862aed405b641308f54.tar.bz2
Snapshot 0d153181bbe9ce75555b437567796a9aef4ef0ae
Change-Id: I99fb22bd2e10af658de4cfe26470e71bda147ce8
Diffstat (limited to 'bta')
-rw-r--r--bta/hh/bta_hh_cfg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bta/hh/bta_hh_cfg.c b/bta/hh/bta_hh_cfg.c
index 62a07ad..5b7335a 100644
--- a/bta/hh/bta_hh_cfg.c
+++ b/bta/hh/bta_hh_cfg.c
@@ -27,7 +27,7 @@
#include "bta_hh_api.h"
/* max number of device types supported by BTA */
-#define BTA_HH_MAX_DEVT_SPT 7
+#define BTA_HH_MAX_DEVT_SPT 9
/* size of database for service discovery */
#ifndef BTA_HH_DISC_BUF_SIZE
@@ -39,6 +39,8 @@
#define BTA_HH_APP_ID_KB 2
#define BTA_HH_APP_ID_RMC 3
#define BTA_HH_APP_ID_3DSG 4
+#define BTA_HH_APP_ID_JOY 5
+#define BTA_HH_APP_ID_GPAD 6
/* The type of devices supported by BTA HH and corresponding application ID */
@@ -50,6 +52,8 @@ tBTA_HH_SPT_TOD p_devt_list[BTA_HH_MAX_DEVT_SPT] =
{BTA_HH_DEVT_RMC, BTA_HH_APP_ID_RMC},
{BTA_HH_DEVT_RMC | BTA_HH_DEVT_KBD, BTA_HH_APP_ID_RMC},
{BTA_HH_DEVT_MIC | BTA_HH_DEVT_DGT, BTA_HH_APP_ID_MI},
+ {BTA_HH_DEVT_JOS, BTA_HH_APP_ID_JOY},
+ {BTA_HH_DEVT_GPD, BTA_HH_APP_ID_GPAD},
{BTA_HH_DEVT_UNKNOWN, BTA_HH_APP_ID_3DSG}
};