All of lore.kernel.org
 help / color / mirror / Atom feed
* Adding New contact failed in Ofono
@ 2011-05-16  7:28 Yuvaraj Ragupathi
  2011-05-16  2:27 ` Denis Kenzior
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yuvaraj Ragupathi @ 2011-05-16  7:28 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

Hi All,

I am trying to add new contact in sim via following sample code


static  int new_contact(struct ofono_phonebook *pb,char
*num,ofono_phonebook_cb_t cb)
{
    struct pb_data *pbd = ofono_phonebook_get_data(pb);
    char cmd[50];int return_value;
        sprintf(cmd,"AT+CPBW=10,%s,129,Testing", num);
        printf("Command is %s\n",cmd);
    return_value=g_at_chat_send(pbd->chat,cmd, none_prefix,
                       NULL,NULL, NULL);
        printf("Add New contact number in Sim\n Status is
%d\n",return_value);
        return return_value;
}


If i try to add new contact  my Return status is  69 or 70


what is does mean?

I verified  in my Sim. Contact is not added


Thanks

Yuvi R

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-05-17  6:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16  7:28 Adding New contact failed in Ofono Yuvaraj Ragupathi
2011-05-16  2:27 ` Denis Kenzior
2011-05-17  5:54   ` Yuvaraj Ragupathi
2011-05-17  6:33     ` Marcel Holtmann
2011-05-16  8:17 ` Aygon, Bertrand
2011-05-16  8:27 ` Jeevaka Prabu Badrappan
2011-05-16  8:58   ` Yuvaraj Ragupathi
2011-05-16  9:02     ` Aygon, Bertrand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.