From: Roger B. <ro...@ro...> - 2003-09-17 04:06:59
|
Alan Gonzalez wrote: > I wanted to get some help on the phonebook entry I get back. I've been trying > to deduce what the packet is, but still can't. I see the ff bytes, but beyond > that nothing makes sense to what i see on my phone > > I've put some print statements in extracephonebookentry > > i print out len(packet), then > > for x in range(0,len(packet)): > item = readlsb(packet[x]); > print str(item) I recommend you use: print common.datatohexstring(packet) The way I figured out what was in an entry was by making an entry when I entered the maximum number of characters and digits for all fields. That soon shows you where they are. For some remaining stuff, I would do something like change only the ringtone and re-read the entry to see what bytes had changed. Roger |