View Source XGPS.Ports (Elixir.XGPS v0.5.0)
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Return the latest position if atteched to GPS.
Return all the connected port names
Callback implementation for DynamicSupervisor.init/1
.
Will send one GPS report as no fix. Since this will effectively generate both RMC and GGA sentences, the broadcaster will produce two values
Will send one GPS report as the give position. Since this will effectively generate both RMC and GGA sentences, the broadcaster will produce two values
Will send one GPS report as the give position. Since this will effectively generate both RMC and GGA sentences, the broadcaster will produce two values
Open one port to be consumed. Needs to have one GPS attached to the port to work. To simulate, give port_name = :simulate
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Return the latest position if atteched to GPS.
Return all the connected port names
Callback implementation for DynamicSupervisor.init/1
.
Will send one GPS report as no fix. Since this will effectively generate both RMC and GGA sentences, the broadcaster will produce two values
Will send one GPS report as the give position. Since this will effectively generate both RMC and GGA sentences, the broadcaster will produce two values
Will send one GPS report as the give position. Since this will effectively generate both RMC and GGA sentences, the broadcaster will produce two values
Open one port to be consumed. Needs to have one GPS attached to the port to work. To simulate, give port_name = :simulate