From: Roger B. <ro...@ro...> - 2003-03-07 08:45:44
|
> Roger you rock! this is going to be one sweet little > app. I was able to upload images and download the file > system and phonebook. I also created a "shared" > directory (empty) under the brew directory on the > phone by uploading to the file system. You should also have been able to just drag and drop wallpapers into the wallpapers tab and then told it to upload them to the phone. > I did have to retry many times, especially to get the > phonebook (even after getting the right com port > settings on the phone and computer--and I do seem to > need to keep telling the phone to use serial as it has > been reverting to the usb or closed settings). You won't believe what a heap of junk the internals on this phone are! If you don't tick getting information, then all the other stuff should always work, no matter what the settings for the port in the phone. (Yes, really) Here is roughly how it works. At any baud rate supported by the phone (19200, 115200, 230500) with the phone menu set to RS232, you can send information commands (really just AT modem identification strings) as well as modem commands. This is "modem" mode for bitpim. There is also a command to put it into LGDMGO mode (I assume that stands for data management). LGDMGO mode operates at 38400 baud (not a speed you can select in the main menu!). At this point the menu ( settings > 8 > 6 > 2) will say "closed". Nb you have to exit out completely from that menu for it to update properly. In LGDMGO mode, if the phone is rebooted then it comes back up with the port setting being USB. However it appears that it is still in LGDMGO mode at 38400 on the serial. The above basically means that you must have set to explicitly be in RS232 for "information" to work, but the other stuff should work at all times. > sendbrewcommand > BrewNoSuchDirectoryException: No such directory > > (note this persisted even after I created the "shared" > directory) Ok, this is it looking for your ringtones which you don't have. Make a directory tree for usr/sound/ringer or don't tick ringtone when getting data. I've now fixed the code to cope with this directory not being there and to create the whole tree when saving ringtones. > CommsException: LG-VX4400: Unable to transition mode > from brew to modem You can't make that transition without rebooting the phone and changing the port setting back to rs232. It only needs modem mode if you asked it to get "Information" from the phone. I have now renamed that to "Version Information" in the code. You really don't need this infomation, which is why it is unchecked by default. Also note that after an error has occurred, the mode is set to none which is why you saw that appearing. I am about half way through the code for writing the phonebook out. It gets real hairy. Roger |