Telematics SDK - User Guide
v1.60.0
|
Sometimes, you may want to start developing an application early in the absence of target hardware. To support this, TelSDK features simulating certain functionality for example, generating location report.
A pre-defined location data is fed to the TelSDK location library which is then passed to the application in the same way as it would have been in the case of a real hardware. The steps to simulate location functionality are as follows:
It is possible to configure various location parameters to increase simulation coverage. Overall, data availability, source of the location data, various delays and frequency of the reports can be configured.
These parameters are defined in the simulation/loc/StubConfig, simulation/loc/StubDefines.hpp and simulation/loc/commonDef.hpp files. If any parameter is not overridden through these files, default hard-coded value is used for it.