fix compile for iOS port

This commit is contained in:
Matthias Ringwald 2015-12-18 16:47:50 +01:00
parent c0be408cdc
commit 972d111a8e
13 changed files with 17 additions and 13 deletions

View File

@ -46,7 +46,7 @@
#include <stdlib.h>
#include <string.h>
#include "btstack.h"
#include "btstack_client.h"
#define MAX_DEVICES 10
struct device {

View File

@ -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"

View File

@ -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

View File

@ -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){

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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"

View File

@ -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"

View File

@ -52,7 +52,8 @@
#include "btstack-config.h"
#include "btstack.h"
#include "btstack_client.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>

View File

@ -29,7 +29,7 @@
*
*/
#import "btstack.h"
#import "btstack_client.h"
typedef enum transitionStates {
kIdle = 1,