Stephen, nice job of explaining the situation, that's I meant to say in my last post :-)
If you could get the ringtone info by using #PUGSN then you should use it. However, you'd need to somehow determine which ones are builtins and which ones are not. Unfortunately for me, the A650 phones do not support #PUGSN command so I'm stuck.
One possible sequence of operations would include:
1. Upload wallpapers, ringtones, and reboot.
2. Download wallpapers & ringtones with correct indices and reboot.
3. Assign wallpaper & ringtone indices obtained in step 2 to phonebook and calendar entries.
4. Save phoneboot and calendar entries to phone.
-Joe Pham
Post by Stephen WoodPost by Roger BinnsRearranged order of sending info to phone
...
Post by Roger BinnsI have reversed the change for the moment (and put calendar where it
should be).
Why do you need the order to be different?
Roger
For Samsung phones, it is looking like the phonebook and calendar
access
will be in modem mode and the ringer and wallpaper access will be in
Brew mode. Furthermore, as Vic is learning, some details of phonebook
ringer/wallpaper assignments can only be learned in Brew mode.
The way I think that we will eventually conclude things have to work is
that we will first do all things that need AT commands,
Does this mean we could get the builtin ringtone index table
dynamically with the AT#PUGSN? command instead of listing them directly
in the code?
Post by Stephen Woodand then do all
check if in brew mode, if so, tell user to reboot and try again.
getfundamentals
phonebook
calendar
ringers
wallpaper
postprocess
reboot
On read, postprocess might fix up the phonebook based on information
gathered during the ringer/wallpaper reading.
So the ringer and wallpaper ids received during phonebook reads would
have to be stored somewhere.
Post by Stephen WoodI don't know if writing can be fit into this mold so that we don't have
to reboot in the middle.
One could imagine rebooting during the middle of things rather than
just
at the end. Aside from making things take longer, I am not sure that
auto rebooting will be entirely reliable. The only cable I have is a
charging cable. When the phone is commanded to reboot, the phone does
not come back to a full on state. It displays the charging message and
is not associated with the wireless network. The phone is actually
alive, and will still communicate with BitPim, but kind of in slow
motion. It has a tendency to timeout during communication (this could
probably be worked around). If I have to tell a user to make sure that
the phone is really on, I would rather say that before doing anything
than in the middle of xfer operations.
Those of you with non charging cables: What happens when BitPim tells
the phone to reboot. Does the phone reboot fully?
Yes it does.
I now wonder how you handle the Send operation. Suppose a user adds a
ringer to bitpim then goes to the phonebook and selects this ringer for
one of the phone entries (or is it unavailable for selection here?)
BitPim has no idea what ID the phone will assign to this ringer so if a
send is done and, as part of the "AT set", the phonebook is sent before
the ringer, there will be no way to assign the correct ringer to that
phonebook entry. A sImilar problem would occur with wallpapers. Any
send operation of ringers or wallpapers will have to include a read of
the name-->ID mapping table so the IDs in BitPim can be reset to the
correct ones that the phone assigns.
The more I think about it, the more complex this problem seems.
Vic
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Bitpim-devel mailing list
Bitpim-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
________________________________________________________________
NetZero Platinum $9.95.
NetZero HiSpeed $14.95.
Sign up Today at http://www.netzero.net or
Visit Sam Goody, Suncoast or MediaPlay Stores.