Yip, i have successfull decoded the new 505 USB sync. I was to blind to see
that it use normal DLP requests (don't forget about command = command|0x80 as i do).
First, it start within a ReadUserInfo() to establish the connection (palm is
server).  

dlp_ReadUserInfo (from device!) (dlp command: 0x10)
0x06 IN:        01 ff 00 00 00 16
0x16 IN:        90 01 00 00 00 00 00 00 00 20 00 00 00 08 00 00 01 00 00 00 00 00

dlp_ReadSysInfo (dlp command: 0x12)
0x06 OUT:       01 02 00 00 00 32
0x08 OUT:       12 01 00 00 00 00 00 00
0x06 OUT:       00 20 00 00 00 24
0x24 OUT:       ff ff ff ff 3c 00 3c 00 00 00 00 00 00 00 00 01 00 04 00 00 00 04 00 
00 3c 00 3c 00 00 00 00 00 00 00 00 00
0x06 IN:        01 02 00 00 00 32
0x32 IN:        92 01 00 00 00 00 00 00 00 20 00 00 00 24 ff ff ff ff 00 3c 00 3c 40 
00 00 00 01 00 00 00 00 00 04 00 00 00 04 00 00 3c 00 3c 00 00 00 00 00 00 00 00

dlp_GetSysDateTime (dlp command: 0x13)
0x06 OUT:       01 03 00 00 00 2e
0x08 OUT:       13 01 00 00 00 00 00 00
0x06 OUT:       00 20 00 00 00 20
0x20 OUT:       ff ff ff ff 00 3c 00 3c 00 00 00 00 01 00 00 00 00 00 04 00 00 00 04 
00 00 3c 00 3c 00 00 00 00
0x06 IN:        01 03 00 00 00 08
0x08 IN:        93 00 00 00 00 00 00 00

dlp_ReadSysInfo (dlp command: 0x12)
0x06 OUT:       01 04 00 00 00 08
0x08 OUT:       12 01 20 04 00 01 00 03
0x06 IN:        01 04 00 00 00 22
0x22 IN:        92 02 00 00 20 0e 04 00 00 00 00 01 00 00 00 04 00 03 00 00 21 0c 00 
01 00 02 00 03 00 00 00 00 ff e1

dlp_ReadFeature (dlp command: 0x38)    
0x06 OUT:       01 05 00 00 00 0a
0x0a OUT:       38 01 20 06 65 78 70 6e 00 00
                            e  x  p  n                        
0x06 IN:        01 05 00 00 00 0a
0x0a IN:        b8 01 00 00 20 04 00 00 00 c8

dlp_XXX (dlp command 0x55 = VFSVolEnum missing in pilot-link)
0x06 OUT:       01 06 00 00 00 04
0x04 OUT:       55 01 20 00
0x06 IN:        01 06 00 00 00 04
0x04 IN:        d5 00 29 0d

dlp_FindDBInfoExt (dlp command 0x39)
0x06 OUT:       01 07 00 00 00 0e
0x0e OUT:       39 01 22 0a 00 80 68 74 61 6c 68 74 63 70
                                  h  t  a  l  h  t  c  p
0x06 IN:        01 07 00 00 00 04
0x04 IN:        b9 00 00 00

dlp_ReadFeature (dlp command: 0x38)    
0x06 OUT:       01 08 00 00 00 0a
0x0a OUT:       38 01 20 06 6e 65 74 6c 00 00
                        n  e  t  l
0x06 IN:        01 08 00 00 00 0a
0x0a IN:        b8 01 00 00 20 04 03 20 00 00

dlp_ReadNetSyncInfo (dlp command: 0x36)    
0x06 OUT:       01 09 00 00 00 02
0x02 OUT:       36 00
0x08 IN:        01 09 00 00 00 1e
0x1e IN:        b6 01 00 00 20 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00

dlp_ReadUserInfo (dlp command: 0x10)    
0x06 OUT:       01 0a 00 00 00 02
0x02 OUT:       10 00
0x06 IN:        01 0a 00 00 00 24
0x24 IN:        90 01 00 00 20 1e 00 00 00 00 00 00 00 00 00 00 00 00 07 d1 06 03 0d 
09 00 00 07 d1 06 03 0d 09 00 00 00 00

dlp_EndOfSync (dlp command: 0x2f)
0x08 OUT:       01 0b 00 00 00 06
0x06 OUT:       2f 01 20 02 00 02
0x06 IN:        01 0b 00 00 00 04
0x04 IN:        af 00 00 00

I start working on a patch for pilot-link...
Starting point is (serial.c):
static int pi_serial_send(struct pi_socket *ps, void *msg, int len, unsigned int flags)
{
  if (ps->type == PI_SOCK_STREAM)
    return padp_tx(ps, msg, len, padData);
  else
  if (ps->type == PI_USB_STREAM)
    return usb_tx(ps, msg, len, 0);
#ifdef _PILOT_SYSPKT_H
    return syspkt_tx(ps, msg, len);
#else
        return -1;
#endif
}

have fun,
begin:vcard 
n:Dietrich;Ralf
tel;fax:+49-30-34902671
tel;work:+49-30-34902670
x-mozilla-html:FALSE
url:http://www.envicon.com
org:envi.con;SE
adr:;;Brandenburgische Str. 69;Berlin;;10713;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
title:Ralf Dietrich
note:http://pinstall.envicon.com
end:vcard

Reply via email to