PluginDocumentation
From Torque Wiki
⧼monobook-jumptonavigation⧽⧼monobook-jumptosearch⧽There is an example 'plugin' that demonstrates how to use the plugin interface in Torque here: [[1]] - this is a basic example, have a look at the AIDL file for the API documentation
There is a forum post here: [[2]] that explains some more about plugin development
Here is a list of the extended information Torque provides which your plugin can call on, or you can use for custom themes:
| Identifier | Description |
|---|---|
| 0xff1005 | GPS Longitude |
| 0xff1006 | GPS Latitude |
| 0xff1001 | GPS Speed |
| 0xff1010 | GPS Height |
| 0xff1007 | GPS Bearing |
| 0xff1201 | MPG |
| 0xff1202 | Turbo Boost |
| 0xff1203 | Kilometers Per Litre |
| 0xff1205 | Trip MPG |
| 0xff1206 | Trip KPL |
| 0xff1207 | Litres per Kilometre |
| 0xff1208 | Trip LPK |
| 0xff120A | Manifold Vacuum |
| 0xff120B | GPS Trip distance |
| 0xff120C | Vehicle distance (Odometer) saved with profile |
| 0xff1220 | Accelerometer (X) |
| 0xff1221 | Accelerometer (Y) |
| 0xff1222( | Accelerometer (Z) |
| 0xff1223 | Accelerometer (Total) |
| 0xff1225 | Torque |
| 0xff1226 | Horsepower |
| 0xff122d | 0-60 mph time |
| 0xff122e | 0-100 kph time |
| 0xff122f | Quarter mile time |
| 0xff1230 | eighth mile time |
| 0xff1237 | GPS vs OBD speed diff |
| 0xff1238 | Voltage |
| 0xff1239 | GPS Accuracy |
| 0xff123A | GPS Satellites locked |
| 0xff123B | GPS bearing |
| 0xff1249 | AFR |
| 0xff1214->ff121B | O2 Sensors 1x1->1x4, 2x1->2x4 |
| 0xff1240->ff1247 | O2 Eqv Ratio 1->8 |
| 0xff1257 | CO2 in G/KM |
| 0xff1258 | CO2 in G/KM average |
| 0xff125a | Fuel rate |
| 0xff125b | Fuel cost (trip) |
| 0xff125c | Fuel used (trip) |
| 0xff1255 | Torque RPM component |
| 0xff1256 | HorsePower RPM component |
| 0xff124d | Commanded AFR |
| 0xff1249 | Measured AFR |
Extended PIDs are as shown by their 'PID' in the PID editor (Settings->Manage extended PIDs->tap on a PID for more information)