From: Caiwen Zhang Date: Thu, 14 Mar 2013 20:58:29 +0000 (+0800) Subject: s_sat.c: Fix envelope cmd and enable Setup Event List X-Git-Tag: 2.1b_release~30 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Ftelephony%2Ftel-plugin-imc.git;a=commitdiff_plain;h=bc4fc30d89a25402bf845598d0e8abfa5d114c2d s_sat.c: Fix envelope cmd and enable Setup Event List Change-Id: Iadd625684c9a630f6452fe5395acd2767605b9fb --- diff --git a/src/s_sat.c b/src/s_sat.c index 0cb3810..a38d999 100644 --- a/src/s_sat.c +++ b/src/s_sat.c @@ -221,7 +221,7 @@ static gboolean on_event_sat_proactive_command(CoreObject *o, const void *event_ dbg("wrong input"); break; } - if ((decoded_data.cmd_type == SAT_PROATV_CMD_REFRESH) || (decoded_data.cmd_type == SAT_PROATV_CMD_SETUP_EVENT_LIST)) { + if (decoded_data.cmd_type == SAT_PROATV_CMD_REFRESH) { /*Not supported*/ dbg("Not suported Proactive command"); return FALSE; @@ -355,8 +355,8 @@ static TReturn s_envelope(CoreObject *o, UserRequest *ur) return TCORE_RETURN_EINVAL; } for (count = 0; count < envelope_cmd_len; count++) { - dbg("envelope_cmd %02x", envelope_cmd[count]); - sprintf(pbuffer, "%02x", envelope_cmd[count]); + dbg("envelope_cmd %02x", (unsigned char)envelope_cmd[count]); + sprintf(pbuffer, "%02x", (unsigned char)envelope_cmd[count]); pbuffer += 2; } dbg("pbuffer %s", envelope_cmdhex);