• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AT Command AT+CPBW doesn't work why ? Want to add contact to sim

 
Ranch Hand
Posts: 79
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi friends I'm designing a PC Suite in java. I want to insert a contact into sim card which is in Dongle (NetSetter Modem). I can fetch and delete contacts from sim but cant add new contact. I have used following at command to add



Please somebody help me as I have no idea how to add contact please ..

 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please read ItDoesntWorkIsUseless.

If you get an error, read it. Usually it tells you exactly what the problem is. At the very least, post the error here - do not paraphrase, but post the real, actual text.

you also need to TellTheDetails. "AT+CPBW=11, 4356729012,129,Carry;\r"; means almost nothing. This line by itself is not valid java syntax. You don't give anyone NEAR enough information to even attempt to help you.
 
Ganesh Pat
Ranch Hand
Posts: 79
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ya your right i confess for that. Here is my code


OUTPUT:-
COM7
9600
AT+CPBW=11, 4356729012,129,Carry
ERROR
BUILD SUCCESSFUL (total time: 3 seconds)



When i set mValue="AT+CPBW=?\r"; in above addContacts code it gives following output

COM7
9600
AT+CPBW=?
+CPBW: (1-250),24,(128-255),14 // 1-250 is Index i.e sim memory location,24 is mobile number and 128-255 is type and 14 is text name for mobile no

OK



I have passed values according to above format but gave Error mentioned in first code.

 
reply
    Bookmark Topic Watch Topic
  • New Topic