Increase cvend reliability
This commit is contained in:
11
inc/cvend.h
11
inc/cvend.h
@@ -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 */
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
typedef void (*nfc_cb)(uint8_t status, uint8_t *version, uint16_t version_size,
|
||||
uint8_t *data, uint16_t data_size);
|
||||
|
||||
void nfc_init(const char *path);
|
||||
void nfc_reset(const char *path);
|
||||
void *nfc_handle(void *data);
|
||||
|
||||
#endif /* end of include guard: NFC_H_3196CYAP */
|
||||
|
||||
Reference in New Issue
Block a user