Skip to content

Application Design

Jean-Luc Barrière edited this page Oct 18, 2023 · 6 revisions

Remote Protocol Operations

General

  • command ping ( string message )
  • event pong ( string message )

Compass

  • command compass_setActive ( bool active )
  • command compass_setDataRate ( int dataRate )
  • event compass_readingChanged ( float azimuth, float calibrationLevel )
  • event compass_activeChanged ( bool active )
  • event compass_dataRateChanged ( int dataRate )

Geo position

  • command position_setUpdateInterval ( int interval )
  • command position_setPreferredPositioningMethods ( int methods )
  • command position_startUpdates
  • command position_stopUpdates
  • event position_positionUpdated ( bool positionValid, double latitude, double longitude, bool horizontalAccuracyValid, float horizontalAccuracy, double altitude )
  • event position_activeChanged ( bool active )
  • event position_updateIntervalChanged ( int interval )
  • event position_preferredPositioningMethodsChanged ( int methods )

Tracker

  • command tracker_setMagneticDip ( double magneticDip )
  • command tracker_setRecording ( string filename )
  • command tracker_startRecording
  • command tracker_stopRecording
  • command tracker_pinPosition
  • command tracker_markPosition ( string symbol, string name, string description )
  • command tracker_resetData
  • event tracker_resumeRecording
  • event tracker_isRecordingChanged ( bool recording )
  • event tracker_magneticDipChanged ( double magneticDip )
  • event tracker_recordingChanged ( string filename )
  • event tracker_processingChanged ( bool processing )
  • event tracker_positionRecorded ( double lat, double lon )
  • event tracker_positionMarked ( double lat, double lon, string symbol, string name )
  • event tracker_positionChanged ( bool valid, double lat, double lon, double bearing )
  • event tracker_recordingFailed
  • event tracker_dataChanged ( double elevation, double currentSpeed, double distance, double duration, double ascent, double descent, double maxSpeed )
Clone this wiki locally