pinebuds/services/communication/communication_svr.h

28 lines
479 B
C
Raw Normal View History

2022-08-15 04:20:27 -05:00
#ifndef __COMMUNICATION_SVR_H__
#define __COMMUNICATION_SVR_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*communication_receive_func_typedef)(uint8_t *buf, uint8_t len);
void communication_init(void);
int communication_receive_register_callback(communication_receive_func_typedef p);
int communication_send_buf(uint8_t * buf, uint8_t len);
#ifdef KNOWLES_UART_DATA
void uart_audio_init();
void uart_audio_deinit();
#endif
#ifdef __cplusplus
}
#endif
#endif