Install and Test the Sensor Simulator
The Sensor Simulator allows you to call on the sensor APIs found in Kona while running your Xlet in the emulator. The Sensor Simulator is a J2SE application which simulates the QNX PPS file system, which is used on the radio for CAN sensor communication. The Sensor Simulator presents a GUI that allows you to view/change the sensor values. The Sensor Simulator loads a sensor_properties.xml file which contains the description of the sensors available on the target device.
Installing the Sensor Simulator
Download the FCAUconnectSimulator.jar and sensor_properties.xml for kona versions less than 1.1.126 or a sensor_properties.json file for versions 1.1.126 and greater from Downloads. Put the downloaded files under the root of your Xlet's Eclipse project. You start the simulator by executing the FCAUconnectSimulator.jar (java -jar FCAUconnectSimulator.jar) from a DOS prompt. At this point, you should have a GUI window open displaying the sensors. Next, launch your Xlet from Eclipse using the Xlet Emulator.
The simulator will read either the sensor_properties.xml or sensor_properties.json. Which ever is in the directory.
Testing the Sensor Simulator
Get kona-fiat-impl.jar and the CanServiceOverride.jar from Downloads.