SELKIELogger
1.0.0
|
Functions | |
bool | n2k_60928_values (const n2k_act_message *n, uint32_t *id, uint16_t *mfr, uint8_t *inst, uint8_t *fn, uint8_t *class, uint8_t *sys, uint8_t *ind, bool *cfg) |
Extract values from PGN 60928: ISO Adddress Claim. More... | |
bool | n2k_127250_values (const n2k_act_message *n, uint8_t *seq, double *hdg, double *dev, double *var, uint8_t *ref) |
Extract values from PGN 127250: Vessel Heading. More... | |
bool | n2k_127251_values (const n2k_act_message *n, uint8_t *seq, double *rate) |
Extract values from PGN 127251: Rate of Turn. More... | |
bool | n2k_127257_values (const n2k_act_message *n, uint8_t *seq, double *yaw, double *pitch, double *roll) |
Extract values from PGN 127257: Device orientation. More... | |
bool | n2k_128267_values (const n2k_act_message *n, uint8_t *seq, double *depth, double *offset, double *range) |
Extract values from PGN 128267: Water depth. More... | |
bool | n2k_129025_values (const n2k_act_message *n, double *lat, double *lon) |
Extract values from PGN 129025: Device position. More... | |
bool | n2k_129026_values (const n2k_act_message *n, uint8_t *seq, uint8_t *mag, double *course, double *speed) |
Extract values from PGN 129026: Course and speed. More... | |
bool | n2k_129029_values (const n2k_act_message *n, uint8_t *seq, uint16_t *epochDays, double *seconds, double *lat, double *lon, double *alt, uint8_t *type, uint8_t *method, uint8_t *integ, uint8_t *nsv, double *hdop, double *pdop, double *geos, uint8_t *rs, uint8_t *rst, uint16_t *rsid, double *dgnssa) |
Extract values from PGN 129029: GNSS Position. More... | |
bool | n2k_129033_values (const n2k_act_message *n, uint16_t *epochDays, double *seconds, int16_t *utcMins) |
Extract values from PGN 129033: Date/Time. More... | |
bool | n2k_130306_values (const n2k_act_message *n, uint8_t *seq, uint8_t *ref, double *speed, double *angle) |
Extract values from PGN 130306: Wind speed and direction. More... | |
bool | n2k_130311_values (const n2k_act_message *n, uint8_t *seq, uint8_t *tid, uint8_t *hid, double *temp, double *humid, double *press) |
Extract values from PGN 130311: Environmental data. More... | |
void | n2k_header_print (const n2k_act_message *n, const char d) |
Print common message elements. More... | |
void | n2k_basic_print (const n2k_act_message *n) |
Print basic PGN details to standard output. More... | |
void | n2k_60928_print (const n2k_act_message *n) |
Print PGN 60928 (Address claim) to standard output. | |
void | n2k_127250_print (const n2k_act_message *n) |
Print PGN 127250 (Vessel Heading) to standard output. More... | |
void | n2k_127251_print (const n2k_act_message *n) |
Print PGN 127251 (Rate of Turn) to standard output. More... | |
void | n2k_127257_print (const n2k_act_message *n) |
Print PGN 127257 (Device orientation) to standard output. More... | |
void | n2k_128267_print (const n2k_act_message *n) |
Print PGN 128267 (Water depth) to standard output. More... | |
void | n2k_129025_print (const n2k_act_message *n) |
Print PGN 129025 (Device position) to standard output. More... | |
void | n2k_129026_print (const n2k_act_message *n) |
Print PGN 129026 (Course and Speed) to standard output. More... | |
void | n2k_129029_print (const n2k_act_message *n) |
Print PGN 129029 (GNSS Position) to standard output. More... | |
void | n2k_129033_print (const n2k_act_message *n) |
Print PGN 129033 (Date and Time) to standard output. More... | |
void | n2k_130306_print (const n2k_act_message *n) |
Print PGN 130306 (Wind speed and direction) to standard output. More... | |
void | n2k_130311_print (const n2k_act_message *n) |
Print PGN 130311 (Environmental data) to standard output. More... | |
void n2k_127250_print | ( | const n2k_act_message * | n | ) |
Print PGN 127250 (Vessel Heading) to standard output.
[in] | n | Input message |
Definition at line 572 of file N2KMessages.c.
bool n2k_127250_values | ( | const n2k_act_message * | n, |
uint8_t * | seq, | ||
double * | hdg, | ||
double * | dev, | ||
double * | var, | ||
uint8_t * | ref | ||
) |
Extract values from PGN 127250: Vessel Heading.
[in] | n | Input message |
[out] | seq | Sequence number |
[out] | hdg | Device heading, in degrees |
[out] | dev | Heading deviation?, in degrees |
[out] | var | Heading variation, in degrees |
[out] | ref | True (0) or Magnetic (1) heading |
Definition at line 212 of file N2KMessages.c.
void n2k_127251_print | ( | const n2k_act_message * | n | ) |
Print PGN 127251 (Rate of Turn) to standard output.
[in] | n | Input message |
Definition at line 604 of file N2KMessages.c.
bool n2k_127251_values | ( | const n2k_act_message * | n, |
uint8_t * | seq, | ||
double * | rate | ||
) |
Extract values from PGN 127251: Rate of Turn.
[in] | n | Input message |
[out] | seq | Sequence number |
[out] | rate | Rate of turn (units TBC) |
Definition at line 243 of file N2KMessages.c.
void n2k_127257_print | ( | const n2k_act_message * | n | ) |
Print PGN 127257 (Device orientation) to standard output.
[in] | n | Input message |
Definition at line 618 of file N2KMessages.c.
bool n2k_127257_values | ( | const n2k_act_message * | n, |
uint8_t * | seq, | ||
double * | yaw, | ||
double * | pitch, | ||
double * | roll | ||
) |
Extract values from PGN 127257: Device orientation.
[in] | n | Input message |
[out] | seq | Sequence number |
[out] | yaw | Device yaw, in degrees |
[out] | pitch | Device pitch, in degrees |
[out] | roll | Device roll, in degrees |
Definition at line 264 of file N2KMessages.c.
void n2k_128267_print | ( | const n2k_act_message * | n | ) |
Print PGN 128267 (Water depth) to standard output.
[in] | n | Input message |
Definition at line 635 of file N2KMessages.c.
bool n2k_128267_values | ( | const n2k_act_message * | n, |
uint8_t * | seq, | ||
double * | depth, | ||
double * | offset, | ||
double * | range | ||
) |
Extract values from PGN 128267: Water depth.
[in] | n | Input message |
[out] | seq | Sequence number |
[out] | depth | Depth below sensor |
[out] | offset | Distance from sensor to reference surface |
[out] | range | Measurement range |
Definition at line 291 of file N2KMessages.c.
void n2k_129025_print | ( | const n2k_act_message * | n | ) |
Print PGN 129025 (Device position) to standard output.
[in] | n | Input message |
Definition at line 652 of file N2KMessages.c.
bool n2k_129025_values | ( | const n2k_act_message * | n, |
double * | lat, | ||
double * | lon | ||
) |
Extract values from PGN 129025: Device position.
[in] | n | Input message |
[out] | lat | GPS Latitude |
[out] | lon | GPS Longitude |
Definition at line 320 of file N2KMessages.c.
void n2k_129026_print | ( | const n2k_act_message * | n | ) |
Print PGN 129026 (Course and Speed) to standard output.
[in] | n | Input message |
Definition at line 667 of file N2KMessages.c.
bool n2k_129026_values | ( | const n2k_act_message * | n, |
uint8_t * | seq, | ||
uint8_t * | mag, | ||
double * | course, | ||
double * | speed | ||
) |
Extract values from PGN 129026: Course and speed.
[in] | n | Input message |
[out] | seq | Sequence number |
[out] | mag | Orientation reference flag (2 bits) |
[out] | course | Device course, in degrees |
[out] | speed | Device speed in m/s |
Definition at line 342 of file N2KMessages.c.
void n2k_129029_print | ( | const n2k_act_message * | n | ) |
Print PGN 129029 (GNSS Position) to standard output.
[in] | n | Input message |
Definition at line 697 of file N2KMessages.c.
bool n2k_129029_values | ( | const n2k_act_message * | n, |
uint8_t * | seq, | ||
uint16_t * | epochDays, | ||
double * | seconds, | ||
double * | lat, | ||
double * | lon, | ||
double * | alt, | ||
uint8_t * | type, | ||
uint8_t * | method, | ||
uint8_t * | integ, | ||
uint8_t * | nsv, | ||
double * | hdop, | ||
double * | pdop, | ||
double * | geos, | ||
uint8_t * | rs, | ||
uint8_t * | rst, | ||
uint16_t * | rsid, | ||
double * | dgnssa | ||
) |
Extract values from PGN 129029: GNSS Position.
[in] | n | Input message |
[out] | seq | Sequence number |
[out] | epochDays | Days since January 1st 1970 |
[out] | seconds | Seconds since local midnight |
[out] | lat | Latitude |
[out] | lon | Longitude |
[out] | alt | Altitude |
[out] | type | GNSS System in use |
[out] | method | GNSS Position fix type |
[out] | integ | Data integrity check type |
[out] | nsv | Number of SVs (Satellites) used in solution |
[out] | hdop | Horizontal Dilution of Precision |
[out] | pdop | Probably Dilution of Precision |
[out] | geos | Geoid Separation |
[out] | rs | Number of Reference Stations used |
[out] | rst | Reference station type |
[out] | rsid | Reference station ID |
[out] | dgnssa | DGNSS data age |
Definition at line 380 of file N2KMessages.c.
void n2k_129033_print | ( | const n2k_act_message * | n | ) |
Print PGN 129033 (Date and Time) to standard output.
[in] | n | Input message |
Definition at line 737 of file N2KMessages.c.
bool n2k_129033_values | ( | const n2k_act_message * | n, |
uint16_t * | epochDays, | ||
double * | seconds, | ||
int16_t * | utcMins | ||
) |
Extract values from PGN 129033: Date/Time.
[in] | n | Input message |
[out] | epochDays | Days since January 1st 1970 |
[out] | seconds | Seconds since local midnight |
[out] | utcMins | Offset from UTC in minutes |
Definition at line 448 of file N2KMessages.c.
void n2k_130306_print | ( | const n2k_act_message * | n | ) |
Print PGN 130306 (Wind speed and direction) to standard output.
[in] | n | Input message |
Definition at line 759 of file N2KMessages.c.
bool n2k_130306_values | ( | const n2k_act_message * | n, |
uint8_t * | seq, | ||
uint8_t * | ref, | ||
double * | speed, | ||
double * | angle | ||
) |
Extract values from PGN 130306: Wind speed and direction.
[in] | n | Input message |
[out] | seq | Sequence number |
[out] | ref | Reference frame flag (3 bits) |
[out] | speed | Wind speed in m/s |
[out] | angle | Wind direction, in degrees |
Definition at line 470 of file N2KMessages.c.
void n2k_130311_print | ( | const n2k_act_message * | n | ) |
Print PGN 130311 (Environmental data) to standard output.
[in] | n | Input message |
Definition at line 795 of file N2KMessages.c.
bool n2k_130311_values | ( | const n2k_act_message * | n, |
uint8_t * | seq, | ||
uint8_t * | tid, | ||
uint8_t * | hid, | ||
double * | temp, | ||
double * | humid, | ||
double * | press | ||
) |
Extract values from PGN 130311: Environmental data.
[in] | n | Input message |
[out] | seq | Sequence number |
[out] | tid | Temperature source |
[out] | hid | Humidity Source |
[out] | temp | Temperature |
[out] | humid | Humidity |
[out] | press | Atmospheric Pressure |
Definition at line 501 of file N2KMessages.c.
bool n2k_60928_values | ( | const n2k_act_message * | n, |
uint32_t * | id, | ||
uint16_t * | mfr, | ||
uint8_t * | inst, | ||
uint8_t * | fn, | ||
uint8_t * | class, | ||
uint8_t * | sys, | ||
uint8_t * | ind, | ||
bool * | cfg | ||
) |
Extract values from PGN 60928: ISO Adddress Claim.
[in] | n | Input message |
[out] | id | ISO Identity |
[out] | mfr | Manufacturer code |
[out] | inst | Device Instance |
[out] | fn | Device Function |
[out] | class | Device Class |
[out] | sys | System/Class Instance |
[out] | ind | Industry |
[out] | cfg | "Self-Configurable" |
Definition at line 187 of file N2KMessages.c.
void n2k_basic_print | ( | const n2k_act_message * | n | ) |
Print basic PGN details to standard output.
[in] | n | Input message |
Definition at line 563 of file N2KMessages.c.
void n2k_header_print | ( | const n2k_act_message * | n, |
const char | d | ||
) |
Print common message elements.
[in] | n | Input message |
[in] | d | Delimiter - appended to output. |
Definition at line 549 of file N2KMessages.c.