TizenRT Public API
v2.0 M2
|
API to control the Bluetooth adapter and devices and communications. More...
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
#include "tizen_error.h"
#include "tizen.h"
#include "bluetooth_type.h"
Go to the source code of this file.
Functions | |
int | bt_initialize (void) |
Initializes the Bluetooth API. 2.3. More... | |
int | bt_deinitialize (void) |
Releases all resources of the Bluetooth API. 2.3. More... | |
int | bt_get_uuid_name (const char *uuid, char **name) |
Gets the specification name for the given UUID. 3.0. More... | |
int | bt_adapter_get_state (bt_adapter_state_e *adapter_state) |
Gets the current state of local Bluetooth adapter. 2.3. More... | |
int | bt_adapter_get_address (char **local_address) |
Gets the address of local Bluetooth adapter. 2.3. More... | |
int | bt_adapter_get_name (char **local_name) |
Gets the name of local Bluetooth adapter. More... | |
int | bt_adapter_set_name (const char *local_name) |
Sets the name of local Bluetooth adapter. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_get_visibility (bt_adapter_visibility_mode_e *mode, int *duration) |
Gets the visibility mode of local Bluetooth adapter. 2.3. More... | |
int | bt_adapter_start_device_discovery (void) |
Starts the device discovery, asynchronously. More... | |
int | bt_adapter_stop_device_discovery (void) |
Stops the device discovery, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_is_discovering (bool *is_discovering) |
Checks for the device discovery is in progress or not. 2.3. More... | |
int | bt_device_get_service_mask_from_uuid_list (char **uuids, int no_of_service, bt_service_class_t *service_mask_list) |
Gets the service mask from the UUID list. 2.3. More... | |
int | bt_adapter_foreach_bonded_device (bt_adapter_bonded_device_cb callback, void *user_data) |
Retrieves the device information of all bonded devices. 2.3. More... | |
int | bt_adapter_get_bonded_device_info (const char *remote_address, bt_device_info_s **device_info) |
Gets the device information of a bonded device. 2.3. More... | |
int | bt_adapter_free_device_info (bt_device_info_s *device_info) |
Frees device info. 2.3. More... | |
int | bt_adapter_is_service_used (const char *service_uuid, bool *used) |
Checks whether the UUID of service is used or not. 2.3. More... | |
int | bt_adapter_set_state_changed_cb (bt_adapter_state_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the Bluetooth adapter state changes. 2.3. More... | |
int | bt_adapter_unset_state_changed_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_adapter_set_name_changed_cb (bt_adapter_name_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the name of Bluetooth adapter changes. 2.3. More... | |
int | bt_adapter_unset_name_changed_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_adapter_set_visibility_mode_changed_cb (bt_adapter_visibility_mode_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the visibility mode changes. 2.3. More... | |
int | bt_adapter_unset_visibility_mode_changed_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_adapter_set_visibility_duration_changed_cb (bt_adapter_visibility_duration_changed_cb callback, void *user_data) |
Registers a callback function to be invoked every second. More... | |
int | bt_adapter_unset_visibility_duration_changed_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_adapter_set_device_discovery_state_changed_cb (bt_adapter_device_discovery_state_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the device discovery state changes. 2.3. More... | |
int | bt_adapter_unset_device_discovery_state_changed_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_adapter_get_local_oob_data (unsigned char **hash, unsigned char **randomizer, int *hash_len, int *randomizer_len) |
Gets the Hash and Randomizer value, synchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_set_remote_oob_data (const char *remote_address, unsigned char *hash, unsigned char *randomizer, int hash_len, int randomizer_len) |
Sets the Hash and Randomizer value, synchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_get_local_oob_ext_data (unsigned char **hash192, unsigned char **randomizer192, int *hash192_len, int *randomizer192_len, unsigned char **hash256, unsigned char **randomizer256, int *hash256_len, int *randomizer256_len) |
Gets the Hash and Randomizer value, synchronously. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_set_remote_oob_ext_data (const char *remote_address, const unsigned char *hash192, const unsigned char *randomizer192, int hash192_len, int randomizer192_len, const unsigned char *hash256, const unsigned char *randomizer256, int hash256_len, int randomizer256_len) |
Sets the Hash and Randomizer value, synchronously. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_remove_remote_oob_data (const char *remote_address) |
Deletes the Hash and Randomizer value, synchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_le_is_discovering (bool *is_discovering) TIZEN_DEPRECATED_API |
Checks for the LE device discovery is in progress or not. 2.3. More... | |
int | bt_adapter_le_start_scan (bt_adapter_le_scan_result_cb cb, void *user_data) |
Starts the LE scan to find LE advertisement. More... | |
int | bt_adapter_le_stop_scan (void) |
Stops the LE scan. 2.3.1 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_le_get_scan_result_service_uuids (const bt_adapter_le_device_scan_result_info_s *info, bt_adapter_le_packet_type_e pkt_type, char ***uuids, int *count) |
Gets the service UUID list from the scan result information. 2.3.1. More... | |
int | bt_adapter_le_get_scan_result_device_name (const bt_adapter_le_device_scan_result_info_s *info, bt_adapter_le_packet_type_e pkt_type, char **name) |
Gets the device name from the scan result information. 2.3.1. More... | |
int | bt_adapter_le_get_scan_result_tx_power_level (const bt_adapter_le_device_scan_result_info_s *info, bt_adapter_le_packet_type_e pkt_type, int *power_level) |
Gets the transmission power level from the scan result information. 2.3.1. More... | |
int | bt_adapter_le_get_scan_result_service_solicitation_uuids (const bt_adapter_le_device_scan_result_info_s *info, bt_adapter_le_packet_type_e pkt_type, char ***uuids, int *count) |
Gets the service solicitation UUID list from the scan result information. 2.3.1. More... | |
int | bt_adapter_le_get_scan_result_service_data_list (const bt_adapter_le_device_scan_result_info_s *info, bt_adapter_le_packet_type_e pkt_type, bt_adapter_le_service_data_s **data_list, int *count) |
Gets the service data list from the scan result information. 2.3.1. More... | |
int | bt_adapter_le_free_service_data_list (bt_adapter_le_service_data_s *data_list, int count) |
Frees service data list. 2.3.1. More... | |
int | bt_adapter_le_get_scan_result_appearance (const bt_adapter_le_device_scan_result_info_s *info, bt_adapter_le_packet_type_e pkt_type, int *appearance) |
Gets the appearance from the scan result information. 2.3.1. More... | |
int | bt_adapter_le_get_scan_result_manufacturer_data (const bt_adapter_le_device_scan_result_info_s *info, bt_adapter_le_packet_type_e pkt_type, int *manufacturer_id, char **manufacturer_data, int *manufacturer_data_len) |
Gets the manufacturer data from the scan result information. 2.3.1. More... | |
int | bt_adapter_le_get_scan_result_ibeacon_report (const bt_adapter_le_device_scan_result_info_s *info, bt_adapter_le_packet_type_e pkt_type, bt_adapter_le_ibeacon_scan_result_info_s **ibeacon_info) |
Gets iBeacon format's data from the scan result information. 4.0. More... | |
int | bt_adapter_le_free_ibeacon_report (bt_adapter_le_ibeacon_scan_result_info_s *ibeacon_info) |
Frees iBeacon information. 4.0. More... | |
int | bt_adapter_le_create_advertiser (bt_advertiser_h *advertiser) |
Creates advertiser to advertise device's existence or respond to LE scanning request. 2.3. More... | |
int | bt_adapter_le_destroy_advertiser (bt_advertiser_h advertiser) |
Destroys advertiser. 2.3. More... | |
int | bt_ipsp_initialize (bt_ipsp_init_state_changed_cb callback, void *user_data) |
Initializes the Bluetooth IPSP (Internet Protocol Support Profile) service. 4.0. More... | |
int | bt_ipsp_deinitialize (void) |
Deinitializes the Bluetooth IPSP (Internet Protocol Support Profile) service. 4.0. More... | |
int | bt_ipsp_connect (const char *remote_address) |
Connects to a remote device's IPSP service over LE, asynchronously. 4.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_ipsp_disconnect (const char *remote_address) |
Disconnects from a remote device's IPSP service, asynchronously. 4.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_ipsp_set_connection_state_changed_cb (bt_ipsp_connection_state_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the connection state changes. 4.0. More... | |
int | bt_ipsp_unset_connection_state_changed_cb (void) |
Unregisters the callback function called when the connection state changes. 4.0. More... | |
int | bt_adapter_le_add_advertising_service_uuid (bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type, const char *uuid) |
Adds a service UUID to advertise or scan response data. The maximum advertised or responded data size is 31 bytes including data type and system wide data. 2.3.1. More... | |
int | bt_adapter_le_add_advertising_service_solicitation_uuid (bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type, const char *uuid) |
Adds a service solicitation UUID to advertise or scan response data. The maximum advertised or responded data size is 31 bytes including data type and system wide data. 2.3.1. More... | |
int | bt_adapter_le_add_advertising_service_data (bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type, const char *uuid, const char *service_data, int service_data_len) |
Adds service data to advertise or scan response data. The maximum advertised or responded data size is 31 bytes including data type and system wide data. 2.3.1. More... | |
int | bt_adapter_le_set_advertising_appearance (bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type, int appearance) |
Sets the external appearance of this device to advertise or scan response data. Please refer to the adopted Bluetooth specification for the the appearance. 2.3.1. More... | |
int | bt_adapter_le_add_advertising_manufacturer_data (bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type, int manufacturer_id, const char *manufacturer_data, int manufacturer_data_len) |
Adds manufacturer specific data to advertise or scan response data. Please refer to the Bluetooth Assigned Numbers provided by the Bluetooth SIG for a list of existing company identifiers. The maximum advertised or responded data size is 31 bytes including data type and system wide data. 2.3.1. More... | |
int | bt_adapter_le_set_advertising_device_name (bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type, bool include_name) |
Sets whether the device name should be included in advertise or scan response data. The maximum advertised or responded data size is 31 bytes including data type and system wide data. 2.3.1. More... | |
int | bt_adapter_le_set_advertising_tx_power_level (bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type, bool include_tx_power) |
Sets whether the transmission power level should be included in advertise or scan response data. The maximum advertised or responded data size is 31 bytes including data type and system wide data. 2.3.1. More... | |
int | bt_adapter_le_clear_advertising_data (bt_advertiser_h advertiser, bt_adapter_le_packet_type_e pkt_type) |
Clears all data to be advertised or responded to scan request from LE scanning device. 2.3. More... | |
int | bt_adapter_le_stop_advertising (bt_advertiser_h advertiser) |
Stops the advertising. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_le_start_advertising_new (bt_advertiser_h advertiser, bt_adapter_le_advertising_state_changed_cb cb, void *user_data) |
Starts advertising with passed advertiser and advertising parameters. More... | |
int | bt_adapter_le_set_advertising_mode (bt_advertiser_h advertiser, bt_adapter_le_advertising_mode_e mode) |
Sets advertising mode to control the advertising power and latency. 2.3.1 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_le_set_advertising_connectable (bt_advertiser_h advertiser, bool connectable) |
Sets whether the advertising type should be connectable or non-connectable. 2.3.1 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_le_set_scan_mode (bt_adapter_le_scan_mode_e scan_mode) |
Sets Bluetooth LE scan mode. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_device_create_bond (const char *remote_address) |
Creates a bond with a remote Bluetooth device, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_device_cancel_bonding (void) |
Cancels the bonding process. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_device_destroy_bond (const char *remote_address) |
Destroys the bond, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_device_set_alias (const char *remote_address, const char *alias) |
Sets an alias for the bonded device. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_device_set_authorization (const char *remote_address, bt_device_authorization_e authorization_state) |
Sets the authorization of a bonded device, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_device_start_service_search (const char *remote_address) |
Starts the search for services supported by the specified device, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_device_foreach_connected_profiles (const char *remote_address, bt_device_connected_profile callback, void *user_data) |
Gets the connected profiles. 2.3. More... | |
int | bt_device_is_profile_connected (const char *remote_address, bt_profile_e bt_profile, bool *connected_status) |
Gets the profile connected status. 2.3. More... | |
int | bt_device_update_le_connection_mode (const char *remote_address, bt_device_le_connection_mode_e mode) |
Updates a LE connection mode. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_device_set_bond_created_cb (bt_device_bond_created_cb callback, void *user_data) |
Registers a callback function to be invoked when the bond creates. 2.3. More... | |
int | bt_device_unset_bond_created_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_device_set_bond_destroyed_cb (bt_device_bond_destroyed_cb callback, void *user_data) |
Registers a callback function to be invoked when the bond destroys. 2.3. More... | |
int | bt_device_unset_bond_destroyed_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_device_set_authorization_changed_cb (bt_device_authorization_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the authorization of device changes. 2.3. More... | |
int | bt_device_unset_authorization_changed_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_device_set_service_searched_cb (bt_device_service_searched_cb callback, void *user_data) |
Registers a callback function to be invoked when the process of service search finishes. 2.3. More... | |
int | bt_device_unset_service_searched_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_device_set_connection_state_changed_cb (bt_device_connection_state_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the connection state is changed. 2.3. More... | |
int | bt_device_unset_connection_state_changed_cb (void) |
Unregisters the callback function to be invoked when the connection state is changed. 2.3. More... | |
int | bt_socket_create_rfcomm (const char *service_uuid, int *socket_fd) |
Registers a RFCOMM server socket with a specific UUID. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_socket_destroy_rfcomm (int socket_fd) |
Removes the RFCOMM server socket which was created using bt_socket_create_rfcomm(). 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_socket_listen_and_accept_rfcomm (int socket_fd, int max_pending_connections) |
Starts listening on passed RFCOMM socket and accepts connection requests. More... | |
int | bt_socket_connect_rfcomm (const char *remote_address, const char *service_uuid) |
Connects to a specific RFCOMM based service on a remote Bluetooth device UUID, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_socket_disconnect_rfcomm (int socket_fd) |
Disconnects the RFCOMM connection with the given file descriptor of connected socket. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_socket_send_data (int socket_fd, const char *data, int length) |
Sends data to the connected device. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_socket_set_data_received_cb (bt_socket_data_received_cb callback, void *user_data) |
Registers a callback function that will be invoked when you receive data. 2.3. More... | |
int | bt_socket_unset_data_received_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_socket_set_connection_requested_cb (bt_socket_connection_requested_cb callback, void *user_data) |
Registers a callback function that will be invoked when a RFCOMM connection is requested. 2.3. More... | |
int | bt_socket_unset_connection_requested_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_socket_set_connection_state_changed_cb (bt_socket_connection_state_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the connection state changes. 2.3. More... | |
int | bt_socket_unset_connection_state_changed_cb (void) |
Unregisters the callback function. 2.3. More... | |
int | bt_opp_server_initialize_by_connection_request (const char *destination, bt_opp_server_connection_requested_cb connection_requested_cb, void *user_data) |
Initializes the Bluetooth OPP server requested by bt_opp_server_connection_requested_cb(). More... | |
int | bt_opp_server_deinitialize (void) |
Deinitializes the Bluetooth OPP server. 2.3. More... | |
int | bt_opp_server_accept (bt_opp_server_transfer_progress_cb progress_cb, bt_opp_server_transfer_finished_cb finished_cb, const char *name, void *user_data, int *transfer_id) |
Accepts the push request from the remote device. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_opp_server_reject (void) |
Rejects the push request from the remote device. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_opp_server_cancel_transfer (int transfer_id) |
Cancels the transfer. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_opp_server_set_destination (const char *destination) |
Sets the destination path of file to be pushed. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_opp_client_initialize (void) |
Initializes the Bluetooth OPP client. 2.3. More... | |
int | bt_opp_client_deinitialize (void) |
Deinitializes the Bluetooth OPP client. 2.3. More... | |
int | bt_opp_client_add_file (const char *file) |
Adds file to be pushed. 2.3. More... | |
int | bt_opp_client_clear_files (void) |
Adds file to be pushed. 2.3. More... | |
int | bt_opp_client_push_files (const char *remote_address, bt_opp_client_push_responded_cb responded_cb, bt_opp_client_push_progress_cb progress_cb, bt_opp_client_push_finished_cb finished_cb, void *user_data) |
Pushes the file to the remote device, asynchronously. More... | |
int | bt_opp_client_cancel_push (void) |
Cancels the push request in progress, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_host_initialize (bt_hid_host_connection_state_changed_cb connection_cb, void *user_data) |
Initializes the Bluetooth HID (Human Interface Device) Host. 2.3. More... | |
int | bt_hid_host_deinitialize (void) |
Deinitializes the Bluetooth HID (Human Interface Device) Host. 2.3. More... | |
int | bt_hid_host_connect (const char *remote_address) |
Connects the remote device with the HID (Human Interface Device) service, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_host_disconnect (const char *remote_address) |
Disconnects the remote device with the HID (Human Interface Device) service, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_device_activate (bt_hid_device_connection_state_changed_cb callback, void *user_data) |
Activates the Bluetooth HID Device role. public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_device_deactivate (void) |
Deactivates the Bluetooth HID Device role. public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_device_connect (const char *remote_address) |
Initiates the HID device connection with the Device role, asynchronously. public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_device_disconnect (const char *remote_address) |
Disconnects from the HID Host device, asynchronously. public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_device_send_mouse_event (const char *remote_address, const bt_hid_mouse_data_s *mouse_data) |
Sends the mouse event data to the remote device. public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_device_send_key_event (const char *remote_address, const bt_hid_key_data_s *key_data) |
Sends the keyboard event data to the remote device. public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hid_device_set_data_received_cb (bt_hid_device_data_received_cb callback, void *user_data) |
Sets the callback called when the device receives data from the HID Host. . More... | |
int | bt_hid_device_unset_data_received_cb (void) |
Unsets the data received callback. . More... | |
int | bt_hid_device_reply_to_report (const char *remote_address, bt_hid_header_type_e header_type, bt_hid_param_type_e param_type, const char *data, unsigned int data_len) |
Responds to reports from the HID Host. public http://tizen.org/privilege/bluetooth. More... | |
int | bt_audio_initialize (void) |
Initializes the Bluetooth profiles related with audio. 2.3. More... | |
int | bt_audio_deinitialize (void) |
Deinitializes the Bluetooth profiles related with audio. 2.3. More... | |
int | bt_audio_connect (const char *remote_address, bt_audio_profile_type_e type) |
Connects the remote device with the given audio profile, asynchronously. More... | |
int | bt_audio_disconnect (const char *remote_address, bt_audio_profile_type_e type) |
Disconnects the remote device with the given audio profile, asynchronously. More... | |
int | bt_audio_set_connection_state_changed_cb (bt_audio_connection_state_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the connection state is changed. 2.3. More... | |
int | bt_audio_unset_connection_state_changed_cb (void) |
Unregisters a callback function that will be invoked when the connection state is changed. 2.3. More... | |
int | bt_avrcp_target_initialize (bt_avrcp_target_connection_state_changed_cb callback, void *user_data) |
Initializes the Bluetooth AVRCP (Audio/Video Remote Control Profile) target service. 2.4. More... | |
int | bt_avrcp_target_deinitialize (void) |
Deinitializes the Bluetooth AVRCP (Audio/Video Remote Control Profile) target service. 2.4. More... | |
int | bt_avrcp_target_notify_equalizer_state (bt_avrcp_equalizer_state_e state) |
Notifies the equalizer state to the remote device. 2.4 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_target_notify_repeat_mode (bt_avrcp_repeat_mode_e mode) |
Notifies the repeat mode to the remote device. 2.4 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_target_notify_shuffle_mode (bt_avrcp_shuffle_mode_e mode) |
Notifies the shuffle mode to the remote device. 2.4 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_target_notify_scan_mode (bt_avrcp_scan_mode_e mode) |
Notifies the scan mode to the remote device. 2.4 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_target_notify_player_state (bt_avrcp_player_state_e state) |
Notifies the player state to the remote device. 2.4 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_target_notify_position (unsigned int position) |
Notifies the current position of song to the remote device. 2.4 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_target_notify_track (const char *title, const char *artist, const char *album, const char *genre, unsigned int track_num, unsigned int total_tracks, unsigned int duration) |
Notifies the track to the remote device. 2.4 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_set_equalizer_state_changed_cb (bt_avrcp_equalizer_state_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the equalizer state is changed. (e.g., by a TV remote control or other input devices). 2.4. More... | |
int | bt_avrcp_unset_equalizer_state_changed_cb (void) |
Unregisters a callback function that will be invoked when the equalizer state is changed. (e.g., by a TV remote control or other input devices). 2.4. More... | |
int | bt_avrcp_set_repeat_mode_changed_cb (bt_avrcp_repeat_mode_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the repeat mode is changed. (e.g., by a TV remote control or other input devices). 2.4. More... | |
int | bt_avrcp_unset_repeat_mode_changed_cb (void) |
Unregisters a callback function that will be invoked when the repeat mode is changed. (e.g., by a TV remote control or other input devices). 2.4. More... | |
int | bt_avrcp_set_shuffle_mode_changed_cb (bt_avrcp_shuffle_mode_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the shuffle mode is changed. (e.g., by a TV remote control or other input devices). 2.4. More... | |
int | bt_avrcp_unset_shuffle_mode_changed_cb (void) |
Unregisters a callback function that will be invoked when the shuffle mode is changed. (e.g., by a TV remote control or other input devices). 2.4. More... | |
int | bt_avrcp_set_scan_mode_changed_cb (bt_avrcp_scan_mode_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the scan mode is changed. (e.g., by a TV remote control or other input devices). 2.4. More... | |
int | bt_avrcp_unset_scan_mode_changed_cb (void) |
Unregisters a callback function that will be invoked when the scan mode is changed. (e.g., by a TV remote control or other input devices). 2.4. More... | |
int | bt_avrcp_set_position_changed_cb (bt_avrcp_position_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the song position is changed. (e.g., by a TV remote control or other input devices). 3.0. More... | |
int | bt_avrcp_unset_position_changed_cb (void) |
Unregisters a callback function that will be invoked when the song position is changed. (e.g., by a TV remote control or other input devices). 3.0. More... | |
int | bt_avrcp_set_play_status_changed_cb (bt_avrcp_play_status_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the Play status is changed. (e.g., by a TV remote control or other input devices). 3.0. More... | |
int | bt_avrcp_unset_play_status_changed_cb (void) |
Unregisters a callback function that will be invoked when the Play status is changed. (e.g., by a TV remote control or other input devices). 3.0. More... | |
int | bt_avrcp_set_track_info_changed_cb (bt_avrcp_track_info_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the track metadata is changed. (e.g., by a TV remote control or other input devices). 3.0. More... | |
int | bt_avrcp_unset_track_info_changed_cb (void) |
Unregisters a callback function that will be invoked when the track metadata is changed. (e.g., by a TV remote control or other input devices). 3.0. More... | |
int | bt_avrcp_control_initialize (bt_avrcp_control_connection_state_changed_cb callback, void *user_data) |
Initializes the Bluetooth AVRCP (Audio/Video Remote Control Profile) controller service. 3.0. More... | |
int | bt_avrcp_control_deinitialize (void) |
Deinitializes the Bluetooth AVRCP (Audio/Video Remote Control Profile) controller service. 3.0. More... | |
int | bt_avrcp_control_connect (const char *remote_address) |
Connects the AVRCP (Audio/Video Remote Control Profile) target device. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_control_disconnect (const char *remote_address) |
Disconnects from the AVRCP (Audio/Video Remote Control Profile) target device. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_control_send_player_command (bt_avrcp_player_command_e cmd) |
Sends a command to the target device. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_control_set_equalizer_state (bt_avrcp_equalizer_state_e state) |
Sends the equalizer state change request to the remote device. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_control_get_equalizer_state (bt_avrcp_equalizer_state_e *state) |
Gets the the equalizer state of the remote device. 3.0. More... | |
int | bt_avrcp_control_set_repeat_mode (bt_avrcp_repeat_mode_e mode) |
Sends the repeat change request to the remote device. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_control_get_repeat_mode (bt_avrcp_repeat_mode_e *mode) |
Gets the repeat state of the remote device. 3.0. More... | |
int | bt_avrcp_control_set_shuffle_mode (bt_avrcp_shuffle_mode_e mode) |
Sends the shuffle mode change request to the remote device. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_control_get_shuffle_mode (bt_avrcp_shuffle_mode_e *mode) |
Gets the shuffle mode of the remote device. 3.0. More... | |
int | bt_avrcp_control_set_scan_mode (bt_avrcp_scan_mode_e mode) |
Sends the scan mode change request to the remote device. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_avrcp_control_get_scan_mode (bt_avrcp_scan_mode_e *mode) |
Gets the scan mode of the remote device. 3.0. More... | |
int | bt_avrcp_control_get_position (unsigned int *position) |
Gets the position of the song played by the remote device. 3.0. More... | |
int | bt_avrcp_control_get_play_status (bt_avrcp_player_state_e *status) |
Gets the play status of the remote device. 3.0. More... | |
int | bt_avrcp_control_get_track_info (bt_avrcp_metadata_attributes_info_s **track) |
Gets the metadata of the track played by the remote device. 3.0. More... | |
int | bt_avrcp_control_free_track_info (bt_avrcp_metadata_attributes_info_s *track) |
Frees the track metadata. 3.0. More... | |
int | bt_hdp_register_sink_app (unsigned short data_type, char **app_id) TIZEN_DEPRECATED_API |
Registers an application that acts as the Sink role of HDP (Health Device Profile). 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hdp_unregister_sink_app (const char *app_id) TIZEN_DEPRECATED_API |
Unregisters the given application that acts as the Sink role of HDP (Health Device Profile). 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hdp_connect_to_source (const char *remote_address, const char *app_id) TIZEN_DEPRECATED_API |
Connects the remote device which acts as Source role, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hdp_disconnect (const char *remote_address, unsigned int channel) TIZEN_DEPRECATED_API |
Disconnects the remote device, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hdp_send_data (unsigned int channel, const char *data, unsigned int size) TIZEN_DEPRECATED_API |
Sends the data to the remote device. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_hdp_set_connection_state_changed_cb (bt_hdp_connected_cb connected_cb, bt_hdp_disconnected_cb disconnected_cb, void *user_data) TIZEN_DEPRECATED_API |
Registers a callback function that will be invoked when the connection state is changed. 2.3. More... | |
int | bt_hdp_unset_connection_state_changed_cb (void) TIZEN_DEPRECATED_API |
Unregisters a callback function that will be invoked when the connection state is changed. 2.3. More... | |
int | bt_hdp_set_data_received_cb (bt_hdp_data_received_cb callback, void *user_data) TIZEN_DEPRECATED_API |
Registers a callback function that will be invoked when you receive the data. 2.3. More... | |
int | bt_hdp_unset_data_received_cb (void) TIZEN_DEPRECATED_API |
Unregisters a callback function that will be invoked when you receive the data. 2.3. More... | |
int | bt_gatt_get_value (bt_gatt_h gatt_handle, char **value, int *value_length) |
Gets the value of a characteristic or descriptor's GATT handle. 2.3.1. More... | |
int | bt_gatt_get_int_value (bt_gatt_h gatt_handle, bt_data_type_int_e type, int offset, int *value) |
Gets the value of a characteristic or descriptor's GATT handle as an integer type. 2.3.1. More... | |
int | bt_gatt_get_float_value (bt_gatt_h gatt_handle, bt_data_type_float_e type, int offset, float *value) |
Gets the value of a characteristic or descriptor's GATT handle as a float type. 2.3.1. More... | |
int | bt_gatt_set_value (bt_gatt_h gatt_handle, const char *value, int value_length) |
Updates the value of a characteristic or descriptor's GATT handle. 2.3.1. More... | |
int | bt_gatt_set_int_value (bt_gatt_h gatt_handle, bt_data_type_int_e type, int value, int offset) |
Updates the value of a characteristic or descriptor's GATT handle using a integer type's value. 2.3.1. More... | |
int | bt_gatt_set_float_value (bt_gatt_h gatt_handle, bt_data_type_float_e type, int mantissa, int exponent, int offset) |
Updates the value of a characteristic or descriptor's GATT handle using a float type's value. 2.3.1. More... | |
int | bt_gatt_get_uuid (bt_gatt_h gatt_handle, char **uuid) |
Gets the UUID of a service, characteristic or descriptor's GATT handle. 2.3.1. More... | |
int | bt_gatt_get_type (bt_gatt_h gatt_handle, bt_gatt_type_e *gatt_type) |
Gets the type of GATT handle. 2.3.1. More... | |
int | bt_gatt_service_get_client (bt_gatt_h service, bt_gatt_client_h *client) |
Gets the GATT client handle which the specified service belongs to. 2.3.1. More... | |
int | bt_gatt_service_get_characteristic (bt_gatt_h service, const char *uuid, bt_gatt_h *characteristic) |
Gets a characteristic's GATT handle which has specific UUID. 2.3.1. More... | |
int | bt_gatt_service_foreach_characteristics (bt_gatt_h service, bt_gatt_foreach_cb callback, void *user_data) |
Invokes callback function on each characteristic that belongs to the specified service. 2.3.1. More... | |
int | bt_gatt_service_get_included_service (bt_gatt_h service, const char *uuid, bt_gatt_h *included_service) |
Gets an included service's GATT handle which has specific UUID. 2.3.1. More... | |
int | bt_gatt_service_foreach_included_services (bt_gatt_h service, bt_gatt_foreach_cb callback, void *user_data) |
Invokes callback function on each included service that belongs to the specified service. 2.3.1. More... | |
int | bt_gatt_characteristic_get_service (bt_gatt_h characteristic, bt_gatt_h *service) |
Gets the service's GATT handle which the specified characteristic belongs to. 2.3.1. More... | |
int | bt_gatt_characteristic_get_properties (bt_gatt_h characteristic, int *properties) |
Gets the properties which a characteristic's GATT handle has. 2.3.1. More... | |
int | bt_gatt_characteristic_get_write_type (bt_gatt_h characteristic, bt_gatt_write_type_e *write_type) |
Gets the write type of the specified characteristic. 2.3.1. More... | |
int | bt_gatt_characteristic_set_write_type (bt_gatt_h characteristic, bt_gatt_write_type_e write_type) |
Updates the write type of the specified characteristic. 2.3.1. More... | |
int | bt_gatt_characteristic_get_descriptor (bt_gatt_h characteristic, const char *uuid, bt_gatt_h *descriptor) |
Gets a descriptor's GATT handle which has specific UUID. 2.3.1. More... | |
int | bt_gatt_characteristic_foreach_descriptors (bt_gatt_h characteristic, bt_gatt_foreach_cb callback, void *user_data) |
Invokes callback function on each descriptor that belongs to the specified characteristic. 2.3.1. More... | |
int | bt_gatt_descriptor_get_characteristic (bt_gatt_h descriptor, bt_gatt_h *characteristic) |
Gets the characteristic's GATT handle which the specified descriptor belongs to. 2.3.1. More... | |
int | bt_gatt_client_create (const char *remote_address, bt_gatt_client_h *client) |
Creates the GATT client handle. 2.3.1. More... | |
int | bt_gatt_client_destroy (bt_gatt_client_h client) |
Destroys the GATT client's handle. 2.3.1. More... | |
int | bt_gatt_client_get_remote_address (bt_gatt_client_h client, char **remote_address) |
Gets the address of remote device. 2.3.1. More... | |
int | bt_gatt_client_read_value (bt_gatt_h gatt_handle, bt_gatt_client_request_completed_cb callback, void *user_data) |
Reads the value of a characteristic or descriptor from the remote device asynchronously. 2.3.1 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_client_write_value (bt_gatt_h gatt_handle, bt_gatt_client_request_completed_cb callback, void *user_data) |
Writes the value of a characteristic or descriptor to the remote device asynchronously. 2.3.1 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_client_request_att_mtu_change (bt_gatt_client_h client, unsigned int mtu) |
Requests a change of the ATT MTU value. 4.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_client_get_att_mtu (bt_gatt_client_h client, unsigned int *mtu) |
Gets the ATT MTU value set for a connection. 4.0. More... | |
int | bt_gatt_client_set_att_mtu_changed_cb (bt_gatt_client_h client, bt_gatt_client_att_mtu_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the ATT MTU is changed. 4.0. More... | |
int | bt_gatt_client_unset_att_mtu_changed_cb (bt_gatt_client_h client) |
Unregisters the callback function to be invoked when the ATT MTU is changed. 4.0. More... | |
int | bt_gatt_client_set_characteristic_value_changed_cb (bt_gatt_h characteristic, bt_gatt_client_characteristic_value_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the characteristic value is changed on the remote device. 2.3.1. More... | |
int | bt_gatt_client_unset_characteristic_value_changed_cb (bt_gatt_h characteristic) |
Unregisters a callback function to be invoked when the characteristic value is changed on the remote device. 2.3.1. More... | |
int | bt_gatt_client_get_service (bt_gatt_client_h client, const char *uuid, bt_gatt_h *service) |
Gets a service's GATT handle which has specific UUID. 2.3.1. More... | |
int | bt_gatt_client_foreach_services (bt_gatt_client_h client, bt_gatt_foreach_cb callback, void *user_data) |
Invokes callback function on each service that belongs to the specified GATT client. 2.3.1. More... | |
int | bt_gatt_client_set_service_changed_cb (bt_gatt_client_h client, bt_gatt_client_service_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when service is changed from a remote device(GATT server). 3.0. More... | |
int | bt_gatt_client_unset_service_changed_cb (bt_gatt_client_h client) |
Unregisters a callback function. 3.0. More... | |
int | bt_gatt_connect (const char *address, bool auto_connect) |
Connects to a specific LE based service on a remote bluetooth device address, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_disconnect (const char *address) |
Disconnects to LE connection with the given remote Bluetooth device address, asynchronously. 2.3 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_set_connection_state_changed_cb (bt_gatt_connection_state_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the connection state is changed. 2.3. More... | |
int | bt_gatt_unset_connection_state_changed_cb (void) |
Unregisters a callback function that will be invoked when the connection state is changed. 2.3. More... | |
int | bt_gatt_service_destroy (bt_gatt_h gatt_handle) |
Destroys the GATT handle of service. 3.0. More... | |
int | bt_gatt_characteristic_destroy (bt_gatt_h gatt_handle) |
Destroys the GATT handle of characteristic. 3.0. More... | |
int | bt_gatt_descriptor_destroy (bt_gatt_h gatt_handle) |
Destroys the GATT handle of descriptor. 3.0. More... | |
int | bt_gatt_characteristic_get_permissions (bt_gatt_h gatt_handle, int *permissions) |
Gets the permissions which a characteristic's GATT handle has. 3.0. More... | |
int | bt_gatt_descriptor_get_permissions (bt_gatt_h gatt_handle, int *permissions) |
Gets the permissions which a descriptor's GATT handle has. 3.0. More... | |
int | bt_gatt_service_create (const char *uuid, bt_gatt_service_type_e type, bt_gatt_h *service) |
Creates the GATT service. 3.0. More... | |
int | bt_gatt_service_add_characteristic (bt_gatt_h service, bt_gatt_h characteristic) |
Adds a characteristic to a specified service. 3.0. More... | |
int | bt_gatt_service_add_included_service (bt_gatt_h service, bt_gatt_h included_service) |
Adds a service to a specified service as included service. 3.0. More... | |
int | bt_gatt_service_get_server (bt_gatt_h service, bt_gatt_server_h *server) |
Gets the GATT server handle to which the specified service belongs. 3.0. More... | |
int | bt_gatt_characteristic_create (const char *uuid, int permissions, int properties, const char *value, int value_length, bt_gatt_h *characteristic) |
Creates the GATT characteristic. 3.0. More... | |
int | bt_gatt_characteristic_add_descriptor (bt_gatt_h characteristic, bt_gatt_h descriptor) |
Adds a descriptor to a specified characteristic. 3.0. More... | |
int | bt_gatt_descriptor_create (const char *uuid, int permissions, const char *value, int value_length, bt_gatt_h *descriptor) |
Creates the GATT characteristic descriptor. 3.0. More... | |
int | bt_gatt_server_initialize (void) |
Initializes the GATT Server. 3.0. More... | |
int | bt_gatt_server_deinitialize (void) |
DeInitializes the GATT server. 3.0. More... | |
int | bt_gatt_server_create (bt_gatt_server_h *server) |
Creates the GATT server's handle. 3.0. More... | |
int | bt_gatt_server_destroy (bt_gatt_server_h server) |
Destroys the GATT server's handle. 3.0. More... | |
int | bt_gatt_server_set_read_value_requested_cb (bt_gatt_h gatt_handle, bt_gatt_server_read_value_requested_cb callback, void *user_data) |
Registers a callback function to be invoked when a read request for a specified characteristic or descriptor is issued from a remote device(GATT client). 3.0. More... | |
int | bt_gatt_server_set_characteristic_notification_state_change_cb (bt_gatt_h gatt_handle, bt_gatt_server_characteristic_notification_state_changed_cb callback, void *user_data) |
Registers a callback function to be invoked when the remote device enables or disables the Notification/Indication for particular characteristics. 3.0. More... | |
int | bt_gatt_server_set_write_value_requested_cb (bt_gatt_h gatt_handle, bt_gatt_server_write_value_requested_cb callback, void *user_data) |
Registers a callback function to be invoked when a value of a characteristic or descriptor has been changed by a remote device(GATT client)'s request. 3.0. More... | |
int | bt_gatt_server_register_service (bt_gatt_server_h server, bt_gatt_h service) |
Registers a specified service to the specified GATT server that the local device is hosting. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_server_unregister_service (bt_gatt_server_h server, bt_gatt_h service) |
Unregisters a specified service from the specified GATT server that the local device is hosting. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_server_unregister_all_services (bt_gatt_server_h server) |
Unregisters all services from the specified GATT server that the local device is hosting. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_server_start (void) |
Registers the application along with the GATT services of the application it is hosting. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_server_send_response (int request_id, bt_gatt_att_request_type_e request_type, int offset, int resp_status, char *value, int value_length) |
Sends a response to the remote device as a result of a read/write request. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_gatt_server_notify_characteristic_changed_value (bt_gatt_h characteristic, bt_gatt_server_notification_sent_cb callback, const char *device_address, void *user_data) |
Notifies value change of the characteristic to the remote devices which enable a Client Characteristic Configuration Descriptor. 3.0. More... | |
int | bt_gatt_server_get_service (bt_gatt_server_h server, const char *uuid, bt_gatt_h *service) |
Gets a service's GATT handle which has specific UUID. 3.0. More... | |
int | bt_gatt_server_foreach_services (bt_gatt_server_h server, bt_gatt_foreach_cb callback, void *user_data) |
Invokes callback function on each service that belongs to the specified GATT server. 3.0. More... | |
int | bt_pbap_client_initialize (void) |
Initializes the Bluetooth PBAP Client. More... | |
int | bt_pbap_client_deinitialize (void) |
Deinitializes the Bluetooth PBAP Client. More... | |
int | bt_pbap_client_set_connection_state_changed_cb (bt_pbap_connection_state_changed_cb callback, void *user_data) |
Registers a callback function that will be invoked when the connection state is changed. 3.0. More... | |
int | bt_pbap_client_unset_connection_state_changed_cb (void) |
Unregisters a callback function that will be invoked when the connection state is changed. 3.0. More... | |
int | bt_pbap_client_connect (const char *address) |
Connects to PBAP server, asynchronously. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_pbap_client_disconnect (const char *address) |
Disconnects from PBAP server, asynchronously. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_pbap_client_get_phone_book_size (const char *address, bt_pbap_address_book_source_e source, bt_pbap_folder_type_e folder_type, bt_pbap_phone_book_size_cb callback, void *user_data) |
Gets size of phone book from PBAP server, asynchronously. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_pbap_client_get_phone_book (const char *address, bt_pbap_address_book_source_e source, bt_pbap_folder_type_e folder_type, bt_pbap_vcard_format_e format, bt_pbap_sort_order_e order, unsigned short offset, unsigned short max_list_count, unsigned int fields, bt_pbap_phone_book_received_cb callback, void *user_data) |
Gets all contacts and call logs as vCard from PBAP server, asynchronously. More... | |
int | bt_pbap_client_get_list (const char *address, bt_pbap_address_book_source_e source, bt_pbap_folder_type_e folder_type, bt_pbap_sort_order_e order, unsigned short offset, unsigned short max_list_count, bt_pbap_list_vcards_cb callback, void *user_data) |
Gets contact and call log information from the PBAP server, asynchronously. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_pbap_client_pull_vcard (const char *address, bt_pbap_address_book_source_e source, bt_pbap_folder_type_e folder_type, int index, bt_pbap_vcard_format_e format, unsigned int fields, bt_pbap_phone_book_received_cb callback, void *user_data) |
Gets the selected contact using the index parameter as vCard from PBAP server, asynchronously. More... | |
int | bt_pbap_client_search_phone_book (const char *address, bt_pbap_address_book_source_e source, bt_pbap_folder_type_e folder_type, bt_pbap_search_field_e search_attribute, const char *search_value, bt_pbap_sort_order_e order, unsigned short offset, unsigned short max_list_count, bt_pbap_list_vcards_cb callback, void *user_data) |
Finds and fetches the contact and call log information from the PBAP server, asynchronously. 3.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_le_scan_filter_create (bt_scan_filter_h *scan_filter) |
Creates a scan filter to find only LE advertisements which match specific requirements. More... | |
int | bt_adapter_le_scan_filter_destroy (bt_scan_filter_h scan_filter) |
Destroys a scan filter. 4.0. More... | |
int | bt_adapter_le_scan_filter_set_device_address (bt_scan_filter_h scan_filter, const char *address) |
Sets the device address for the advertisements filter. 4.0. More... | |
int | bt_adapter_le_scan_filter_set_device_name (bt_scan_filter_h scan_filter, const char *name) |
Sets the device name for the advertisements filter. More... | |
int | bt_adapter_le_scan_filter_set_service_uuid (bt_scan_filter_h scan_filter, const char *uuid) |
Sets the service UUID for the advertisements filter. More... | |
int | bt_adapter_le_scan_filter_set_service_uuid_with_mask (bt_scan_filter_h scan_filter, const char *uuid, const char *mask) |
Sets the service UUID and the mask for the advertisements filter, to use for filtering by partial data. More... | |
int | bt_adapter_le_scan_filter_set_service_solicitation_uuid (bt_scan_filter_h scan_filter, const char *uuid) |
Sets the service solicitation UUID for the advertisements filter. More... | |
int | bt_adapter_le_scan_filter_set_service_solicitation_uuid_with_mask (bt_scan_filter_h scan_filter, const char *uuid, const char *mask) |
Sets the service solicitation UUID and the mask for the advertisements filter, to use for filtering by partial data. More... | |
int | bt_adapter_le_scan_filter_set_service_data (bt_scan_filter_h scan_filter, const char *uuid, const char *data, unsigned int data_len) |
Sets the service data for the advertisements filter. More... | |
int | bt_adapter_le_scan_filter_set_service_data_with_mask (bt_scan_filter_h scan_filter, const char *uuid, const char *data, unsigned int data_len, const char *mask, unsigned int mask_len) |
Sets the service data and the mask for the advertisements filter, to use for filtering by partial data. More... | |
int | bt_adapter_le_scan_filter_set_manufacturer_data (bt_scan_filter_h scan_filter, int manufacturer_id, const char *data, unsigned int data_len) |
Sets the manufacturer data for the advertisements filter. More... | |
int | bt_adapter_le_scan_filter_set_manufacturer_data_with_mask (bt_scan_filter_h scan_filter, int manufacturer_id, const char *data, unsigned int data_len, const char *mask, unsigned int mask_len) |
Sets the manufacturer data and the mask for the advertisements filter, to use for filtering by partial data. More... | |
int | bt_adapter_le_scan_filter_set_type (bt_scan_filter_h scan_filter, bt_adapter_le_scan_filter_type_e mode) |
Sets the scan filter type for the advertisements filter. More... | |
int | bt_adapter_le_scan_filter_register (bt_scan_filter_h scan_filter) |
Registers a scan filter to use for scanning. More... | |
int | bt_adapter_le_scan_filter_unregister (bt_scan_filter_h scan_filter) |
Unregisters all registered scan filters. 4.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_le_scan_filter_unregister_all (void) |
Unregisters all registered scan filters. 4.0 public http://tizen.org/privilege/bluetooth. More... | |
int | bt_adapter_le_is_2m_phy_supported (bool *is_supported) |
Checks if LE 2M PHY feature is supported or not. 5.0. More... | |
int | bt_adapter_le_is_coded_phy_supported (bool *is_supported) |
Checks if LE CODED PHY feature is supported or not. 5.0. More... | |
API to control the Bluetooth adapter and devices and communications.
Definition in file bluetooth.h.