John O'Shaughnessy
2004-11-15 05:02:13 UTC
I'm working on the VX6100 and I'm curious as to how the imagelocation index
file offsets are determined. I'm currently using the same set as the
VX6000.
I've modified the builtinimages and builtinringtones tuples, but when I read
in ringtones or images, the list seems to be ignored, and the built-in
images are read into BitPim.
class Phone(com_lgvx4400.Phone):
"Talk to the LG VX6100 cell phone"
desc="LG-VX6100"
protocolclass=p_lgvx6100
serialsname='lgvx6100'
# more VX6100 indices
imagelocations=(
# offset, index file, files location, type, maximumentries
( 10, "download/dloadindex/brewImageIndex.map", "brew/shared",
"images", 30) ,
( 0xc8, "download/dloadindex/mmsImageIndex.map", "brew/shared/mms",
"mms", 20),
( 0xdc, "download/dloadindex/mmsDrmImageIndex.map",
"brew/shared/mms/d", "drm", 20),
( 0x82, None, None, "camera", 20) # nb camera must be last
)
ringtonelocations=(
# offset, index file, files location, type, maximumentries
( 50, "download/dloadindex/brewRingerIndex.map",
"user/sound/ringer", "ringers", 30),
( 150, "download/dloadindex/mmsRingerIndex.map", "mms/sound", "mms",
20),
( 180, "download/dloadindex/mmsDrmRingerIndex.map", "mms/sound/drm",
"drm", 20)
)
builtinimages= ('bear_heart', 'elvis_birthday_sm', 'hi_pig_sm',
'love_you_cat_sm', 'martini', 'party_time', 'roses',
'sorry_monster',
'sun', 'surfing')
Thanks,
John
file offsets are determined. I'm currently using the same set as the
VX6000.
I've modified the builtinimages and builtinringtones tuples, but when I read
in ringtones or images, the list seems to be ignored, and the built-in
images are read into BitPim.
class Phone(com_lgvx4400.Phone):
"Talk to the LG VX6100 cell phone"
desc="LG-VX6100"
protocolclass=p_lgvx6100
serialsname='lgvx6100'
# more VX6100 indices
imagelocations=(
# offset, index file, files location, type, maximumentries
( 10, "download/dloadindex/brewImageIndex.map", "brew/shared",
"images", 30) ,
( 0xc8, "download/dloadindex/mmsImageIndex.map", "brew/shared/mms",
"mms", 20),
( 0xdc, "download/dloadindex/mmsDrmImageIndex.map",
"brew/shared/mms/d", "drm", 20),
( 0x82, None, None, "camera", 20) # nb camera must be last
)
ringtonelocations=(
# offset, index file, files location, type, maximumentries
( 50, "download/dloadindex/brewRingerIndex.map",
"user/sound/ringer", "ringers", 30),
( 150, "download/dloadindex/mmsRingerIndex.map", "mms/sound", "mms",
20),
( 180, "download/dloadindex/mmsDrmRingerIndex.map", "mms/sound/drm",
"drm", 20)
)
builtinimages= ('bear_heart', 'elvis_birthday_sm', 'hi_pig_sm',
'love_you_cat_sm', 'martini', 'party_time', 'roses',
'sorry_monster',
'sun', 'surfing')
Thanks,
John
--
John O'Shaughnessy
John O'Shaughnessy