decode raw data of sony remote

hi , i am using ken sheriff's IR library to decode the remote code and i am getting the following on my serial monitor
how can i decode that codes to get the device code and function code of sony remote ?
and how to decode raw data ?
4026
Decoded SONY: 4026 (15 bits)
Raw (32): -24576 2500 -500 1300 -500 700 -450 750 -450 750 -450 700 -500 700 -500 700 -450 750 -450 700 -500 1300 -500 700 -500 700 -450 1300 -500 1300 -500 700
2026
Decoded SONY: 2026 (15 bits)
Raw (32): -15762 2450 -500 700 -500 1300 -500 700 -450 700 -500 700 -500 700 -500 700 -500 700 -450 700 -500 1300 -500 700 -500 700 -450 1300 -500 1300 -500 700
6026
Decoded SONY: 6026 (15 bits)
Raw (32): -26614 2500 -500 1250 -550 1250 -500 700 -500 700 -500 700 -500 700 -500 700 -450 700 -500 700 -500 1300 -500 700 -450 750 -450 1300 -500 1250 -550 700
1026
Decoded SONY: 1026 (15 bits)
Raw (32): 6366 2500 -500 700 -500 700 -500 1250 -500 700 -500 700 -500 700 -500 700 -450 750 -450 700 -500 1300 -500 700 -500 700 -450 1300 -500 1300 -500 700
5026
Decoded SONY: 5026 (15 bits)
Raw (32): 23766 2500 -500 1300 -500 700 -450 1300 -500 700 -500 700 -500 700 -450 750 -450 700 -500 700 -500 1250 -550 700 -450 700 -500 1300 -500 1300 -500 700
3026
Decoded SONY: 3026 (15 bits)
Raw (32): -31302 2500 -500 700 -500 1300 -450 1300 -500 700 -500 700 -500 700 -500 700 -450 700 -500 700 -500 1250 -550 700 -450 750 -450 1300 -500 1300 -500 700
7026
Decoded SONY: 7026 (15 bits)
Raw (32): -17112 2450 -500 1300 -500 1300 -500 1300 -450 700 -500 700 -500 700 -500 700 -450 750 -450 700 -500 1300 -500 700 -500 700 -450 1300 -500 1300 -500 700
826
Decoded SONY: 826 (15 bits)
Raw (32): -7648 2500 -500 700 -500 700 -500 700 -450 1300 -500 700 -500 700 -500 700 -500 700 -450 700 -500 1300 -500 700 -500 700 -450 1300 -500 1300 -500 700
2422
Decoded SONY: 2422 (15 bits)
Raw (32): 28962 2450 -550 650 -500 1300 -500 700 -500 700 -500 1250 -500 700 -500 700 -500 700 -500 650 -550 1250 -500 700 -500 700 -500 700 -500 1250 -500 700
6422
Decoded SONY: 6422 (15 bits)
Raw (32): -6398 2400 -550 1250 -550 1250 -550 650 -550 600 -600 1200 -550 650 -550 650 -550 650 -550 600 -600 1200 -550 650 -550 650 -550 600 -600 1200 -550 650
FFFFFFFF
last

http://picprojects.org.uk/projects/sirc/sonysirc.pdf

For your 15-bit values the left 7 are Command and the right 8 are Device.

int Device = code & 0xFF;
int Command  = (code >> 8) & 0x7F;

hi, " For your 15-bit values the left 7 are Command and the right 8 are Device. "
i know this, but that's not my question.
how can i decode that codes to get the device code and function code of sony remote ?
and how to decode raw data or is it possible to convert to Pronto hex code from the data i posted above ?

user1:
hi, " For your 15-bit values the left 7 are Command and the right 8 are Device. "
i know this, but that's not my question.

I think it was, and John answered that. If John didn't give you the right answer, I'm pretty sure that's because of the question, not the answer.

For SONY IR, I use a $1 Dollar Store remote. The circuit and code are here:
http://www.instructables.com/id/DS1307-Mental-Health-for-Arduino-Users

Code based on:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1176098434/0

Ray