View Single Post
Old 05-05-2009, 12:13   #2 (permalink)
loca|host
Moderator
 
loca|host's Avatar
 
Join Date: Oct 2006
Location: Tunisia
Age: 41
Posts: 1,524
Member: 363451
Status: Offline
Sonork: 100.1577895
Thanks Meter: 834
Quote:
Originally Posted by dr_aybyd View Post
Hi, i am new here in OBEX and AT commands.(don't want to use any commercial ocx for this time )
I want to start a project which can sync phonebook of my SE W550i using OBEX and AT+commands.
And save or view it in my pc.

How can I send at commands and use obex to do that? Using visual basic 6.
Anyone have a sample codes for that? so i have an idea to start. Thanks!





br,
aybyd
AT+CPBS Phonebook storage

Description: Selects phonebook memory storage <storage>, which is used by other
phonebook commands. If setting fails in a ME error, +CME ERROR: <err>
is returned.
Read command returns currently selected memory and, when supported
by manufacturer, number of used locations and total number of locations
in the memory.
Test command returns supported storage as compound value.
Note: Each one of the defined profiles corresponds to one (and only one)
list of allowed callers.
Set command: AT+CPBS=<storage>[,<password>]
Read command: AT+CPBS? Displays the current <name> setting.
Read command
response: +CPBS: <storage>
Test command: AT+CPBS=? Shows if the command is supported.
Test command
response: +CPBS: (list of supported <storage>s)

*******************************************

AT+CPBR Phonebook read

Description: Returns phonebook entries in location number range <index1>...<index2>
from the current phonebook memory storage selected by AT+CPBS. If
<index2> is left out, only location <index1> is returned. Entry fields returned
are location number <indexn>, phone number <number> (of format <type>)
and text <text> associated with the number.
When the Received Calls list (RC), the Missed Calls list (MC) or the Dialled
Calls list (DC) is selected, the two additional fields <text_date> and
<text_time> containing date and time is returned. In this case the <text>
field containing text associated with the number has to be extracted from
one of the phonebooks (SIM, ME or TA).
Note: Flags are used to indicate the contact field where the number is
stored. See <contact_flag> below.
Set command: AT+CPBR=<index1>[,<index2>]
Set command
response: +CPBR:
<index1>,<number>,<type>,<text>[,<text_date>,<text_time>]<CR><LF>
+CPBR: <index2>,<number>,<type>,<text>[,<text_date>,<text_time>]
Test command: AT+CPBR=? Shows if the command is supported.
Test command
response: +CPBR: (list of supported <index>s),<nlength>,<tlength>.





Good Luck
  Reply With Quote
The Following 2 Users Say Thank You to loca|host For This Useful Post:
 
Page generated in 0.08827 seconds with 8 queries