#include <hardware/bluetooth.h>
#include <hardware/bt_pan.h>
-#define LOG_TAG "BlueZ"
-#include <cutils/log.h>
-
+#include "hal-log.h"
#include "hal.h"
const btpan_callbacks_t *bt_pan_cbacks = NULL;
static bt_status_t bt_pan_enable(int local_role)
{
- ALOGD(__func__);
+ DBG("");
if (!interface_ready())
return BT_STATUS_NOT_READY;
static int bt_pan_get_local_role(void)
{
- ALOGD(__func__);
+ DBG("");
if (!interface_ready())
return BTPAN_ROLE_NONE;
static bt_status_t bt_pan_connect(const bt_bdaddr_t *bd_addr, int local_role,
int remote_role)
{
- ALOGD(__func__);
+ DBG("");
if (!interface_ready())
return BT_STATUS_NOT_READY;
static bt_status_t bt_pan_disconnect(const bt_bdaddr_t *bd_addr)
{
- ALOGD(__func__);
+ DBG("");
if (!interface_ready())
return BT_STATUS_NOT_READY;
static bt_status_t bt_pan_init(const btpan_callbacks_t *callbacks)
{
- ALOGI(__func__);
+ DBG("");
bt_pan_cbacks = callbacks;
static void bt_pan_cleanup()
{
- ALOGD(__func__);
+ DBG("");
if (!interface_ready())
return;