mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-20 18:40:31 +00:00
fix compile for iOS port
This commit is contained in:
parent
c0be408cdc
commit
972d111a8e
@ -46,7 +46,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_client.h"
|
||||
|
||||
#define MAX_DEVICES 10
|
||||
struct device {
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_client.h"
|
||||
#include "hci_cmds.h"
|
||||
#include "classic/sdp_util.h"
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_client.h"
|
||||
#include "hci_cmds.h"
|
||||
|
||||
#define PSM_TEST 0xdead
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_client.h"
|
||||
|
||||
static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_client.h"
|
||||
#include "classic/sdp_util.h"
|
||||
|
||||
// input from command line arguments
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_client.h"
|
||||
#include "classic/sdp_util.h"
|
||||
|
||||
// input from command line arguments
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_client.h"
|
||||
#include "classic/sdp_util.h"
|
||||
|
||||
#define NUM_ROWS 25
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "btstack.h"
|
||||
#include "btstack_client.h"
|
||||
#include "hci_cmds.h"
|
||||
|
||||
// bd_addr_t addr = {0x00, 0x03, 0xc9, 0x3d, 0x77, 0x43 }; // Think Outside Keyboard
|
||||
|
@ -48,7 +48,8 @@
|
||||
#include "l2cap.h"
|
||||
#include "socket_connection.h"
|
||||
#include "run_loop.h"
|
||||
|
||||
#include "btstack_client.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -44,8 +44,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __BTSTACK_H
|
||||
#define __BTSTACK_H
|
||||
#ifndef __BTSTACK_CLIENT_H
|
||||
#define __BTSTACK_CLIENT_H
|
||||
|
||||
#include "hci_cmds.h"
|
||||
#include "daemon_cmds.h"
|
||||
|
@ -74,6 +74,8 @@
|
||||
#include "classic/sdp_query_rfcomm.h"
|
||||
#include "socket_connection.h"
|
||||
|
||||
#include "btstack_client.h"
|
||||
|
||||
#ifdef HAVE_BLE
|
||||
#include "ble/gatt_client.h"
|
||||
#include "ble/att_server.h"
|
||||
|
@ -52,7 +52,8 @@
|
||||
#include "btstack-config.h"
|
||||
|
||||
#include "btstack.h"
|
||||
|
||||
#include "btstack_client.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#import "btstack.h"
|
||||
#import "btstack_client.h"
|
||||
|
||||
typedef enum transitionStates {
|
||||
kIdle = 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user