mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
avoid #include "btstack.h" by core stack
This commit is contained in:
parent
8e85021e5f
commit
7c76cd6112
@ -39,11 +39,14 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "classic/avdtp.h"
|
||||
#include "classic/avdtp_util.h"
|
||||
#include "classic/avdtp_acceptor.h"
|
||||
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_util.h"
|
||||
#include "l2cap.h"
|
||||
|
||||
|
||||
static int avdtp_acceptor_send_accept_response(uint16_t cid, uint8_t transaction_label, avdtp_signal_identifier_t identifier){
|
||||
uint8_t command[2];
|
||||
|
@ -40,9 +40,12 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "avdtp.h"
|
||||
#include "avdtp_util.h"
|
||||
#include "classic/avdtp.h"
|
||||
#include "classic/avdtp_util.h"
|
||||
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_util.h"
|
||||
#include "l2cap.h"
|
||||
|
||||
#define MAX_MEDIA_CODEC_INFORMATION_LENGTH 100
|
||||
|
||||
|
@ -40,9 +40,13 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
#include "btstack.h"
|
||||
#include "classic/avrcp_browsing.h"
|
||||
#include "classic/avrcp_browsing_controller.h"
|
||||
#include "classic/avrcp_controller.h"
|
||||
|
||||
#include "bluetooth_sdp.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_event.h"
|
||||
|
||||
|
||||
static void avrcp_browsing_controller_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size);
|
||||
|
@ -40,9 +40,15 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
#include "btstack.h"
|
||||
#include "classic/avrcp.h"
|
||||
#include "classic/avrcp_browsing.h"
|
||||
#include "classic/avrcp_browsing_target.h"
|
||||
#include "classic/avrcp_target.h"
|
||||
#include "classic/avrcp_controller.h"
|
||||
|
||||
#include "bluetooth_sdp.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_event.h"
|
||||
|
||||
static void avrcp_browsing_target_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size);
|
||||
|
||||
|
@ -41,10 +41,15 @@
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "classic/avrcp.h"
|
||||
#include "classic/avrcp_controller.h"
|
||||
|
||||
#include "bluetooth_sdp.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_event.h"
|
||||
#include "btstack_util.h"
|
||||
#include "l2cap.h"
|
||||
|
||||
#define AVRCP_CMD_BUFFER_SIZE 30
|
||||
|
||||
// made public in avrcp_controller.h
|
||||
|
@ -41,8 +41,14 @@
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "classic/avrcp.h"
|
||||
#include "classic/avrcp_target.h"
|
||||
|
||||
#include "bluetooth_sdp.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_event.h"
|
||||
#include "btstack_util.h"
|
||||
#include "l2cap.h"
|
||||
|
||||
#define AVRCP_ATTR_HEADER_LEN 8
|
||||
|
||||
|
@ -54,12 +54,13 @@
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_util.h"
|
||||
#include "btstack_sbc.h"
|
||||
#include "btstack_sbc_plc.h"
|
||||
|
||||
#include "oi_codec_sbc.h"
|
||||
#include "oi_assert.h"
|
||||
#include "btstack.h"
|
||||
|
||||
#define mSBC_SYNCWORD 0xad
|
||||
#define SBC_SYNCWORD 0x9c
|
||||
|
@ -51,9 +51,10 @@
|
||||
|
||||
#include "btstack_sbc.h"
|
||||
#include "btstack_sbc_plc.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_util.h"
|
||||
|
||||
#include "sbc_encoder.h"
|
||||
#include "btstack.h"
|
||||
|
||||
#define mSBC_SYNCWORD 0xad
|
||||
#define SBC_SYNCWORD 0x9c
|
||||
|
@ -40,11 +40,11 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <btstack.h>
|
||||
|
||||
#include "btstack_memory.h"
|
||||
#include "btstack_util.h"
|
||||
#include "btstack_bool.h"
|
||||
#include "btstack_debug.h"
|
||||
|
||||
#include "mesh/beacon.h"
|
||||
#include "mesh/mesh_iv_index_seq_number.h"
|
||||
|
@ -42,9 +42,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_memory.h"
|
||||
#include "btstack_event.h"
|
||||
|
||||
#include "mesh/provisioning_device.h"
|
||||
#include "mesh/mesh_crypto.h"
|
||||
#ifdef ENABLE_MESH_ADV_BEARER
|
||||
#include "mesh/pb_adv.h"
|
||||
|
@ -43,7 +43,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "btstack_event.h"
|
||||
#include "btstack_run_loop.h"
|
||||
#include "btstack_util.h"
|
||||
|
||||
#include "mesh/mesh_crypto.h"
|
||||
#include "mesh/pb_adv.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user