Tizen HAL API  1.0
Bluetooth

The Bluetooth provides functions to enable and disable the HCI interface.

Required Header

#include <hal-bluetooth.h>

Overview

The Bluetooth provides to get/put backend and enable/disable HCI interface.

For more information on the Bluetooth features and the macros, see HAL Bluetooth programming guides and tutorials.

Typedefs

typedef struct
_hal_backend_bluetooth_funcs 
hal_backend_bluetooth_funcs
 The structure type of the bluetooth HAL functions.

Defines

#define HAL_BLUETOOTH_BACKEND_ERROR_NONE   0
 Structure for bluetooth functions.
#define HAL_BLUETOOTH_BACKEND_ERROR_INTERNAL   -1
 Internal error.
#define HAL_BLUETOOTH_BACKEND_ERROR_TIMEOUT   -2
 Timeout error.

Data Structure Documentation

struct _hal_backend_bluetooth_funcs

The structure type of the bluetooth HAL functions.

Since:
HAL_MODULE_BLUETOOTH 1.0

Data Fields

int(* start )(void)
int(* stop )(void)

Field Documentation

Start Bluetooth HAL backend

Stop Bluetooth HAL backend


Define Documentation

Internal error.

Since:
HAL_MODULE_BLUETOOTH 1.0

Structure for bluetooth functions.

Since:
HAL_MODULE_BLUETOOTH 1.0 Error none
Since:
HAL_MODULE_BLUETOOTH 1.0

Timeout error.

Since:
HAL_MODULE_BLUETOOTH 1.0

Typedef Documentation

The structure type of the bluetooth HAL functions.

Since:
HAL_MODULE_BLUETOOTH 1.0