References
Class Summary
Static Public Class Summary | ||
public |
Handles connection with the backend. |
|
public |
Calculates packet and station scores. |
|
public |
A wrapper over the ExponentialBackoffStrategy from the backoff module. |
|
public |
The parser for Team Icarus' CanSat. |
|
public |
Parser creation helper class. |
|
public |
Handles replication between a local and remote PouchDB database. |
|
public |
A node-serialport wrapper that keeps track of port state and allows from on-the-fly port path/name changes (automatically attaches/detaches event listeners and keeps config). |
|
public |
Handles everything a Station should. |
Function Summary
Static Public Function Summary | ||
public |
Converts raw DS18B20 temperatures to ºC. |
|
public |
LIS331HH_24G(raw: *): * |
|
public |
MMA7361_6G(raw: *): * |
|
public |
Converts raw MPX4115A temperatures to hPa. |
|
public |
analogToMV(analogReadResult: *): * |
|
public |
createLogger(name: String, db: PouchDB): Bunyan Creates a configured bunyan logger. |
|
public |
dataHandler(packet: Object): Promise A handler for incoming Serial#data. |
|
public |
Gets one bit out of a byte/bytes. |
|
public |
Gets a local database. |
|
public |
getRemoteDB(name: String, username: String, password: String): PouchDB Gets a remote database. |
|
public |
gpsAltitude(raw: *): * |
|
public |
gpsCoordinate(raw: Object): Number Convert raw coordinate object ({deg, billionths}) into an actual latitude or longitude coordinate. |
|
public |
gpsCourse(raw: *): * |
|
public |
Processes the GPS boolean flags that are crammed in one byte. |
|
public |
gpsSpeed(raw: *): * |
|
public |
Lists available ports in the system with SerialPort.list. |
|
public |
normalizePath(path: ...*): * |
|
public |
Creates and returns a "byteDelimiter" parser. |
|
public |
passEvent(sourceEmitter: EventEmitter, destEmitter: EventEmitter, sourceEvent: String, destEvent: String) Forwards an event from one EventEmitter to another. |
Static Private Function Summary | ||
private |
Heuristic creation helper. |
|
private |
variationH(variation: Number): Function Heuristic creation helper. |
Variable Summary
Static Public Variable Summary | ||
public |
Array of CanSat strings: informational messages. |
|
public |
Array of CanSat strings: module names. |
|
public |
A prefix for capture-lib files (DBs, logs). |
|
public |
T-Minus Transceiver Product ID |
|
public |
T-Minus Transceiver Vendor ID |
Static Private Variable Summary | ||
private |
tmBuffer: Buffer 'Transceiver MODE' Buffer for future comparison. |