Increase cvend reliability

This commit is contained in:
Edith Boles
2026-03-18 16:18:31 -07:00
parent 77aec099d8
commit 703e019d73
17 changed files with 4801 additions and 61 deletions

View File

@@ -77,11 +77,14 @@ typedef struct cvend_packet {
const char *stringify_msg_type(uint8_t msg_type);
void cvend_init(const char *path);
cvend_packet *cvend_read();
cvend_packet *cvend_read_type(uint8_t msg_type);
void cvend_write(uint8_t msg_type, uint8_t *msg_data, uint16_t msg_len);
void cvend_init();
void cvend_lock();
void cvend_unlock();
cvend_packet *cvend_read(FILE *file);
cvend_packet *cvend_read_type(FILE *file, uint8_t msg_type);
void cvend_write(FILE *file, uint8_t msg_type, uint8_t *msg_data, uint16_t msg_len);
void cvend_free(cvend_packet *packet);
void print_packet(cvend_packet *packet);
void print_packet_short(char *brief, cvend_packet *packet);
#endif /* end of include guard: CVEND_H_WNGPTXM7 */