diff options
author | Denis Kenzior <denkenz@gmail.com> | 2012-11-24 21:55:47 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-11-28 10:31:14 -0600 |
commit | fb16241aba9b9e2c999b48626ffffab1d4930689 (patch) | |
tree | efee347e1a7762f76cd54932eacc633b8854e79c /src/stk.c | |
parent | d8a9e887058b33d8dacdb926c9d62bb0747394e3 (diff) | |
download | ofono-fb16241aba9b9e2c999b48626ffffab1d4930689.tar.bz2 |
stk: Print what kind of info the SIM wants
In Provide Local Information implementation
Diffstat (limited to 'src/stk.c')
-rw-r--r-- | src/stk.c | 48 |
1 files changed, 45 insertions, 3 deletions
@@ -2365,22 +2365,64 @@ static gboolean handle_command_provide_local_info(const struct stk_command *cmd, struct stk_response *rsp, struct ofono_stk *stk) { switch (cmd->qualifier) { + case 0: + DBG("Unhandled - Local information according to current NAA"); + break; + case 1: + DBG("Unhandled - IMEI"); + break; + case 2: + DBG("Unhandled - Network measurement results"); + break; case 3: DBG("Date, time and time zone"); get_time(rsp); return TRUE; - case 4: DBG("Language setting"); get_lang(rsp, stk); return FALSE; + case 6: + DBG("Unhandled - Access Technology"); + break; + case 7: + DBG("Unhandled - ESN of the terminal"); + break; + case 8: + DBG("Unhandled - IMEISV of the terminal"); + break; + case 9: + DBG("Unhandled - Search mode"); + break; + case 10: + DBG("Unhandled - Charge state of Battery"); + break; + case 11: + DBG("Unhandled - MEID"); + break; + case 13: + DBG("Unhandled - Broadcast Network information"); + break; + case 14: + DBG("Unhandled - Multiple Access Technologies"); + break; + case 15: + DBG("Unhandled - Location information for multiple access" + " technologies"); + break; + case 16: + DBG("Unhandled - Measurement results for multiple access" + " technologies"); + break; default: ofono_info("Unsupported Provide Local Info qualifier: %d", cmd->qualifier); - rsp->result.type = STK_RESULT_TYPE_NOT_CAPABLE; - return TRUE; + break; } + + rsp->result.type = STK_RESULT_TYPE_NOT_CAPABLE; + return TRUE; } static void send_dtmf_cancel(struct ofono_stk *stk) |