49 count = atol(argv[2]);
55 printf(
"Usage: kiss_send [device [count]]\n");
76 for (uint16_t j=1; j<=
count; ++j)
84 printf(
"Failed to send frame, error %d\r",iretn);
90 COSMOS_USLEEP(2000000);
static KissHandle handle("DESTIN","SOURCE")
size_t count
Definition: kiss_send.cpp:40
int32_t put_data(vector< uint8_t > data)
Definition: serialclass.cpp:707
int i
Definition: rw_test.cpp:37
Definition: serialclass.h:43
int iretn
Definition: rw_test.cpp:37
vector< uint8_t > get_slip_packet()
Definition: kisslib.cpp:311
static vector< uint8_t > message
Definition: kiss_send.cpp:39
static string device
Definition: kiss_send.cpp:36
bool get_open()
Definition: serialclass.cpp:158
int32_t set_data(vector< uint8_t > input)
Definition: kisslib.cpp:258
static Serial * shandle
Definition: kiss_send.cpp:35
int32_t get_error()
Definition: serialclass.cpp:170
int32_t load_packet()
Definition: kisslib.cpp:281