src/eir.h src/eir.c \
src/shared/util.h src/shared/util.c \
src/shared/mgmt.h src/shared/mgmt.c \
- android/adapter.h android/adapter.c \
+ android/bluetooth.h android/bluetooth.c \
android/hidhost.h android/hidhost.c \
android/ipc.h android/ipc.c \
android/a2dp.h android/a2dp.c \
endif
-EXTRA_DIST += android/Android.mk android/adapter.c android/main.c \
+EXTRA_DIST += android/Android.mk android/bluetooth.c android/main.c \
android/hal-msg.h android/hal.h
EXTRA_DIST += android/hal-bluetooth.c \
#include "hal-msg.h"
#include "ipc.h"
#include "utils.h"
-#include "adapter.h"
+#include "bluetooth.h"
#define DEVICE_ID_SOURCE 0x0002 /* USB */
#define DEVICE_ID_VENDOR 0x1d6b /* Linux Foundation */
/* Default discoverable timeout 120sec as in Android */
#define DEFAULT_DISCOVERABLE_TIMEOUT 120
-#define BASELEN_PROP_CHANGED sizeof(struct hal_ev_adapter_props_changed) \
- + (sizeof(struct hal_property))
+#define BASELEN_PROP_CHANGED (sizeof(struct hal_ev_adapter_props_changed) \
+ + (sizeof(struct hal_property)))
static uint16_t option_index = MGMT_INDEX_NONE;
sizeof(cp), &cp, NULL, NULL, NULL);
}
-static void read_info_complete(uint8_t status, uint16_t length, const void *param,
- void *user_data)
+static void read_info_complete(uint8_t status, uint16_t length,
+ const void *param, void *user_data)
{
const struct mgmt_rp_read_info *rp = param;
bt_adapter_ready cb = user_data;