All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
eCall

This sample app demonstrates how to test an eCall session.

The eCallDemo app starts a test eCall session using the Legato eCall API and the position data returned by the Legato Positioning API.

The 'trig' sample utility shows how to trigger the eCallDemo app to start the eCall session.

The sample app uses ecallApp_StartSession() API to start a test eCall session. You can call ecallApp_StartSession() with the number of passengers as a parameter to start the session.

This App uses the configuration tree to retrieve the following data:

$ config get eCallDemo:/

/
      settings/
           psap<string> == <PSAP number>
           hMinAccuracy<int> == <minimum horizontal accuracy value>
           dirMinAccuracy<int> == <minimum direction accuracy value>
  • 'psap' is the PSAP telephone number.
  • 'hAccuracy' is the minimum expected horizontal accuracy to trust the position (in meters).
  • 'dirAccuracy' is the minimum expected direction accuracy to trust the position (in degrees).

You can set them by issuing the commands:

$ config set eCallDemo:/settings/psap <PSAP number>
$ config set eCallDemo:/settings/hMinAccuracy <minimum horizontal accuracy value> int
$ config set eCallDemo:/settings/dirMinAccuracy <minimum direction accuracy value> int

trig utility

This utility triggers the eCallDemo application.

Run trig like this:

$ execInApp eCallDemo trig <number of passengers>

See
eCall


Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.