Skip to content

GPSD Location Agent

Steven Galgano edited this page Feb 5, 2018 · 3 revisions

Contents


Features


Configuration Parameters

The following configuration parameters are available to tailor layer functionality:

pseudoterminalfile

File to write the name of the created pseudo term.

Type: string
Running-State Modifiable: no
Occurrence Range: [1,1]
Default Value(s): /tmp/gpsdlocation.pty


Example XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE eventagent SYSTEM "file:///usr/share/emane/dtd/eventagent.dtd">
<eventagent library="gpsdlocationagent">
  <param name="pseudoterminalfile" value="/var/lib/gps.pty"/>
</eventagent>

Statistics

The below statistics can be accessed using emanesh.

Name Type Clearable Description
avgProcessAPIQueueDepth double yes Average API queue depth for a processUpstreamPacket, processUpstreamControl, processDownstreamPacket, processDownstreamControl, processEvent and processTimedEvent.
avgProcessAPIQueueWait double yes Average API queue wait for a processUpstreamPacket, processUpstreamControl, processDownstreamPacket, processDownstreamControl, processEvent and processTimedEvent in microseconds.
avgTimedEventLatency double yes
avgTimedEventLatencyRatio double yes Average ratio of the delta between the scheduled timer expiration and the actual firing over the requested duration. An average ratio approaching 1 indicates that timer latencies are large in comparison to the requested durations.
processedConfiguration uint64 yes
processedDownstreamControl uint64 yes
processedDownstreamPackets uint64 yes
processedEvents uint64 yes
processedTimedEvents uint64 yes
processedUpstreamControl uint64 yes
processedUpstreamPackets uint64 yes

Statistic Tables

The below statistics can be accessed using emanesh.

Name Clearable Description
EventReceptionTable yes Received event counts