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

Click here for the API Reference documentation.

This app provides an 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 is automatically restarted in case of errors until the eCall session is completed. You don't have to retrigger the session by calling ecallApp_StartSession(), the app will use context variables containing the number of passengers and the session status.

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

config get eCall:/

/
    settings/
         hMinAccuracy<int> == <minimum horizontal accuracy value>
         dirMinAccuracy<int> == <minimum direction accuracy value>
  • '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 eCall:/settings/hMinAccuracy <minimum horizontal accuracy value> int
 config set eCall:/settings/dirMinAccuracy <minimum direction accuracy value> int

Moreover, this app use two context variables:

config get eCall:/

/
    context/
         isCleared<bool> == <cleared session flag>
         paxCount<int> == <number of passengers>
  • 'isCleared' is a flag indicating that a previous eCall session was or was not yet completed.
  • 'paxCount' is the number of passengers passed to the app when it was triggered.

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