Parameters
| Attribute | Description | Required |
| category | The example type to generate. Valid values are: gpsnmea, most, j1979, j2178, and remoteast. | Yes |
| buses | A comma-separated list of the bus to use for j1979 and j2178 examples. Valid values are: "vpw" and "pwm". If absent, a value of "vpw, pwm" is assumed. | No |
| devices | A comma-separated list of devices to generate. This tag is only valid for the most or j2178 examples. If used with gpsnmea, j1979, or remoteast, the tag is ignored. A list of valid devices for most and j2178 is at the bottom of the page. If all devices for a particular category are to be generated, use the value "all" (this option is not reccomended because of the amount of time to generate all the examples). | Yes (for category="most" and category="j2178" |
| packagebase | The package base that of the generate java files. If absent, the value of packagebase is "com". | No |
| test | If true, a test project is generated. If false, or absent, no test project is generated. | No |
| vendor | The vendor name to be substituted in the cml file. | No |
| version | The version name to be substituted in the cml file. |
No |
Valid J2178 Devices
J2178Part3Device
J2178AirConditioningClutchDevice
J2178BrakesDevice
J2178ChargingSystemDevice
J2178ClimateControlDevice
J2178DefrostDevice
J2178DisplaysDevice
J2178DoorLocksDevice
J2178ElectricalEnergyManagementDevice
J2178ElectricVehicleEnergyTransferSystemDevice
J2178EngineAirIntakeDevice
J2178EngineCoolantDevice
J2178EngineOilDevice
J2178EngineRPMDevice
J2178EngineSensorsOtherDevice
J2178EngineSystemsOtherDevice
J2178EngineTorqueDevice
J2178ExteriorEnvironmentDevice
J2178ExteriorLampsOutageDevice
J2178ExteriorLampsDevice
J2178ExternalAccessDevice
J2178FuelSystemDevice
J2178IgnitionSwitchStarterDevice
J2178InteriorEnvironmentDevice
J2178InteriorLampsOutageDevice
J2178InteriorLampsDevice
J2178MirrorsDevice
J2178NetworkControlDevice
J2178OdometerDevice
J2178RestraintsDevice
J2178SeatMotionControlDevice
J2178SeatSwitchesDevice
J2178SteeringColumnDevice
J2178SteeringSteeringWheelDevice
J2178SuspensionDevice
J2178TellTalesDevice
J2178ThrottleDevice
J2178TimeDateDevice
J2178TiresDevice
J2178TractionControlDevice
J2178TransmissionTransaxlePRNDLDevice
J2178VehicleIdentificationDevice
J2178VehicleSpeedControlDevice
J2178VehicleSpeedDevice
J2178WheelsDevice
J2178WindowsDevice
J2178WindowWiperWasherDevice
Valid Most Devices
MostAmFmTunerDevice
MostAudioAmplifierDevice
MostAuxiliaryInputDevice
MostCdDriveDevice
MostFmTunerDevice
MostGeneralPhoneBookDevice
MostHeadphoneAmplifierDevice
MostMicrophoneInputDevice
MostTelephoneDevice
MostTmcTunerDevice
MostTvTunerDevice
Examples
GPS NMEA
<devicekit.generateExample category="gpsnmea"
packagebase="org.eclipse.soda.dk"
vendor="MyCompany"
version="1.0.0"
test="true"/>
--Generates the GpsNmeaDevice and GpsNmeaDeviceTest samples with a package base of "org.eclipse.soda.dk", vendor of "MyCompany", and version of "1.0.0".
<devicekit.generateExample category="gpsnmea"/>
--Generates the GpsNmeaDevice (test excluded) with the defaults for packagebase ("com"), vendor ("IBM"), and version ("1.0.0").
Remote AST
<devicekit.generateExample category="remoteast"
packagebase="org.eclipse.soda.dk"
vendor="IBM"
version="1.0.0"
test="true"/>
Generates the RemoteAstDevice and RemoteAstDeviceTest samples with a package base of "org.eclipse.soda.dk", vendor of "IBM", and version of "1.0.0".
Most
<devicekit.generateExample category="most"
test="true"
devices="all"/>
Generates all of the Most devices listed above, as well as tests for each
Most device. Each Most device and test will have the default values for packgabase,
vendor and version.
<devicekit.generateExample category="most"
packagebase="org.eclipse.soda.dk.most"
devices="MostAudioAmplifierDevice, MostTelephoneDevice"/>
Generates the MostAudioAmplifierDevice and MostTelephoneDevice with the packagebase "org.eclipse.soda.dk.most". No test projects are generated.
J1979
<devicekit.generateExample category="j1979"
buses="vpw,pwm"/>
Generates the J1979PwmDevice and the J1979VpwDevice
J2178
<devicekit.generateExample category="j2178"
buses="vpw"
devices="J2178OdometerDevice,J2178DefrostDevice,J2178DisplaysDevice"/>
Generates the J2178VpwOdometerDevice, J2178VpwDefrostDevice, and J2178VpwDisplaysDevice.