SELKIELogger
1.0.0
|
Functions | |
int8_t | n2k_get_int8 (const n2k_act_message *n, size_t offset) |
Extract signed byte from N2K Message. More... | |
uint8_t | n2k_get_uint8 (const n2k_act_message *n, size_t offset) |
Extract unsigned byte from N2K Message. More... | |
int16_t | n2k_get_int16 (const n2k_act_message *n, size_t offset) |
Extract signed 16-bit integer from N2K Message. More... | |
uint16_t | n2k_get_uint16 (const n2k_act_message *n, size_t offset) |
Extract unsigned 16-bit integer from N2K Message. More... | |
int32_t | n2k_get_int32 (const n2k_act_message *n, size_t offset) |
Extract signed 32-bit integer from N2K Message. More... | |
uint32_t | n2k_get_uint32 (const n2k_act_message *n, size_t offset) |
Extract unsigned 32-bit integer from N2K Message. More... | |
int64_t | n2k_get_int64 (const n2k_act_message *n, size_t offset) |
Extract signed 64-bit integer from N2K Message. More... | |
uint64_t | n2k_get_uint64 (const n2k_act_message *n, size_t offset) |
Extract unsigned 64-bit integer from N2K Message. More... | |
double | n2k_get_double (const n2k_act_message *n, size_t offset, uint8_t size) |
Extract double from underlying integer data. More... | |
double | n2k_get_udouble (const n2k_act_message *n, size_t offset, uint8_t size) |
Extract double from underlying unsigned integer data. More... | |
double n2k_get_double | ( | const n2k_act_message * | n, |
size_t | offset, | ||
uint8_t | size | ||
) |
Extract double from underlying integer data.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
[in] | size | Size of underlying integer (8,16,32,64) |
Definition at line 125 of file N2KMessages.c.
int16_t n2k_get_int16 | ( | const n2k_act_message * | n, |
size_t | offset | ||
) |
Extract signed 16-bit integer from N2K Message.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
Definition at line 55 of file N2KMessages.c.
int32_t n2k_get_int32 | ( | const n2k_act_message * | n, |
size_t | offset | ||
) |
Extract signed 32-bit integer from N2K Message.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
Definition at line 76 of file N2KMessages.c.
int64_t n2k_get_int64 | ( | const n2k_act_message * | n, |
size_t | offset | ||
) |
Extract signed 64-bit integer from N2K Message.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
Definition at line 99 of file N2KMessages.c.
int8_t n2k_get_int8 | ( | const n2k_act_message * | n, |
size_t | offset | ||
) |
Extract signed byte from N2K Message.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
Definition at line 43 of file N2KMessages.c.
double n2k_get_udouble | ( | const n2k_act_message * | n, |
size_t | offset, | ||
uint8_t | size | ||
) |
Extract double from underlying unsigned integer data.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
[in] | size | Size of underlying integer (8,16,32,64) |
Definition at line 153 of file N2KMessages.c.
uint16_t n2k_get_uint16 | ( | const n2k_act_message * | n, |
size_t | offset | ||
) |
Extract unsigned 16-bit integer from N2K Message.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
Definition at line 67 of file N2KMessages.c.
uint32_t n2k_get_uint32 | ( | const n2k_act_message * | n, |
size_t | offset | ||
) |
Extract unsigned 32-bit integer from N2K Message.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
Definition at line 88 of file N2KMessages.c.
uint64_t n2k_get_uint64 | ( | const n2k_act_message * | n, |
size_t | offset | ||
) |
Extract unsigned 64-bit integer from N2K Message.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
Definition at line 111 of file N2KMessages.c.
uint8_t n2k_get_uint8 | ( | const n2k_act_message * | n, |
size_t | offset | ||
) |
Extract unsigned byte from N2K Message.
[in] | n | N2K message containing target data |
[in] | offset | Starting offset within n2k_act_message.data |
Definition at line 34 of file N2KMessages.c.