Changeset 2171

Show
Ignore:
Timestamp:
06/16/07 09:52:53 (1 year ago)
Author:
abaumann
Message:

Change order of the REPEAT_{MONTLY,YEARLY}_{DATE,DAY} constants to
match what my phone uses. I'm still waiting for a response from the
reporter of ticket #425 as to the correct values on their phone.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/moto-sync/motosync.py

    r2169 r2171  
    6060 
    6161# repeat types in the calendar 
    62 # XXX FIXME: check order of DATE/DAY for monthly and yearly, my values disagree 
     62# XXX FIXME: check order of DATE/DAY for monthly and yearly on extended-format phones 
    6363MOTO_REPEAT_NONE = 0 
    6464MOTO_REPEAT_DAILY = 1 
    6565MOTO_REPEAT_WEEKLY = 2 
    66 MOTO_REPEAT_MONTHLY_DAY = 3 
    67 MOTO_REPEAT_MONTHLY_DATE = 4 
    68 MOTO_REPEAT_YEARLY_DAY = 5 
    69 MOTO_REPEAT_YEARLY_DATE = 6 # extended calendar format only 
     66MOTO_REPEAT_MONTHLY_DATE = 3 
     67MOTO_REPEAT_MONTHLY_DAY = 4 
     68MOTO_REPEAT_YEARLY_DATE = 5 
     69MOTO_REPEAT_YEARLY_DAY = 6 # extended calendar format only 
    7070 
    7171# features we require; these refer to the bits returned by the AT+MAID? command 
     
    8686    4: 'Fax', 
    8787    5: 'Pager', 
     88    # 6: email 
     89    # 7: mailing list 
    8890    8: 'Cellular', # shows up as "Mobile 2", seen on a V3c 
     91    # 9: ? 
     92    # 10: ? 
    8993    11: 'Voice' # shows up as "other", seen on a RAZR V3x 
    9094}