18 #ifndef __TIZEN_NETWORK_BLUETOOTH_INTERNAL_H__ 19 #define __TIZEN_NETWORK_BLUETOOTH_INTERNAL_H__ 65 int bt_adapter_enable(
void);
96 int bt_adapter_disable(
void);
125 int bt_adapter_recover(
void);
171 int bt_adapter_reset(
void);
193 int bt_adapter_get_version(
char **local_version);
218 int bt_adapter_get_local_info(
char **chipset,
char **firmware,
char **stack_version,
char **profiles);
350 int bt_adapter_unset_connectable_changed_cb(
void);
374 int bt_adapter_get_connectable(
bool *connectable);
404 int bt_adapter_set_connectable(
bool connectable);
434 int bt_adapter_set_manufacturer_data(
char *data,
int len);
459 char *manufacturer_data,
int manufacturer_data_len);
499 int bt_adapter_set_manufacturer_data_changed_cb(
519 int bt_adapter_unset_manufacturer_data_changed_cb(
void);
549 int bt_adapter_le_enable(
void);
580 int bt_adapter_le_disable(
void);
642 int bt_adapter_le_unset_state_changed_cb(
void);
730 int bt_adapter_le_enable_privacy(
bool enable_privacy);
760 const unsigned char *hash256,
const unsigned char *randomizer256,
761 int hash256_len,
int randomizer256_len);
814 int bt_adapter_foreach_profile_connected_devices(
const char *profile_uuid,
815 bt_adapter_profile_connected_devices_cb callback,
void *user_data);
838 int bt_device_disconnect(
const char *remote_address);
895 int bt_device_create_bond_by_type(
const char *remote_address,
923 int bt_device_cancel_service_search(
void);
963 int bt_device_set_profile_restricted(
const char *device_address,
bt_restricted_profile_t profile,
bool restricted);
982 int bt_device_get_profile_restricted(
const char *device_address,
bt_restricted_profile_t profile,
int *restricted);
998 int bt_device_set_profile_trusted(
const char *device_address,
bt_trusted_profile_t profile,
bool trust);
1012 int bt_device_get_profile_trusted(
const char *device_address,
bt_trusted_profile_t profile,
int *trust);
1035 int bt_device_unset_trusted_profile_cb(
void);
1147 int bt_socket_create_rfcomm_ex(const
char *uuid, const
char *bus_name, const
char *object_path);
1177 int bt_socket_destroy_rfcomm_ex(const
char *uuid);
1210 int bt_socket_listen_and_accept_rfcomm_ex(const
char *uuid,
int max_pending_connections, const
char* bus_name, const
char *object_path);
1241 int bt_socket_listen(
int socket_fd,
int max_pending_connections);
1266 int bt_socket_accept(
int requested_socket_fd);
1291 int bt_socket_reject(
int socket_fd);
1336 int transfer_id,
unsigned char *progress);
1363 int bt_ag_notify_call_event(
bt_ag_call_event_e event,
unsigned int call_id, const
char *phone_number);
1409 int bt_ag_notify_voice_recognition_state(
bool state);
1446 int bt_ag_unset_call_handling_event_cb(
void);
1483 int bt_ag_unset_multi_call_handling_event_cb(
void);
1520 int bt_ag_unset_dtmf_transmitted_cb(
void);
1539 int bt_ag_is_nrec_enabled(
bool *enabled);
1971 #ifdef GLIB_SUPPORTED 1972 int bt_hf_set_call_status_updated_event_cb(bt_hf_call_status_updated_event_cb callback,
void *user_data);
2097 #ifdef GLIB_SUPPORTED 2098 int bt_hf_get_call_status_info_list(GSList **call_list);
2115 #ifdef GLIB_SUPPORTED 2116 int bt_hf_free_call_status_info_list(GSList *call_list);
2221 int bt_gatt_get_uuid_specification_name(
const char *uuid,
char **name);
2327 int bt_nap_activate(
void);
2348 int bt_nap_deactivate(
void);
2368 int bt_nap_disconnect_all(
void);
2389 int bt_nap_disconnect(
const char *remote_address);
2428 int bt_nap_unset_connection_state_changed_cb(
void);
2467 int bt_panu_unset_connection_state_changed_cb(
void);
2519 int bt_panu_disconnect(
const char *remote_address);
2537 int bt_device_le_conn_update(
const char *device_address,
2559 int bt_adapter_get_bonded_device_is_alias_set(
const char *remote_address,
bool *is_alias_set);
2757 const char *data,
unsigned int data_len);
2781 unsigned char report_id,
const char *data,
unsigned int data_len);
3575 unsigned char report_id,
const char *data,
unsigned int data_len);
3996 int bt_adapter_le_scan_filter_unset_proximity_uuid(
bt_scan_filter_h scan_filter) TIZEN_DEPRECATED_API;
4018 int bt_tds_provider_register(
void);
4041 int bt_tds_provider_unregister(
void);
4067 int bt_tds_provider_create(bt_tds_provider_h *provider, bt_tds_transport_e transport);
4092 int bt_tds_provider_destroy(bt_tds_provider_h provider);
4120 int bt_tds_provider_set_transport_data(bt_tds_provider_h provider,
4146 int bt_tds_provider_set_manufacturer_data(
unsigned char *buf,
int length);
4177 int bt_tds_provider_send_activation_resp(
char *address,
int result, bt_tds_provider_h provider);
4202 int bt_tds_set_transport_activation_requested_cb(
4203 bt_tds_activation_requested_cb callback,
void *user_data);
4221 int bt_tds_unset_transport_activation_requested_cb(
void);
4227 int bt_tds_start_seeking_providers(bt_tds_provider_scan_result_cb cb,
void *user_data);
4233 int bt_tds_stop_seeking_providers(
void);
4239 int bt_tds_seeker_create(
const char *remote_address,
bt_tds_seeker_h *seeker);
4251 int bt_tds_seeker_set_connection_state_changed_cb(
bt_tds_seeker_h seeker,
4252 bt_tds_seeker_connection_state_changed_cb callback,
void *user_data);
4258 int bt_tds_seeker_unset_connection_state_changed_cb(
bt_tds_seeker_h seeker);
4276 int bt_tds_seeker_get_complete_transport_blocks(
bt_tds_seeker_h seeker,
4277 bt_tds_seeker_complete_transport_data_cb callback,
void *user_data);
4284 bt_tds_transport_e transport,
unsigned char *buffer,
int len,
4285 bt_tds_control_point_activation_indication_cb callback,
void *user_data);
4315 int bt_otp_client_create(
const char *remote_address,
bt_otp_client_h *otp_client);
4327 int bt_otp_client_set_connection_state_changed_cb(
bt_otp_client_h otp_client,
4328 bt_otp_client_state_changed_cb callback,
void *user_data);
4334 int bt_otp_client_unset_connection_state_changed_cb(
bt_otp_client_h otp_client);
4353 bt_otp_client_object_discovery_cb callback,
void *user_data);
4359 int bt_otp_client_select_object(
bt_otp_client_h otp_client,
unsigned long long id,
4360 bt_otp_client_object_select_cb callback,
void *user_data);
4366 bt_otp_client_read_object_complete_cb callback,
void *user_data);
4372 const char *file_path,
4373 bt_otp_client_object_create_cb callback,
4380 const char *file_path,
4381 int offset,
int length,
int mode,
4382 bt_otp_client_object_write_cb callback,
4389 bt_otp_client_object_execute_cb callback,
4396 bt_otp_client_object_delete_cb callback,
4405 int bt_hrp_sensor_set_heartrate_value(
int heartrate);
4411 int bt_hrp_sensor_set_location_value(bt_body_sensor_location_e location);
4417 int bt_hrp_sensor_set_energy_value(
int energy_value);
4424 int bt_hrp_sensor_set_rr_interval(
int interval);
4431 int bt_hrp_sensor_set_contact_value(
bool enable);
4437 int bt_hrp_sensor_set_device_manufacturer_name(
char *manuf_name);
4444 int bt_hrp_sensor_create(
void);
4451 int bt_hrp_sensor_destroy(
void);
4458 int bt_hrp_collector_create(
const char *remote_address,
4459 bt_hrp_collector_h *collector);
4465 int bt_hrp_collector_destory(bt_hrp_collector_h collector);
4477 int bt_hrp_collector_stop_scan(
void);
4483 int bt_hrp_collector_connect(bt_hrp_collector_h collector);
4489 int bt_hrp_collector_disconnect(bt_hrp_collector_h collector);
4495 int bt_hrp_collector_set_notification(bt_hrp_collector_h collector,
4504 int bt_hrp_collector_get_body_sensor_location(bt_hrp_collector_h collector,
4513 int bt_hrp_collector_set_connection_state_changed_cb(bt_hrp_collector_h collector,
4514 bt_hrp_collector_connection_state_changed_cb callback,
4522 int bt_hrp_collector_unset_connection_state_changed_cb(bt_hrp_collector_h collector);
void(* bt_hf_multi_call_handling_event_cb)(bt_hf_multi_call_handling_event_e event, void *user_data)
Called when a multi call handling event happened from Hands-Free. .
int bt_dpm_is_device_restriction_active(bt_dpm_status_e *value)
Reads the Restriction for device. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_is_connected(bool *connected)
Gets the HF(Hands-Free) profile connected status for HF role. .
bt_adapter_le_state_e
Enumerations of the Bluetooth adapter le state. 2.3.
int bt_dpm_clear_uuids_from_whitelist(void)
Clears the uuids from whitelist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_avrcp_control_send_delay_report(unsigned int value)
Sends the delay report to the remote device. 5.0 platform http://tizen.org/privilege/bluetooth.admin.
bt_dpm_allow_e
Called when a call status updated event happened from Hands-Free. .
int bt_adapter_set_authentication_req_cb(bt_adapter_authentication_req_cb callback, void *user_data)
Registers a callback function that will be invoked when remote device requests authentication.
int bt_proximity_monitor_set_immediate_alert(bt_proximity_monitor_h monitor, int value)
Set the Proximity Profile monitor immediate alert value. 4.0 public http://tizen.org/privilege/bluetooth.
void(* bt_adapter_manufacturer_data_changed_cb)(char *data, int len, void *user_data)
Called when the manufacturer dat changes. 2.3.
bt_audio_role_e
Enumerations of the Bluetooth A2DP role. 4.0.
bt_hf_call_event_e
Enumerations for the call state .
int bt_dpm_activate_uuid_restriction(bt_dpm_status_e value)
Sets the Restriction for uuid. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
void(* bt_ag_call_handling_event_cb)(bt_ag_call_handling_event_e event, unsigned int call_id, void *user_data)
Called when a call handling event happened from Hands-Free. 2.3.
int bt_adapter_passkey_confirmation_reply(bool confirmation_reply)
API to reply to the PASSKEY confirmation for on-going pairing with remote device. ...
int bt_proximity_monitor_disconnect(bt_proximity_monitor_h monitor)
Proximity Monitor disconnects with the remote reporter device. 4.0 public http://tizen.org/privilege/bluetooth.
void * bt_advertiser_h
The handle to control Bluetooth LE advertising. 2.3.
void * bt_proximity_reporter_h
The handle of a Proximity Reporter server. 4.0.
void(* bt_hrp_collector_heart_rate_value_changed_cb)(bt_gatt_client_h characteristic, unsigned short hr_value, void *user_data)
Called when a value of a watched characteristic's GATT handle has been changed in HRP...
int bt_dpm_get_devices_from_whitelist(bt_dpm_device_list_s **device_list)
Reads the devices from whitelist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_proximity_reporter_get_linkloss_alert(const char *remote_address, int *value)
Read the Proximity Profile reporter linkloss alert value. 4.0 public http://tizen.org/privilege/bluetooth.
void(* bt_hf_remote_call_event_cb)(bt_hf_remote_call_event_e event, char *phone_number, void *user_data)
Called when a call event happend from Audio-Gateway device .
int bt_dpm_get_limited_discoverable_state(bt_dpm_status_e *value)
Reads the Restriction for limited discoverable mode. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
void(* bt_avrcp_delay_changed_cb)(unsigned int delay, void *user_data)
Called when the delay is changed by the remote device. 5.0.
void * bt_call_list_h
The handle of calls state. 2.3.
bt_device_address_type_e
Enumerations of device address type. 2.3.
int bt_proximity_monitor_unset_connection_state_changed_cb(bt_proximity_monitor_h monitor)
Unsets proximity monitor connection state changed event change callback. 4.0 public http://tizen...
int bt_dpm_set_pairing_state(bt_dpm_status_e value)
Sets the Restriction for pairing. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_ag_is_connected(bool *connected)
Gets the HF(Hands-Free) profile connected status for AG role. 2.4.
int bt_dpm_set_profile_state(bt_dpm_profile_e profile, bt_dpm_status_e value)
Sets the Restriction for profiles. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
bt_avrcp_player_command_e
Enumeration for the player control commands. 3.0.
int bt_hf_set_remote_call_event_cb(bt_hf_remote_call_event_cb callback, void *user_data)
Registers a callback function that will be invoked when a call event happend from Audio-Gateway devic...
int bt_proximity_reporter_create(bt_proximity_reporter_h *reporter)
Creates the Proximity Profile Reporter Role. 4.0 public http://tizen.org/privilege/bluetooth.
int bt_proximity_reporter_get_immediate_alert(const char *remote_address, int *value)
Read the Proximity Profile reporter immediate alert value. 4.0 public http://tizen.org/privilege/bluetooth.
int bt_a2dp_source_audio_unset_connection_state_changed_cb(void)
Unregisters a callback function that will be invoked when the A2DP Source connection state is changed...
int bt_device_request_att_mtu(const char *remote_address, unsigned int mtu) TIZEN_DEPRECATED_API
Request to change ATT MTU value 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_dpm_add_devices_to_whitelist(const char *device_address)
Adds the device to whitelist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hid_device_send_custom_event(const char *remote_address, unsigned char report_id, const char *data, unsigned int data_len)
Sends the custom event data. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_unset_speaker_gain_changed_cb(void)
Unregisters a callback function that will be invoked when the speaker gain of the remote device is ch...
int bt_proximity_monitor_create(const char *remote_address, bt_proximity_monitor_h *monitor)
Creates the Proximity Profile Monitor Role. 4.0 public http://tizen.org/privilege/bluetooth.
int bt_audio_select_role(bt_audio_role_e role)
A2DP source/sink role is switched using this API 4.0.
int bt_hf_initialize(void)
Initializes the Bluetooth HF profile related with audio. .
int bt_proximity_reporter_unset_property_changed_cb(bt_proximity_reporter_h reporter)
Unsets proximity reporter properties change callback. 4.0 public http://tizen.org/privilege/blueto...
bt_dpm_profile_e
DPM Profile states 3.0.
void(* bt_adapter_le_state_changed_cb)(int result, bt_adapter_le_state_e adapter_le_state, void *user_data)
Called when the Bluetooth adapter le state changes. 2.3.
int bt_ag_switch_headset(const char *remote_addr)
Switch between the connected headsets for AG role. 3.0.
int bt_avrcp_control_send_player_command_to(bt_avrcp_player_command_e cmd, char *remote_address)
Sends a command to the target device. 5.5 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_deinitialize(void)
Deinitializes the Bluetooth HF profile related with audio. .
void * bt_tds_seeker_h
The handle of a TDS Seeker client which is associated with a remote TDS provider 3...
int bt_proximity_reporter_unset_connection_state_changed_cb(bt_proximity_reporter_h reporter)
Unsets proximity reporter connection state changed event change callback. 4.0 public http://tizen...
int bt_gatt_destroy(bt_gatt_h gatt_handle)
Destroys the GATT handle 2.4.
int bt_hid_device_set_data_received_cb(bt_hid_device_data_received_cb callback, void *user_data)
Sets the callback when device gets some data from HID Host. 2.3.1.
The structure type containing the HID keyboard event information.
void(* bt_hid_device_data_received_cb)(const bt_hid_device_received_data_s *data, void *user_data)
Called when the HID Device receives data from the HID Host.
int bt_ag_is_wbs_mode(bool *wbs_mode)
Checks whether the remoted device is wbs (Wide Band Speech) mode or not. .
int bt_hf_set_speaker_gain_changed_cb(bt_hf_speaker_gain_changed_cb callback, void *user_data)
Registers a callback function that will be invoked when the speaker gain of the remote device is chan...
int bt_hf_notify_call_event(bt_hf_call_event_e event, char *phone_number)
Notifies the call event to the remote bluetooth device. platform http://tizen.org/privilege/blueto...
int bt_dpm_activate_device_restriction(bt_dpm_status_e value)
Sets the Restriction for device. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
void(* bt_hf_sco_state_changed_cb)(int result, bool opened, void *user_data)
Called when the SCO(Synchronous Connection Oriented link) state is changed. .
void * bt_gatt_h
The handle of a service, characteristic or descriptor. 2.3.1.
int bt_hid_device_unset_data_received_cb(void)
Unsets the callback when device gets some data from HID Host. 2.3.1.
void(* bt_hid_device_connection_state_changed_cb)(int result, bool connected, const char *remote_address, void *user_data)
Called when the Bluetooth HID Device connection state changes.
int bt_dpm_add_uuids_to_whitelist(const char *service_uuid)
Adds the uuid to whitelist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_unset_sco_state_changed_cb(void)
Unregisters a callback function that will be invoked when the SCO(Synchronous Connection Oriented lin...
int bt_hf_is_inband_ringtone_supported(bool *supported)
Checks whether the remote AG device supports inband ringtone or not. .
int bt_avrcp_set_delay_changed_cb(bt_avrcp_delay_changed_cb callback, void *user_data)
Registers a callback function that will be invoked when the delay is changed. 5.0.
int bt_dpm_remove_device_from_blacklist(const char *device_address)
Removes the devices from blacklist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_request_call_status_info_list(void)
Gets the call status information list. .
int bt_gatt_set_permissions(bt_gatt_h gatt_handle, int permissions)
Updates the permissions which a characteristic or descriptor's GATT handle has. 3.0.
void(* bt_proximity_monitor_connection_state_changed_cb)(int result, const char *remote_address, bt_proximity_monitor_h monitor, bool connected, int supported_service, void *user_data)
Called when the Proximity monitor profile connection state is changed. 4.0.
int bt_hf_unset_remote_call_event_cb(void)
Unregisters a callback function. 3.0.
int bt_dpm_get_allow_outgoing_call(bt_dpm_status_e *value)
Reads the Restriction for outgoing call. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
void(* bt_audio_connection_state_changed_cb)(int result, bool connected, const char *remote_address, bt_audio_profile_type_e type, void *user_data)
Called when the connection state is changed.
int bt_otp_server_initialize(const char *directory)
Starts OTP server on the given directory location.
int bt_a2dp_source_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 A2DP Source connection state is changed...
int bt_gatt_characteristic_set_properties(bt_gatt_h characteristic, int properties)
Updates the properties which a characteristic's GATT handle has. 3.0.
Device LE connection update structure. 2.3.
int bt_dpm_get_allow_bluetooth_mode(bt_dpm_allow_e *value)
Reads Restriction for BT mode(BT allowed or not). 3.0 platform http://tizen.org/privilege/bluetoot...
void(* bt_hrp_collector_scan_result_cb)(int result, bt_adapter_le_device_scan_result_info_s *info, void *user_data)
Called when the LE advertisement callback for HRP sensor has been found. 4.0.
int bt_hid_device_send_key_event(const char *remote_address, const bt_hid_key_data_s *key_data)
Sends the keyboard event data. 2.3.1 platform http://tizen.org/privilege/bluetooth.admin.
int bt_dpm_get_data_transfer_state(bt_dpm_status_e *value)
Reads the Restriction for Data transfer. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
bt_hid_header_type_e
Enumerations of the Bluetooth HID header type. .
int bt_hf_send_dtmf(char *dtmf)
Sends the DTMF(Dual Tone Multi Frequency). platform http://tizen.org/privilege/bluetooth.admin.
int bt_dpm_clear_devices_from_blacklist(void)
Clears the device from blacklist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
void(* bt_hf_call_handling_event_cb)(bt_hf_call_handling_event_e event, char *phone_number, void *user_data)
Called when a call handling event happened from Hands-Free. .
void(* bt_adapter_connectable_changed_cb)(int result, bool connectable, void *user_data)
Called when the connectable state changes. 2.3.
int bt_adapter_le_set_remote_oob_ext_data(const char *remote_address, bt_device_address_type_e address_type, const unsigned char *hash256, const unsigned char *randomizer256, int hash256_len, int randomizer256_len)
Sets the Hash and Randomizer value, synchronously for LE OOB pairing. 4.0 platform http://tizen...
int bt_hid_device_deactivate(void)
Unregisters the method for HID Device role 2.3.1 platform http://tizen.org/privilege/bluetooth.admin.
int bt_avrcp_control_decrease_volume(void)
Sends the volume down request to the remote device. 5.0 platform http://tizen.org/privilege/blueto...
int bt_dpm_remove_device_from_whitelist(const char *device_address)
Removes the devices from whitelist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_get_codec_id(unsigned int *codec_id)
Gets the codec ID. .
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 the reports from HID Host. 2.3.1 platform http://tizen.org/privilege/bluetooth.admin.
int bt_avrcp_control_increase_volume(void)
Sends the volume up request to the remote device. 5.0 platform http://tizen.org/privilege/bluetoot...
int bt_adapter_le_set_advertising_filter_policy(bt_advertiser_h advertiser, bt_adapter_le_advertising_filter_policy_e filter_policy)
Set advertising filter policy to use white list 2.4 public http://tizen.org/privilege/bluetooth.
int bt_dpm_get_devices_from_blacklist(bt_dpm_device_list_s **device_list)
Reads the devices from blacklist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_dpm_get_profile_state(bt_dpm_profile_e profile, bt_dpm_status_e *value)
Reads the Restriction for profiles. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_ag_unset_vendor_cmd_cb(void)
Unregisters a callback function that will be invoked when a XSATvendor AT command is transmitted from...
bt_panu_service_type_e
Enumerations for the types of PAN (Personal Area Networking) service. 2.3.
int bt_otp_server_deinitialize(void)
Stops OTP server.
bt_ag_call_event_e
Enumerations for the call state 2.3.
int bt_proximity_monitor_get_linkloss_alert(bt_proximity_monitor_h monitor, int *value)
Read the Proximity Profile monitor linkloss alert value. 4.0 public http://tizen.org/privilege/bluetooth.
int bt_proximity_monitor_get_immediate_alert(bt_proximity_monitor_h monitor, int *value)
Read the Proximity Profile monitor immediate alert value. 4.0 public http://tizen.org/privilege/bluetooth.
int bt_hf_is_sco_opened(bool *opened)
Checks whether an opened SCO(Synchronous Connection Oriented link) exists or not. ...
int bt_dpm_remove_uuid_from_whitelist(const char *service_uuid)
Removes the uuids from whitelist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_unset_call_status_updated_event_cb(void)
Registers a callback function that will be invoked when a call status event happened from Hands-Free...
int bt_a2dp_set_content_protection(bool status)
Sets copy protection. streaming application that needs to have the copy protection for the streaming ...
void(* bt_device_trusted_profiles_cb)(int result, char *remote_address, int trusted_profile, bool supported, bool trusted, void *user_data)
Called when Trusted Profiles is changed. 3.0.
API to control the Bluetooth adapter, devices and communications.
int bt_dpm_get_desktop_connectivity_state(bt_dpm_status_e *value)
Reads the Restriction for desktop connectivity. 3.0 platform http://tizen.org/privilege/bluetooth...
int bt_dpm_set_allow_bluetooth_mode(bt_dpm_allow_e value)
Sets Restriction for BT mode(BT allowed or not). 3.0 platform http://tizen.org/privilege/bluetooth...
int bt_proximity_monitor_set_connection_state_changed_cb(bt_proximity_monitor_h monitor, bt_proximity_monitor_connection_state_changed_cb callback, void *user_data)
Sets proximity monitor connection state changed event change callback. 4.0 public http://tizen...
int bt_avrcp_unset_delay_changed_cb(void)
Unregisters a callback function that will be invoked when the delay is changed. 5.0.
int bt_proximity_monitor_get_signal_level(bt_proximity_monitor_h monitor, int *value)
Read the Proximity Profile monitor Signal level value. 4.0 public http://tizen.org/privilege/bluetooth.
void(* bt_device_att_mtu_changed_cb)(int result, bt_device_att_mtu_info_s *mtu_info, void *user_data)
Called when the connection state is changed. 3.0.
int bt_device_set_att_mtu_changed_cb(bt_device_att_mtu_changed_cb callback, void *user_data) TIZEN_DEPRECATED_API
Registers a callback function to be invoked when the ATT MTU is changed. 3.0.
int bt_dpm_set_data_transfer_state(bt_dpm_status_e value)
Sets the Restriction for Data transfer. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_unset_call_handling_event_cb(void)
Unregisters a callback function that will be invoked when a call handling event happened from Hands-F...
int bt_device_unset_att_mtu_changed_cb(void) TIZEN_DEPRECATED_API
Unregisters the callback function to be invoked when the ATT MTU is changed. 3.0.
void * bt_proximity_monitor_h
The handle of a Proximity Monitor client handle which is associated with a remote device...
int bt_dpm_add_uuids_to_blacklist(const char *service_uuid)
Adds the uuids to blacklist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_proximity_reporter_set_property_changed_cb(bt_proximity_reporter_h reporter, bt_proximity_reporter_property_changed_cb callback, void *user_data)
Sets proximity reporter properties change callback. 4.0 public http://tizen.org/privilege/bluetoot...
int bt_dpm_get_discoverable_state(bt_dpm_status_e *value)
Reads the Restriction for discoverable mode. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hf_set_sco_state_changed_cb(bt_hf_sco_state_changed_cb callback, void *user_data)
Registers a callback function that will be invoked when the SCO(Synchronous Connection Oriented link)...
int bt_dpm_set_discoverable_state(bt_dpm_status_e value)
Sets the Restriction for discoverable mode. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_otp_set_server_state_changed_cb(bt_otp_server_state_changed_cb callback, void *user_data)
Registers a callback function that will be invoked when the server state is changed.
void(* bt_proximity_reporter_property_changed_cb)(int result, const char *remote_address, int service_type, int prop_value, void *user_data)
Called when the Proximity profile reporter property is changed. 4.0.
int bt_dpm_get_pairing_state(bt_dpm_status_e *value)
Reads the Restriction for pairing. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_hid_device_disconnect(const char *remote_address)
Disconnects the connection with HID Host device, asynchronously. 2.3.1 platform http://tizen...
int bt_hf_set_call_handling_event_cb(bt_hf_call_handling_event_cb callback, void *user_data)
Registers a callback function that will be invoked when a call handling event happened from Hands-Fre...
int bt_proximity_monitor_connect(bt_proximity_monitor_h monitor)
Proximity Monitor initiates the connection to remote reporter device. 4.0 public http://tizen...
void(* bt_nap_connection_state_changed_cb)(bool connected, const char *remote_address, const char *interface_name, void *user_data)
Called when the connection state is changed. 2.3.
int bt_hid_device_send_mouse_event(const char *remote_address, const bt_hid_mouse_data_s *mouse_data)
Sends the mouse event data. 2.3.1 platform http://tizen.org/privilege/bluetooth.admin.
void(* bt_hrp_collector_bsl_read_completed_cb)(int result, bt_hrp_collector_h request_handle, bt_body_sensor_location_e location, void *user_data)
Called when the client request read operation on body sensor location has been completed. 4.
int bt_avrcp_control_set_absolute_volume(unsigned int value)
Sends the volume change request to the remote device. 4.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_proximity_reporter_destroy(bt_proximity_reporter_h reporter)
Destroys the Proximity Profile Reporter Role. 4.0 public http://tizen.org/privilege/bluetooth.
int bt_hf_notify_speaker_gain(int gain)
Notifies the speaker gain to the remote device. platform http://tizen.org/privilege/bluetooth.admin.
int bt_hid_device_activate(bt_hid_device_connection_state_changed_cb callback, void *user_data)
Registers the method for HID Device role 2.3.1 platform http://tizen.org/privilege/bluetooth.admin.
bt_opp_transfer_type_t
Enumerations for the transfer type 3.0.
int bt_dpm_clear_uuids_from_blacklist(void)
Clears the uuids from blacklist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_pbap_client_is_connected(const char *address, bool *connected_status)
Gets the pbap connected status. 3.0.
bt_device_connection_link_type_e
Enumerations of connection link type. 2.3.
The structure type containing the HID mouse event information. .
int bt_proximity_monitor_set_linkloss_alert(bt_proximity_monitor_h monitor, int value)
Set the Proximity Profile monitor linkloss alert value. 4.0 public http://tizen.org/privilege/bluetooth.
int bt_hf_set_multi_call_handling_event_cb(bt_hf_multi_call_handling_event_cb callback, void *user_data)
Registers a callback function that will be invoked when a multi call handling event happened from Han...
int bt_hf_notify_voice_recognition_state(bool state)
Notifies the state of voice recognition. platform http://tizen.org/privilege/bluetooth.admin.
void(* bt_ag_dtmf_transmitted_cb)(const char *dtmf, void *user_data)
Called when a DTMF (Dual Tone Multi Frequency) is transmitted from Hands-Free. 2.3.
int bt_dpm_set_desktop_connectivity_state(bt_dpm_status_e value)
Sets the Restriction for desktop connectivity. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
void(* bt_hf_speaker_gain_changed_cb)(int gain, void *user_data)
Called when the speaker gain of the remote device is changed. .
int bt_dpm_set_limited_discoverable_state(bt_dpm_status_e value)
Sets the Restriction for limited discoverable mode. 3.0 platform http://tizen.org/privilege/blueto...
int bt_hf_close_sco(void)
Closes an opened SCO(Synchronous Connection Oriented link), synchronously. platform http://tizen...
int bt_device_get_att_mtu(const char *remote_address, unsigned int *mtu) TIZEN_DEPRECATED_API
Gets the ATT MTU value set for a connection 3.0 platform http://tizen.org/privilege/bluetooth.admin.
bt_restricted_profile_t
Restricted Profile enumeration. 3.0.
bt_ag_call_state_e
Enumerations for the call state 2.3.
int bt_adapter_passkey_reply(char *passkey, bool authentication_reply)
API to reply with PIN or PASSKEY with authentication type - TRUE or FALSE.
void(* bt_ag_vendor_cmd_cb)(char *command, void *user_data)
Called when a XSAT vendor command is transmitted from Hands-Free. 2.3.
int bt_hid_device_connect(const char *remote_address)
Initiates HID device Connection with device role, asynchronously. 2.3.1 platform http://tizen...
int bt_dpm_set_allow_outgoing_call(bt_dpm_status_e value)
Sets the Restriction for outgoing call. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_dpm_get_uuids_from_whitelist(bt_dpm_uuids_list_s **uuid_list)
Reads the uuids from whitelist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
void * bt_scan_filter_h
The handle of a Bluetooth LE scan filter. 4.0.
void * bt_otp_client_h
The handle of a OTP client which is associated with a remote OTP Server 4.0.
void(* bt_panu_connection_state_changed_cb)(int result, bool connected, const char *remote_address, bt_panu_service_type_e type, void *user_data)
Called when the connection state is changed.
int bt_proximity_monitor_destroy(bt_proximity_monitor_h monitor)
Creates the Proximity Profile Monitor Role. 4.0 public http://tizen.org/privilege/bluetooth.
int bt_dpm_clear_devices_from_whitelist(void)
Clears the device from whitelist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_dpm_get_uuids_from_blacklist(bt_dpm_uuids_list_s **uuid_list)
Reads the uuids from blacklist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
bt_hid_param_type_e
Enumerations of the Bluetooth HID parameter type. .
bt_dpm_status_e
DPM Policy status 3.0.
void(* bt_proximity_reporter_connection_state_changed_cb)(int result, const char *remote_address, bt_proximity_reporter_h reporter, bool connected, int supported_service, void *user_data)
Called when the Proximity reporter profile connection state is changed. 4.0.
bt_trusted_profile_t
Trusted Profile enumeration. 3.0.
int bt_ag_set_vendor_cmd_cb(bt_ag_vendor_cmd_cb callback, void *user_data)
Registers a callback function that will be invoked when a XSATvendor AT command is transmitted from H...
int bt_otp_unset_server_state_changed_cb(void)
Registers a callback function that will be invoked when the server state is changed.
int bt_proximity_reporter_set_connection_state_changed_cb(bt_proximity_reporter_h reporter, bt_proximity_reporter_connection_state_changed_cb callback, void *user_data)
Sets proximity reporter connection state changed event change callback. 4.0 public http://tizen...
int bt_adapter_unset_authentication_req_cb(void)
Unregisters a callback function that will be invoked when remote device requests authentication.
void(* bt_ag_multi_call_handling_event_cb)(bt_ag_multi_call_handling_event_e event, void *user_data)
Called when a multi call handling event happened from Hands-Free. 2.3.
int bt_hf_unset_multi_call_handling_event_cb(void)
Unregisters a callback function that will be invoked when a multi call handling event happened from H...
void(* bt_opp_server_push_requested_cb)(const char *file, int size, void *user_data)
Called when the push is requested. 2.3.
bt_adapter_visibility_mode_e
Enumerations of the Bluetooth visibility mode. 2.3.
int bt_dpm_is_uuid_restriction_active(bt_dpm_status_e *value)
Reads the Restriction for uuid. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
int bt_dpm_add_devices_to_blacklist(const char *device_address)
Adds the device to blacklist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.
bt_adapter_le_advertising_filter_policy_e
Enumerations of the Bluetooth advertising filter policy. 2.3.
int bt_dpm_remove_uuid_from_blacklist(const char *service_uuid)
Removes the uuids from blacklist. 3.0 platform http://tizen.org/privilege/bluetooth.admin.