int _bt_hfp_send_vendor_cmd(bt_ag_info_t *hs,
const char *cmd)
{
- DBG("_bt_hfp_send_vendor_cmd = %d", cmd);
+ DBG("_bt_hfp_send_vendor_cmd = %s", cmd);
if (_bt_ag_send_at(hs, "\r\n%s\r\n", cmd) < 0)
return BT_HFP_AGENT_ERROR_INTERNAL;
gboolean _bt_hfp_is_call_exist(void)
{
- DBG("_bt_hfp_is_call_exist [%x]", existing_call_list);
+ DBG("_bt_hfp_is_call_exist [%p]", existing_call_list);
if (existing_call_list)
return TRUE;
else
cmd = g_slist_nth_data(bt_hf_info->cmd_send_queue, 0);
if (cmd) {
bt_hf_info->cmd_send_queue = g_slist_remove(bt_hf_info->cmd_send_queue, cmd);
- DBG("NEXT[%d] Found %s, context = 0x%x, pending = %d", cmd->id,
+ DBG("NEXT[%d] Found %s, context = 0x%p, pending = %d", cmd->id,
cmd->at_cmd, cmd->context, cmd->pending);
return cmd;
}
old_folder = __bt_email_get_path(mailbox_from->mailbox_type);
handle = _bt_add_id(mailid, BT_MAP_ID_EMAIL);
- DBG("[MessageDeleted] Handle:%d", handle);
+ DBG("[MessageDeleted] Handle:%llu", handle);
_bt_mns_client_event_notify("MessageShift", handle,
"TELECOM/MSG/DELETED", old_folder, "EMAIL");
g_free(old_folder);
break;
handle = _bt_add_id(mailid, BT_MAP_ID_EMAIL);
- DBG("[SendingSuccess] Handle:%d", handle);
+ DBG("[SendingSuccess] Handle:%llu", handle);
_bt_mns_client_event_notify("MessageShift", handle,
"TELECOM/MSG/SENT", "TELECOM/MSG/OUTBOX", "EMAIL");
#else
snprintf(email_handle, sizeof(email_handle), "%llx", uid);
#endif
- DBG("******* MAP ID:%d, MailID:%d **********", uid, email_struct->mail_id);
+ DBG("******* MAP ID:%llu, MailID:%d **********", uid, email_struct->mail_id);
email_info->handle = g_strdup(email_handle);
dptime = email_struct->date_time;
g_free(folder);
/* List of recepient & sender */
- DBG("Sender: %d", mail_data->email_address_sender);
- DBG("Sender Alias: %d", mail_data->alias_sender);
+ DBG("Sender: %s", mail_data->email_address_sender);
+ DBG("Sender Alias: %s", mail_data->alias_sender);
g_string_append_printf(msg, EMAIL_VCARD, mail_data->email_address_sender,
mail_data->email_address_sender);
#else
snprintf(msg_handle, sizeof(msg_handle), "%llx", uid);
#endif
- DBG("HANDLE: %s, MAP Id: %d, MSG ID:%d", msg_handle, uid, msg_id);
+ DBG("HANDLE: %s, MAP Id: %llu, MSG ID:%d", msg_handle, uid, msg_id);
msg_info->handle = g_strdup(msg_handle);
msg = msg_create_struct(MSG_STRUCT_MESSAGE_INFO);
goto fail;
local_count = (guint64)msg_list.nCount;
- DBG("msg_list.nCount: %d, count:%d", msg_list.nCount, local_count);
+ DBG("msg_list.nCount: %d, count:%llu", msg_list.nCount, local_count);
for (i = 0; i < local_count; i++) {
msg_get_bool_value(msg_list.msg_struct_info[i],
MSG_MESSAGE_READ_BOOL, &read);
gchar *str = NULL;
const gchar *attr = NULL;
- DBG_SECURE("folder: %s id: %s filter: %ld format: %d\n",
+ DBG_SECURE("folder: %s id: %s filter: %llu format: %d\n",
folder, id, filter, format);
__bluetooth_pb_agent_timeout_add_seconds(agent);
if (f == 0)
f = ~f;
- DBG("filter[%x]\n", filter);
+ DBG("filter[%llu]\n", filter);
str = g_string_new("BEGIN:VCARD\r\nVERSION:2.1\r\n");