Is it possible to return the name (not the type) of the car in lets say IS_NPL? So I mean the name for each different setting. Default name for XF GTI is "hard track".
<?php
#define ISP_RSH 50; // 50 - info : Request Setup Hash
#define SMALL_RSH 8; // 8 - info request : send an IS_RSH - Requested Setup Hash
struct IS_RSH // Requested Setup Hash
{
word Size; // 26
word Type; // ISP_RSH
word ReqI; // TRUE if asked for by an SMALL packet, FALSE if not.
word PLID; // PLID of Car we wish to check the setup on.
char Hash[22]; // (MD5) Hash of setup values with host name as salt.
}
?>
struct IS_RSV {
byte Size; // 210
byte Type; // ISP_RSV
byte Zero;
}
Offset Type num Description
------ ---- --- -----------
0 byte 1 Bit 2 (ABS Allow=1, Disallow=0)
Bit 1 (Traction Control Allow=1, Disallow=0)
Bit 0 (Asymmetrical Allow=1, Disallow=0)
1 byte 1 Handicap Mass Position
2 byte 1 Tyre Brand (0=Cromo Plain, 1=Cromo, 2=Torro, 3=Michelin, 4=Evostar)
3 float 1 Brake Strength (Nm)
7 byte 1 Rear Wing Angle
8 byte 1 Front Wing Angle
9 byte 1 Voluntary Handicap Mass
10 byte 1 Voluntary Intake Restriction
11 byte 1 Max Steering Lock
12 byte 1 Parallel Steering
13 byte 1 Brake Balance
14 byte 1 Engine Brake Reduction
15 byte 1 Centre Diff Type (0=Open, 1=Viscous)
16 byte 1 Centre Diff Viscous Torque
17 byte 1 Centre Diff Torque Split
18 word 1 Gear Ratio 7 (0 to 65536 = 0.5 to 7.5)
20 word 1 Gear Ratio Final (0 to 65536 = 0.5 to 7.5)
22 word 1 Gear Ratio 1 (0 to 65536 = 0.5 to 7.5)
24 word 1 Gear Ratio 2 (0 to 65536 = 0.5 to 7.5)
26 word 1 Gear Ratio 3 (0 to 65536 = 0.5 to 7.5)
28 word 1 Gear Ratio 4 (0 to 65536 = 0.5 to 7.5)
30 word 1 Gear Ratio 5 (0 to 65536 = 0.5 to 7.5)
32 word 1 Gear Ratio 6 (0 to 65536 = 0.5 to 7.5)
34 byte 1 Passenger (4 2bit fields). Passengers are located in the byte
at the following locations
76|54|32|10
--+--+--+--
RR|RC|RL|FR
The individual passenger types are identified as follows.
00 = None
01 = Male
10 = Female
35 byte 1 Car Config (roof on LX4/6 and UF1)
36 byte 1 Traction Control Slip (divide by ten)
37 byte 1 Traction Control Engage Speed
38 float 1 Rear Ride Height (NOT spring motion range)
42 float 1 Rear Spring Stiffness (N/mm)
46 float 1 Rear Compression/Bump Damping (N/mm)
50 float 1 Rear Rebound Damping (N/mm)
54 float 1 Rear Anti Roll Bar Stiffness (N/mm)
58 byte 1 Rear Toe (0=-0.9deg, 9=0deg, 18=0.9deg)
59 byte 1 Rear Caster (i.e. always zero)
60 byte 1 Rear Tyre Type (0 through 7 is R1 through Knobbly, in order of grip)
61 byte 1 LR Camber Adjust ( 45=0.0deg, 0=-4.5deg, 90=4.5deg)
62 byte 1 RR Camber Adjust ( 45=0.0deg, 0=-4.5deg, 90=4.5deg)
63 byte 1 Rear Diff Clutch Pack Pre-load (multiply by ten)
64 byte 1 Rear Diff Type (0=Open, 1=Locked, 2=Viscous, 3=Clutch Pack)
65 byte 1 Rear Viscous Torque
66 byte 1 Rear Power Locking
67 byte 1 Rear Coast Locking
68 word 1 LR Tyre Pressure (kPa)
70 word 1 RR Tyre Pressure (kPa)
72 float 1 Front Ride Height (NOT spring motion range)
76 float 1 Front Spring Stiffness (N/mm)
80 float 1 Front Bump/Compression Damping (N/mm)
84 float 1 Front Rebound Damping (N/mm)
88 float 1 Front Anti Roll Bar Stiffness (N/mm)
92 byte 1 Front Toe In (0=-0.9deg, 9=0deg, 18=0.9deg)
93 byte 1 Front Caster (need to divide by ten)
94 byte 1 Front Tyre Type (0 through 7 is R1 through Knobbly, in order of grip)
95 byte 1 LF Camber Adjust ( 45=0.0deg, 0=-4.5deg, 90=4.5deg)
96 byte 1 RF Camber Adjust ( 45=0.0deg, 0=-4.5deg, 90=4.5deg)
97 byte 1 Front Diff Clutch Pack Pre-load (multiply by ten)
98 byte 1 Front Diff Type (0=Open, 1=Locked, 2=Viscous, 3=Clutch Pack)
99 byte 1 Front Viscous Torque
100 byte 1 Front Power Locking
101 byte 1 Front Coast Locking
102 word 1 LF TyrePressure (kPa)
104 word 1 RF TyrePressure (kPa)