summaryrefslogtreecommitdiffstats
path: root/src/emulator.c
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2011-06-21 14:49:49 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-06-20 04:21:51 -0500
commitb22b0ab57b95fadd9f034cb7925c6f5c314ccd0e (patch)
tree7dd6226bc182b17fae1d6c20e7828bd6c0a7d6c7 /src/emulator.c
parent6db88b21d01fc7f77613b96bdae7c065d8fe7963 (diff)
downloadofono-b22b0ab57b95fadd9f034cb7925c6f5c314ccd0e.tar.bz2
emulator: fix local HFP AG features
Diffstat (limited to 'src/emulator.c')
-rw-r--r--src/emulator.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/emulator.c b/src/emulator.c
index 14398544..906404dd 100644
--- a/src/emulator.c
+++ b/src/emulator.c
@@ -882,8 +882,11 @@ struct ofono_emulator *ofono_emulator_create(struct ofono_modem *modem,
return NULL;
em->type = type;
- /* TODO: Check real local features */
- em->l_features = 32;
+ em->l_features |= HFP_AG_FEATURE_3WAY;
+ em->l_features |= HFP_AG_FEATURE_REJECT_CALL;
+ em->l_features |= HFP_AG_FEATURE_ENHANCED_CALL_STATUS;
+ em->l_features |= HFP_AG_FEATURE_ENHANCED_CALL_CONTROL;
+ em->l_features |= HFP_AG_FEATURE_EXTENDED_RES_CODE;
em->events_mode = 3; /* default mode is forwarding events */
em->cmee_mode = 0; /* CME ERROR disabled by default */