Re: Detecting if a Sanyo phone is refurbished.

[email protected]
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <20070103140948.4325fe17d662e9dd0d262815025ed491.e2d4f1dfe3.wbe@email.secureserver.net>
In case there is anyone keeping up with my progress, I have successfully
determined how to get (and set) the reconditioned flag on a Sanyo unit
-- and probably others as well.

I used the "Get attribute" command (0x26), and the attribute ID was
0x0C1B (flipped for little-endian).  This is debug output from my
little program:

Getting reconditioned flag.
Sending:

 26  1B  0C  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  66  02  7E
Reading...

 26  1B  0C  01  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
00  00
 00  00  00  00  00  00  00  00  00  00  00  00  00  69  CF  7E

Recon:YES


The fourth byte in the response is 0x01 if the unit is reconditioned,
and 0x00 if its not.

I've tested this on about 8 models.  I'm crossing my fingers and hoping
it holds true for all of them.

Thanks for all the advice guys.  Now its time for me to learn some
Python so I can return the favor.

--Chris Nash





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.