pinebuds/services/communication/communication_svr.h
Ben V. Brown 75381150fd Formatting
Formatting Pass 1

Lots of fixups to adding stdint and stdbool all over the place

Formatting Pass 2
Formatting Pass 3
Formatting Pass 4

Update app_bt_stream.cpp
2023-02-02 07:56:49 +11:00

25 lines
499 B
C

#ifndef __COMMUNICATION_SVR_H__
#define __COMMUNICATION_SVR_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
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