Discussion:
[BitPim-devel] Updates to vx8100
Simon
2005-08-08 01:54:17 UTC
Permalink
Source attached. (com_lgvx4400.py, p_lgvx4400.p, com_lgvx8100.py,
p_lgvx8100.p)

1) Fix for speeddials (LG changed the way this worked slightly from previous
phones), involved modifying the vx4400 code to add a new setting, will not
affect other lg phones.
2) Addition of calender read/write. I changed the calender type to 3 for
this phone so that all the bitpim calender repeat event features work with
the phone.
3) Fixed copyright info in 8100 source.

Can someone check this into CVS.

I was asked for some help text last time. Any tips on this? Format, where
does it go etc.

Simon

P.S. Can I get access to CVS to do my own checkins?
Roger Binns
2005-08-08 04:50:13 UTC
Permalink
I will merge your patches in tomorrow night, and likely do a build on Tuesday
since a lot of people are asking about this phone.
Post by Simon
I was asked for some help text last time. Any tips on this? Format, where
does it go etc.
Look in the help directory. Create .htd files for your phone. Don't worry
about the helpid - it gets put in automatically.
Post by Simon
Can I get access to CVS to do my own checkins?
Like most projects, the initial patches from a contributor are merged after
review by another developer. That ensures that people are aware of various
details (eg we require that versionhistory.htd in the help directory is
also updated, accurate copyright headers) as well as the more technical
aspect (how various bits of code work). After doing that for a short while,
commit access is granted.

Roger
Simon
2005-08-09 01:09:23 UTC
Permalink
Roger,

Here are the help files. I have not been able to test.

Simon

-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net]On Behalf Of Roger
Binns
Sent: Sunday, August 07, 2005 9:50 PM
To: bitpim-***@lists.sourceforge.net
Subject: Re: [BitPim-devel] Updates to vx8100


I will merge your patches in tomorrow night, and likely do a build on
Tuesday
since a lot of people are asking about this phone.
Post by Simon
I was asked for some help text last time. Any tips on this? Format, where
does it go etc.
Look in the help directory. Create .htd files for your phone. Don't worry
about the helpid - it gets put in automatically.
Post by Simon
Can I get access to CVS to do my own checkins?
Like most projects, the initial patches from a contributor are merged after
review by another developer. That ensures that people are aware of various
details (eg we require that versionhistory.htd in the help directory is
also updated, accurate copyright headers) as well as the more technical
aspect (how various bits of code work). After doing that for a short while,
commit access is granted.

Roger



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Simon
2005-08-09 02:49:42 UTC
Permalink
Roger,

Here are the help files. I have not been able to test.

Simon

-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net]On Behalf Of Roger
Binns
Sent: Sunday, August 07, 2005 9:50 PM
To: bitpim-***@lists.sourceforge.net
Subject: Re: [BitPim-devel] Updates to vx8100


I will merge your patches in tomorrow night, and likely do a build on
Tuesday
since a lot of people are asking about this phone.
Post by Simon
I was asked for some help text last time. Any tips on this? Format, where
does it go etc.
Look in the help directory. Create .htd files for your phone. Don't worry
about the helpid - it gets put in automatically.
Post by Simon
Can I get access to CVS to do my own checkins?
Like most projects, the initial patches from a contributor are merged after
review by another developer. That ensures that people are aware of various
details (eg we require that versionhistory.htd in the help directory is
also updated, accurate copyright headers) as well as the more technical
aspect (how various bits of code work). After doing that for a short while,
commit access is granted.

Roger



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Roger Binns
2005-08-09 04:25:17 UTC
Permalink
Post by Simon
Source attached. (com_lgvx4400.py, p_lgvx4400.p, com_lgvx8100.py,
p_lgvx8100.p)
In future please use diff -u as detailed on the developer page
http://bitpim.org/developer.html

com_lgvx4400.py:

What is the purpose of speeddialoffset? Is the 8100 doing something
bizarre like not starting the file at one? (The other phones that
use one for voicemail ignore the entry but it is there.)

I also don't like the change of the unset alarm for all LG models.
The LG calendar code does need to be redone, probably from scratch.
If you have the time and inclinatio, I would suggest doing that
and we can make values like that be model dependent.

Removing the comment doesn't remove what it states. You cannot
save to an origin of camera. Assuming the 8100 is like the 8000
and 7000, then there is no seperate origin for camera so that
is all immaterial.

com_lgvx8100.py:

You seem to have figured out the calendar on that phone. However
it seems to be reading and writing newschedule.dat. Is that
really the name of the file (ie the new prefix). It would be
great if you can document the format and we can try to get
unified improved LG calendar support. Unless the format is
completely different - ie new :-) You can save it in analyser
format to make life easy.

It also looks like you can seperately set the alarm for a
calendar event to vibrate. Is that in addition to the
ringtone? Anyway it seems like you give vibrate special
treatment. My concern is that if a user read their calendar
into BitPim and then wrote it back out, the vibrate information
would be stripped. Post here what semantics you need (eg is
vibrate just another ringtone or is it a flag) and Joe can
provide a solution to preserving the value.

p_lgvx4400.p:

Just awaiting the speed dial clarification.

p_lgvx8100.py:

That class needs to go into a seperate file. We'll start a
file named prototypeslg.py for the LG protocol specific types
(LGCALDATE can also be pulled out of prototypes.py). (BTW
prototypes is short for protocol types not the C header sense).

------

I have merged any of the above yet, awaiting your feedback ...

Roger
Simon
2005-08-10 06:53:22 UTC
Permalink
Roger,

com_lgvx4400.py

I have looked at this again and I screwed up on this :(. I did not mean to
change the comment or the unset alarm.
I also found out the changes I made did not work after some more testing.
The 8100 changed the meaning of the speeddial PACKET slighlty. The second
field 'number' now represents the numbertype instead of the numberindex.
This means that you have to match with the numbertype in the phonebook entry
instead of the position index. I scrapped my original change and introduced
a new one which I tested more heavily, this allows the phone implementation
to choose the meaning of the 'number' field in the speeddial PACKET using a
new protocol paramter SPEEDDIALINDEX, this is set to 0 for the old meaning
and 1 for the new vx8100 meaning. I felt a generic change was better than
overriding the phonebook reading functions in the 8100 class, this way other
new phones that work this way can take advantage of common code.

com_lgvx8100.py

The file really is called newschedule.dat. I'm not sure if it is similar to
the other phones as I have not looked at one of them, although the
scheduleevent PACKET is very different from the 6100 and 4400. I don't know
what the analyser format is, is it documented?, I will write a desription of
the calender based on what I have observed in the phone once I figure this
out, where would this be stored?
The vibrate is a flag (1 bit), it can be set independently of the ringtone
for a given alarm. It would be great to add a new field to the calender
entry so that it does not get lost, even better if a check box could be
added to the alarm dialog so the user can manipulate it.
In this mail I also included support for call_history. A change is required
to the call_history.py for this to ensure unique IDs. I think this is a
temporary patch as Joe is looking into what the problem is.

p_lgvx8100.p

I agree is makes sense to create a new lg protocol file as you suggested,
this will touch a lot of files, probably too many files for me to manage via
e-mail checkin. Can you do this once you are comfortable with my other
changes?


New code attached (incl. help) with diffs from CVS. (all updates are in this
mail, discard all others)

Simon



-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net]On Behalf Of Roger
Binns
Sent: Monday, August 08, 2005 9:25 PM
To: bitpim-***@lists.sourceforge.net
Subject: Re: [BitPim-devel] Updates to vx8100
Post by Simon
Source attached. (com_lgvx4400.py, p_lgvx4400.p, com_lgvx8100.py,
p_lgvx8100.p)
In future please use diff -u as detailed on the developer page
http://bitpim.org/developer.html

com_lgvx4400.py:

What is the purpose of speeddialoffset? Is the 8100 doing something
bizarre like not starting the file at one? (The other phones that
use one for voicemail ignore the entry but it is there.)

I also don't like the change of the unset alarm for all LG models.
The LG calendar code does need to be redone, probably from scratch.
If you have the time and inclinatio, I would suggest doing that
and we can make values like that be model dependent.

Removing the comment doesn't remove what it states. You cannot
save to an origin of camera. Assuming the 8100 is like the 8000
and 7000, then there is no seperate origin for camera so that
is all immaterial.

com_lgvx8100.py:

You seem to have figured out the calendar on that phone. However
it seems to be reading and writing newschedule.dat. Is that
really the name of the file (ie the new prefix). It would be
great if you can document the format and we can try to get
unified improved LG calendar support. Unless the format is
completely different - ie new :-) You can save it in analyser
format to make life easy.

It also looks like you can seperately set the alarm for a
calendar event to vibrate. Is that in addition to the
ringtone? Anyway it seems like you give vibrate special
treatment. My concern is that if a user read their calendar
into BitPim and then wrote it back out, the vibrate information
would be stripped. Post here what semantics you need (eg is
vibrate just another ringtone or is it a flag) and Joe can
provide a solution to preserving the value.

p_lgvx4400.p:

Just awaiting the speed dial clarification.

p_lgvx8100.py:

That class needs to go into a seperate file. We'll start a
file named prototypeslg.py for the LG protocol specific types
(LGCALDATE can also be pulled out of prototypes.py). (BTW
prototypes is short for protocol types not the C header sense).

------

I have merged any of the above yet, awaiting your feedback ...

Roger


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Joe Pham
2005-08-11 03:51:34 UTC
Permalink
A change is required to the call_history.py for this to ensure unique IDs.
It's been fixed and committed.
The vibrate is a flag (1 bit), it can be set independently of the ringtone
for a given alarm. It would be great to add a new field to the calender
entry so that it does not get lost, even better if a check box could be
added to the alarm dialog so the user can manipulate it.
The changes have been committed.


-Joe Pham
Simon
2005-08-11 15:17:01 UTC
Permalink
Roger,

I have updated the com_lgvx8100.py to use the new vibrate option Joe added
to the calender and the new call_history.py.
I think this addresses all the points you raised.

New code attached with cvs diffs. (this replaces all previous code I sent
out including help)

Simon
Roger Binns
2005-08-17 03:52:50 UTC
Permalink
Post by Simon
I have updated the com_lgvx8100.py to use the new vibrate option Joe added
to the calender and the new call_history.py.
I think this addresses all the points you raised.
com_lgvx4400.py: Almost there. Are you sure all the other LG
phones will pick up SPEEDDIALINDEX being zero? It is safer to
use getattr with a default. Your diffs also contain gratuitious
insertion of blank lines.

com_lgvx8100.py: Committed.

help files: Committed.

p_lgvx4400.p: Not needed if default is used above

p_lgvx8100.p: The class was moved into prototypeslg.py and
the rest committed

Roger
Simon
2005-08-17 16:24:33 UTC
Permalink
Roger,
Post by Roger Binns
com_lgvx4400.py: Almost there. Are you sure all the other LG
phones will pick up SPEEDDIALINDEX being zero? It is safer to
use getattr with a default. Your diffs also contain gratuitious
insertion of blank lines.
I agree, I have modified to use getattr and removed the extra blank lines.
My previous changes to p_lgvx4400.p are not required.
Post by Roger Binns
p_lgvx8100.p: The class was moved into prototypeslg.py and
the rest committed
prototypeslg.py would not run, python complained about not understanding
UINTlsb, so I imported the data type.

2 source file changes with diffs attached.

Simon
Joe Pham
2005-08-18 23:39:55 UTC
Permalink
Post by Simon
I agree, I have modified to use getattr and removed the extra blank
lines.
I committed your latest changes. However, since I do not have a 4400, I'm relying on others to to test out the changes. The 4650 seems to work fine.
Post by Simon
prototypeslg.py would not run, python complained about not
understanding UINTlsb, so I imported the data type.
I also added GPSDATE to prototypeslg if you want to take advantage of it.

Please test out your code from CVS, and if everything works ok, I'll ask Roger to do a build some time next week.

Thanks for the contribution.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon
2005-08-19 01:55:27 UTC
Permalink
I ran a cvs update and nothing showed up, do you know how long after a
commit I have to wait to be able to see the code?

Simon

-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net]On Behalf Of Joe Pham
Sent: Thursday, August 18, 2005 4:40 PM
To: bitpim-***@lists.sourceforge.net
Subject: RE: [BitPim-devel] Updates to vx8100
Post by Simon
I agree, I have modified to use getattr and removed the extra blank
lines.
I committed your latest changes. However, since I do not have a 4400, I'm
relying on others to to test out the changes. The 4650 seems to work fine.
Post by Simon
prototypeslg.py would not run, python complained about not
understanding UINTlsb, so I imported the data type.
I also added GPSDATE to prototypeslg if you want to take advantage of it.

Please test out your code from CVS, and if everything works ok, I'll ask
Roger to do a build some time next week.

Thanks for the contribution.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Simon
2005-08-19 08:51:23 UTC
Permalink
Joe,
Post by Joe Pham
I also added GPSDATE to prototypeslg if you want to take advantage of it.
I have made changes to use this new class.
Post by Joe Pham
Please test out your code from CVS, and if everything works ok, I'll ask
Roger to do a build some time next week.

It worked ok.

I have also added the ability to read SMS messages.
Code changes and diffs attached.

Simon
Joe Pham
2005-08-20 17:58:50 UTC
Permalink
I have also added the ability to read SMS messages. Code changes and
diffs attached.
I've committed your changes.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon
2005-08-20 18:48:24 UTC
Permalink
Joe,

The vx8100 has a few SMS features not available in bitpim:
priority flag (normal/high)
read flag (read/unread)
Up to 10 "to" numbers (I worked around this by concatinating all the
numbers together)
Delivery status of outbox messages including delivery time for each
recipient.

Is this something that can be added to the generic bitpim sms code, who
should do this kind of work?

Simon
Roger Binns
2005-08-21 19:30:01 UTC
Permalink
BTW all the stuff I am seeing fly by about this phone and the
one that Joe is working on is supported by the other LG phones
as well. It looks like there is a serious danger of code
duplication.

One recommendation I have is the ability to mark support of
features as experimental or needs testing. Also define some
sort of test suite. That way users of the other models can
try things out, especially reading information which is generally
harmless and confirm if it works or not.
Post by Simon
priority flag (normal/high)
I don't see this on the VX4400.
Post by Simon
read flag (read/unread)
I do see this.
Post by Simon
Up to 10 "to" numbers (I worked around this by concatinating all the
numbers together)
I see this too. I don't know what the actual limit is, as it just seems
to reduce the payload available (ie each character of "to" addresses
reduces the message body by one character).
Post by Simon
Delivery status of outbox messages including delivery time for each
recipient.
I see that too. In the case of messages sent to VZW customers, it
works well. When sent outside of VZW there is no delivery time. There
are seperate "saved" times and "sent" times.

Roger
Joe Pham
2005-08-20 20:19:29 UTC
Permalink
Post by Simon
priority flag (normal/high)
read flag (read/unread)
Up to 10 "to" numbers (I worked around this by concatinating all the
numbers together)
Delivery status of outbox messages including delivery time for each
recipient.
Those features seem reasonable to add. Is the Read Flag applicable to Inbox messages only or to all? What are the possible values for Deliverary Status (Sent/NotSent)?
Post by Simon
who should do this kind of work?
In this particular case, I'd volunteer to do it.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon
2005-08-20 21:06:43 UTC
Permalink
Post by Joe Pham
Post by Simon
priority flag (normal/high)
read flag (read/unread)
Up to 10 "to" numbers (I worked around this by concatinating all the
numbers together)
Delivery status of outbox messages including delivery time for each
recipient.
Those features seem reasonable to add. Is the Read Flag applicable to
Inbox messages only or to all? What are >>the possible values for
Deliverary Status (Sent/NotSent)?

Read flag is inbox only.
The possible values are "delivery confirmed at time XXXX/delivery not
confirmed", it is possible that the receipt may not be sent in some cases
even if the message is received the wording needs to reflect this.

Also what would it take to allow a user to add a message to the "saved" list
and allow them to upload it to the phone, this would allow them to write a
message on their PC rather than the phone key pad and then go to the phone
and send the saved message.

Simon



______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Joe Pham
2005-08-20 21:59:34 UTC
Permalink
Post by Simon
it is possible that the receipt may not be sent in some cases
even if the message is received the wording needs to reflect this.
Isn't this the same as 'Delivery not confirmed' since you'd have to receive a 'Delivery Receipt' to confirm?
Post by Simon
this would allow them to write a message on their PC rather than the
phone key pad and then go to the phone and send the saved message.
We could add a feature like that.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon
2005-08-20 22:41:49 UTC
Permalink
Post by Joe Pham
Post by Simon
it is possible that the receipt may not be sent in some cases
even if the message is received the wording needs to reflect this.
Isn't this the same as 'Delivery not confirmed' since you'd have to receive
a 'Delivery Receipt' to confirm?

Yes it is.
Post by Joe Pham
Post by Simon
this would allow them to write a message on their PC rather than the
phone key pad and then go to the phone and send the saved message.
We could add a feature like that.
Would this be your area? I hate to put all the burden on you, although I
know squat about the GUI.

Simon
Joe Pham
2005-08-21 07:25:56 UTC
Permalink
Post by Simon
priority flag (normal/high)
read flag (read/unread)
Up to 10 "to" numbers (I worked around this by concatinating all
the numbers together)
Delivery status of outbox messages including delivery time for each
recipient.
I've committed the changes to support this, please test it out and let me know how it works.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon
2005-08-21 17:28:22 UTC
Permalink
Joe,

The code works OK.
There is a problem with the resizing of the Delivery Status text box.
It appears to resize for the previously selected message. for example say I
have three messages, first with one recipient, second with 10 and third with
2.
I select the first, delivery window sizes to 2 row height.
I then select the second, the window stays at 2 rows high and the scroll bar
activates to let me see all 10 entries.
I then select the third recipient and the window resizes to 10 rows high
even though there are 2 recipients.
Basically the hight always changes to 10 after I select away from the second
recipient. It does not matter if I use the arrow keys or the mouse to change
selection
If I resize the entire bitpim window the problem corrects itself.

Request: Is it possible to hide fields that do not apply to a message type,
i.e. The read flag is not required for outbox and saved message, delivery
status is not needed for saved and inbox message, from is not required for
save and outbox, to is not required for inbox etc.

Simon
Post by Simon
-----Original Message-----
Sent: Sunday, August 21, 2005 12:26 AM
Subject: Re: [BitPim-devel] SMS features
Post by Simon
priority flag (normal/high)
read flag (read/unread)
Up to 10 "to" numbers (I worked around this by concatinating all
the numbers together)
Delivery status of outbox messages including delivery time for each
recipient.
I've committed the changes to support this, please test it
out and let me know how it works.
-Joe Pham
______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development
Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Michael C.
2005-08-21 17:47:18 UTC
Permalink
Are there any plans to support the SMS features of the VX4400? I have a
friend that is still using his VX4400, and wants to offload his messages.

With some guideance, I might be able to help.

Michael C.
Roger Binns
2005-08-21 19:31:39 UTC
Permalink
Post by Michael C.
Are there any plans to support the SMS features of the VX4400? I have a
friend that is still using his VX4400, and wants to offload his messages.
Me too. It is one of the reasons I started BitPim in the first place :-)

Roger
Joe Pham
2005-08-21 18:35:33 UTC
Permalink
Post by Simon
There is a problem with the resizing of the Delivery Status text box.
It appears to resize for the previously selected message.
I'll look into it.
Post by Simon
Is it possible to hide fields that do not apply to a message type
Yes, and I'd consider that as an improvement. I'd like to get everything (SMS) functional first, and sounds like we're pretty close to it.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Joe Pham
2005-08-21 18:47:34 UTC
Permalink
Post by Michael C.
Are there any plans to support the SMS features of the VX4400
You'd need to figure out the format of these SMS files: Inbox, Outbox and Saved. I suspect it'd be somewhat similar to the 8100 and/or 4650. I'd suggest creating one or more test messages (one or each type) and try to decode it yourselves, or post them here and hope other developers can offer some help.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Roger Binns
2005-08-21 19:33:01 UTC
Permalink
Post by Joe Pham
Inbox, Outbox and Saved.
I believe they are identical across all the LG phone models,
hence the earlier suggestion to enable it for all and mark
as "experimental". Users (rather than developers) can then
confirm for each model.

Roger
Michael C.
2005-08-21 19:57:33 UTC
Permalink
Sounds good to me. Since I don't subscribe to the text messaging
capabilities of the phone, I won't have a chance until sometime during
the week to get my hands on my friend's phone to download his SMS directory.
Post by Roger Binns
Post by Joe Pham
You'd need to figure out the format of these SMS files: Inbox, Outbox
and Saved.
I believe they are identical across all the LG phone models,
hence the earlier suggestion to enable it for all and mark
as "experimental". Users (rather than developers) can then
confirm for each model.
Roger
Joe Pham
2005-08-21 20:14:39 UTC
Permalink
Post by Roger Binns
I believe they are identical across all the LG phone models,
hence the earlier suggestion to enable it for all and mark
as "experimental". Users (rather than developers) can then confirm
for each model.
Good idea, I'll take the first step to merge the 8100 and 4650 SMS code, probably to com_lg and let that available to all other LG phones.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon C
2005-08-21 20:24:47 UTC
Permalink
Post by Michael C.
Sounds good to me. Since I don't subscribe to the text messaging
capabilities of the phone, I won't have a chance until
sometime during
the week to get my hands on my friend's phone to download his
SMS directory.
Inbox, Outbox
Post by Roger Binns
Post by Joe Pham
and Saved.
I believe they are identical across all the LG phone models,
hence the earlier suggestion to enable it for all and mark
as "experimental". Users (rather than developers) can then
confirm for each model.
Roger
I have an old 4400 I can probably power up and experiment with. My SO has a
vx6100 so I can have a look to see if the format is the same.
Simon C
2005-08-23 05:56:03 UTC
Permalink
I've moved the 8100 SMS and call history code into the 4400 so the 8100 and
4400 now share the same code.
The only difference is the sms PACKET definitions.

I also added call history to the 6100 using the common code in the 4400,
with different call history PACKETs

Change summary:
8100: added memo, autodetect, phone info, changed ringtone directory, minor
bug fixes.
6100: added autodetect, phone info, call history
4400: added SMS, call history

I'd appreciate if someone could try the 4400 SMS changes out. The phone I
have does not have service, so I have not tested with any inbox message that
contain non-text information like ringtones.

Simon

Code attached with diffs.
John O'Shaughnessy
2005-08-23 11:55:04 UTC
Permalink
Simon -- are you up for troubleshooting a VX6100 issue that I was
never able to figure out?

If you edit a phonebook entry and select a background image in
BitPim, there are two problems. First, the incorrect images are
often displayed, and secondly, the image selection isn't correctly
written back to the phone when you update the Phonebook. Other
Phonebook edits (such as selecting music, or changing names and
numbers) are written correctly.

Thanks,

John
Post by Simon C
I've moved the 8100 SMS and call history code into the 4400 so the 8100 and
4400 now share the same code.
The only difference is the sms PACKET definitions.
I also added call history to the 6100 using the common code in the 4400,
with different call history PACKETs
Simon C
2005-08-23 21:37:51 UTC
Permalink
John,
Post by John O'Shaughnessy
If you edit a phonebook entry and select a background image in
BitPim, there are two problems. First, the incorrect images are
often displayed, and secondly, the image selection isn't correctly
written back to the phone when you update the Phonebook. Other
Phonebook edits (such as selecting music, or changing names and
numbers) are written correctly.
I've had a look, I think one problem is that the index in the wallpaper is
wrong.
Line 52 in com_lgvx6100 is
( 202, "download/dloadindex/mmsImageIndex.map", "brew/shared/mms",
"mms", 30),
but should be
( 200, "download/dloadindex/mmsImageIndex.map", "brew/shared/mms",
"mms", 30),

Once I make this change the correct picture selected on the phone shows up
in bitpim, does this work for you?

I discovered a different problem when trying to update the phonebook.
If I add a picture or change a phone number in an entry the change does not
show up in the phone.
I tried editing the second phone number in one entry in the phone book.
Also I tried added a new entry, it showed up in the contacts in the phone,
but the picture was blank.

Have you been able to update the phonebook when you edit an entry in BP?

Simon
Joe Pham
2005-08-24 05:05:02 UTC
Permalink
the image selection isn't correctly written back to the phone when
you update the Phonebook.
I believe it's a phone's firmware bug. On the 4650, neither the wallpaper index nor the group index update properly, they have to be manually updated.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Joe Pham
2005-08-29 02:06:22 UTC
Permalink
The common SMS code seems to work ok. I do have a few suggestions:

1. Various file names and limits should either be defined as class variables of the Phone class, or in the protocol class. That makes it easier for other phones to subclass without making unecessary code changes.

2. The Saved messages can either be Inbox or Outbox messages. On the 4650, the 1st word determines the type.

3. Avoid using unknownxx as the names of valid fields.

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon C
2005-08-29 05:35:23 UTC
Permalink
Post by Joe Pham
1. Various file names and limits should either be defined as
class variables of the Phone class, or in the protocol class.
That makes it easier for other phones to subclass without
making unecessary code changes.
Yes this would be better, I'll try to get something to you after the build.
Post by Joe Pham
2. The Saved messages can either be Inbox or Outbox messages.
On the 4650, the 1st word determines the type.
This is instead of the filename being different?
Is the rest of the code similar enough that there is common code to be
shared, the decoding of the 7-bit ascii for instance. I tried to break up
the SMS stuff so that if a phone was different the various functions could
be overloaded as required, do you have any ideas?
Post by Joe Pham
3. Avoid using unknownxx as the names of valid fields.
Would 'padxx' be better?


Simon
Joe Pham
2005-08-29 15:42:59 UTC
Permalink
Post by Simon C
Post by Joe Pham
3. Avoid using unknownxx as the names of valid fields.
Would 'padxx' be better?
if sf.num_msg_elements==1 and sf.messages[0].unknown2==0:
^^^^^^^^

-Joe Pham




______________________________________________________________________
NetZero Is Giving Away $3,000 A Day!
Sign up for NetZero HiSpeed 3G with Instant On!
Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
Simon C
2005-08-29 17:29:47 UTC
Permalink
Joe,

I've made updates based on your comments
Post by Joe Pham
1. Various file names and limits should either be defined as
class variables of the Phone class, or in the protocol class.
That makes it easier for other phones to subclass without
making unecessary code changes.
I moved the filenames for the inbox and canned mesages into p_lgvx4400.p
Post by Joe Pham
2. The Saved messages can either be Inbox or Outbox messages.
On the 4650, the 1st word determines the type.
After looking at the 4650 code you did I can see this. I completely missed
this option. The 4400 supports saved inbox messages, the 8100 does not, the
file format is identical it just seems like the phone does not give the
option to do this via it's menus. I've changed the sms code in the 4400 to
take this into account, it is now identical to the 4650 with the exception
of the canned file, you can probably optimise the 4650 code as a result.
Post by Joe Pham
3. Avoid using unknownxx as the names of valid fields.
Yes I see now, done.

I've also added the duration to the call history and some help file updates
for the 8100.
Code with diffs attached.

Simon

Loading...