#include <can_string_eth.h>
Definition at line 88 of file can_string_eth.h.
◆ can_string_eth()
can_string_eth::can_string_eth |
( |
| ) |
|
|
inline |
◆ ~can_string_eth()
can_string_eth::~can_string_eth |
( |
| ) |
|
|
inline |
◆ add_string()
int can_string_eth::add_string |
( |
CanFrame * |
can_packet | ) |
|
|
inline |
Process a string can packet.
All can packets belonging to the same string are joined in the same string buffer untill the string is complete.
- Parameters
-
can_packet | is the can message (CMSG* type). It must belong to the CAN_BCAST_PRINT class. |
- Returns
- the number of the buffer where the string part has been inserted. 0 <= buffer_num <= MAX_STRINGS
Definition at line 138 of file can_string_eth.h.
◆ clear_string()
void can_string_eth::clear_string |
( |
int |
buffer_num | ) |
|
|
inline |
Resets the string buffer.
- Parameters
-
cbuffer_num | is the number of the buffer. 0 <= buffer_num <= MAX_STRINGS |
Definition at line 190 of file can_string_eth.h.
◆ get_string()
char * can_string_eth::get_string |
( |
int |
buffer_num | ) |
|
|
inline |
The documentation for this class was generated from the following file: