
 KV5500 protocols
------------------

  Copyright (c)  2006. Hyo geol, Lee.
  Permission is granted to copy, distribute and/or modify this document
  under the terms of the GNU Free Documentation License, Version 1.2
  or any later version published by the Free Software Foundation;
  with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  Texts.  A copy of the license is included in the section entitled "GNU
  Free Documentation License".

  This document is under GNU FDL and kv5500 programs are under BSD license. All
 protocols are maybe not correct. That collected by sniffing usb signal under 
 M$-Windows, and brute-force test. All signals need bulk write to endpoint 
 0x04, and recv data by bulk read from endpoint 0x84.

  If you find some new or correct signals, send me please.

  Test environments : FreeBSD 7.0 current, libusb 0.1.12, KTF LG-KV5500(KV55051
 7 Jun 05 2006 22:19:06)

  Wake up
 ------------------
  fe 50 da bb 7e

   This signal makes phone 'prepare mode'. And if go another signal, phone goes
  'transfer mode'.

  SMS
 ------------------
  1. fe 14 7e

   Request send SMS(size 565 bytes). When send it again, get next SMS. If you
  got all SMS and you send it again, phone send last SMS again.

  2. fe 14 00 7e -> fe 14 ff 7e

   Same as 1 but each signal match SMS(total 255). If you request more than 
  existed sms, you get last SMS again.

  Phonebook
 ------------------
  1. fe 46 7e

   Request first phone number of phonebook(size 215~218?).

  2. fe 47 7e

   Request next phone number of phonebook. Require call 1 first.

  Photo
 ------------------
  1. fe 0a 07 00 7e

   I assume total photo number. not correct.

  2. fe 0b 07 ** 00 7e

   Request **th photo alias name. not correct.

  3. fe 0d 07 ** 00 00 00 7e

   Request **th photo file size in big endian. not correct.

  4. fe 67 e6 fe 7e

   Prepare to transfer photo file.

  5. fe 00 07 ** 00 00 00 00 -> fe 00 07 ** 00 00 00 ff

   Request **th photo file. After one cycle '00 to ff', and if need more 
  transfer, call first again(fe 00 07 01 00 00 00 00). not correct. Need to 
  substitute 7d 5e -> 7e, 7d 5d -> 7d, ALL DATA!. That looks funny :)

  Video
 ------------------
  1. fe 0a 0a 00 7e

   I assume total video number. not correct.

  2. fe 0b 0a ** 00 7e

   Request **th video alias name. not correct.

  3. fe 0d 0a ** 00 00 00 7e

   Request **th video file size in big endian. not correct.

  4. fe 67 ef fe 7e

   Prepare to transfer video file.

  5. fe 00 0a ** 00 00 00 00 -> fe 00 07 ** 00 00 00 ff

   Request **th video file. See also photo section to transfer data.

   ETC
 ------------------
  1. fe 36 7e

   'Emergency tel number' that in 'My phone settting'. I assume phone setting.

  2. fe 5a 7e

   Some data include 'K V 5 5 0 0'.

  3. fe 00 0a 7e

   Some data include 'E x i f' and 'L G C Y O N'. I assume photo file. If you
  want transfer photo file, see photo section.

  4. fe 0b 0a 7e

   Some data include avi filename. If you want transfer video file, see video
  section.
