diff options
Diffstat (limited to 'bta/dm/bta_dm_cfg.c')
-rw-r--r-- | bta/dm/bta_dm_cfg.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bta/dm/bta_dm_cfg.c b/bta/dm/bta_dm_cfg.c index 9e2bf31..f0f7ac9 100644 --- a/bta/dm/bta_dm_cfg.c +++ b/bta/dm/bta_dm_cfg.c @@ -17,13 +17,13 @@ #ifndef BTA_DM_COD -/* +/* * major : COD_MAJOR_PHONE * minor : COD_MINOR_SMART_PHONE * svc : None, will be set as each profile registers * */ - + #define BTA_DM_COD {0x52, BTM_COD_MAJOR_PHONE, BTM_COD_MINOR_SMART_PHONE} #endif @@ -61,7 +61,7 @@ const tBTA_DM_CFG bta_dm_cfg = /* link supervision timeout in 625uS*/ BTA_DM_LINK_TIMEOUT, /* TRUE to avoid scatternet when av is streaming (be the master) */ - TRUE + TRUE }; #ifndef BTA_DM_SCATTERNET @@ -81,13 +81,13 @@ const tBTA_DM_CFG bta_dm_cfg = #define BTA_DM_NUM_RM_ENTRY 4 -/* appids for PAN used by insight sample application +/* appids for PAN used by insight sample application these have to be same as defined in btui_int.h */ #define BTUI_PAN_ID_PANU 0 #define BTUI_PAN_ID_NAP 1 #define BTUI_PAN_ID_GN 2 -/* First element is always for SYS: +/* First element is always for SYS: app_id = # of entries table, cfg is device scatternet support */ const tBTA_DM_RM bta_dm_rm_cfg[] = @@ -175,7 +175,7 @@ tBTA_DM_PM_TYPE_QUALIFIER tBTA_DM_PM_SPEC bta_dm_pm_spec[BTA_DM_NUM_PM_SPEC] = {{BTA_DM_PM_RETRY, 5000}, {BTA_DM_PM_NO_ACTION, 0}} /* mode change retry */ } }, - + /* DG */ { (BTA_DM_PM_ACTIVE), /* no power saving mode allowed */ @@ -374,16 +374,16 @@ tBTM_PM_PWR_MD *p_bta_dm_pm_md = (tBTM_PM_PWR_MD *)&bta_dm_pm_md; ** ** When BTM_EIR_DEFAULT_FEC_REQUIRED is TRUE, ** 1 to 17 bytes, DM1 is used and most robust. -** 18 to 121 bytes, DM3 is used but impacts inquiry scan time with large number +** 18 to 121 bytes, DM3 is used but impacts inquiry scan time with large number ** of devices.(almost double with 150 users) -** 122 to 224 bytes, DM5 is used but cause quite big performance loss even with +** 122 to 224 bytes, DM5 is used but cause quite big performance loss even with ** small number of users. so it is not recommended. ** 225 to 240 bytes, DH5 is used without FEC but it not recommended. ** (same reason of DM5) ** ** When BTM_EIR_DEFAULT_FEC_REQUIRED is FALSE, ** 1 to 27 bytes, DH1 is used but only robust at short range. -** 28 to 183 bytes, DH3 is used but only robust at short range and impacts inquiry +** 28 to 183 bytes, DH3 is used but only robust at short range and impacts inquiry ** scan time with large number of devices. ** 184 to 240 bytes, DH5 is used but it not recommended. */ @@ -399,7 +399,7 @@ const UINT8 bta_dm_eir_uuid16_list[] = { 0x08, 0x11, /* Headset */ #endif /* Extended Inquiry Response */ -const tBTA_DM_EIR_CONF bta_dm_eir_cfg = +const tBTA_DM_EIR_CONF bta_dm_eir_cfg = { 50, /* minimum length of local name when it is shortened */ /* if length of local name is longer than this and EIR has not enough */ |