TizenRT Public API
v2.0 M2
|
Go to the source code of this file.
Data Structures | |
struct | bt_map_client_list_folders_filter_s |
struct | bt_map_client_list_messages_filter_s |
struct | bt_map_client_message_item_s |
struct | bt_map_client_push_message_args_s |
struct | bt_map_client_message_s |
struct | bt_hf_call_status_info_s |
HF Call status information. . More... | |
struct | bt_le_conn_update_s |
Device LE connection update structure. 2.3. More... | |
struct | bt_dpm_device_list_s |
struct | bt_dpm_uuids_list_s |
struct | bt_manufacturer_data |
struct | bt_device_att_mtu_info_s |
Attribute protocol MTU change information structure. 3.0. More... | |
struct | tds_transport_data_s |
struct | bt_tds_transport_block_list_s |
struct | bt_hf_vendor_dep_at_cmd_s |
Samsung XSAT Vendor dependent command. 2.3.2. More... | |
struct | otp_object_metadata_s |
struct | bt_otp_object_list_s |
Macros | |
#define | BT_SC_MAP_SERVICE_MASK 0x00800000 |
Typedefs | |
typedef 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. More... | |
typedef void(* | bt_avrcp_delay_changed_cb) (unsigned int delay, void *user_data) |
Called when the delay is changed by the remote device. 5.0. More... | |
typedef void * | bt_map_client_session_info_h |
3.0 More... | |
typedef void(* | bt_adapter_connectable_changed_cb) (int result, bool connectable, void *user_data) |
Called when the connectable state changes. 2.3. More... | |
typedef void(* | bt_opp_server_push_requested_cb) (const char *file, int size, void *user_data) |
Called when the push is requested. 2.3. More... | |
typedef void(* | bt_adapter_manufacturer_data_changed_cb) (char *data, int len, void *user_data) |
Called when the manufacturer dat changes. 2.3. More... | |
typedef 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. . More... | |
typedef 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. . More... | |
typedef 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. . More... | |
typedef void(* | bt_hf_speaker_gain_changed_cb) (int gain, void *user_data) |
Called when the speaker gain of the remote device is changed. . More... | |
typedef 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. More... | |
typedef 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. More... | |
typedef void * | bt_proximity_monitor_h |
The handle of a Proximity Monitor client handle which is associated with a remote device. 4.0. More... | |
typedef void * | bt_proximity_reporter_h |
The handle of a Proximity Reporter server. 4.0. More... | |
typedef 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. More... | |
typedef 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. More... | |
typedef 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. More... | |
typedef 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 . More... | |
typedef void(* | bt_ag_vendor_cmd_cb) (char *command, void *user_data) |
Called when a XSAT vendor command is transmitted from Hands-Free. 2.3. More... | |
typedef void * | bt_tds_seeker_h |
The handle of a TDS Seeker client which is associated with a remote TDS provider 3.0. More... | |
typedef void * | bt_otp_client_h |
The handle of a OTP client which is associated with a remote OTP Server 4.0. More... | |
typedef 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. 2.3.1. More... | |
typedef 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. More... | |
typedef 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. More... | |
Enumerations |
#define BT_SC_MAP_SERVICE_MASK 0x00800000 |
MAP service class
Definition at line 30 of file bluetooth_type_internal.h.
typedef void(* bt_adapter_connectable_changed_cb) (int result, bool connectable, void *user_data) |
Called when the connectable state changes. 2.3.
[in] | result | The result of the connectable state changing |
[in] | connectable | The connectable to be changed |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 323 of file bluetooth_type_internal.h.
typedef 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.
[in] | result | The result of the adapter state changing |
[in] | adapter_le_state | The adapter le state to be changed |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 126 of file bluetooth_type_internal.h.
typedef void(* bt_adapter_manufacturer_data_changed_cb) (char *data, int len, void *user_data) |
Called when the manufacturer dat changes. 2.3.
[in] | data | The manufacurer data of the Bluetooth device to be changed |
[in] | len | The length of data |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 431 of file bluetooth_type_internal.h.
typedef void(* bt_ag_vendor_cmd_cb) (char *command, void *user_data) |
Called when a XSAT vendor command is transmitted from Hands-Free. 2.3.
[in] | command | The XSAT vendor command transmitted from Hands-Free |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 932 of file bluetooth_type_internal.h.
typedef void(* bt_avrcp_delay_changed_cb) (unsigned int delay, void *user_data) |
Called when the delay is changed by the remote device. 5.0.
[in] | delay | Streaming delay in milliseconds. |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 137 of file bluetooth_type_internal.h.
typedef 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.
[in] | connected | The connection status: (true = connected, false = disconnected) |
[in] | conn_info | The connection information |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 755 of file bluetooth_type_internal.h.
typedef 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.
[in] | result | The result of supported profile callback |
[in] | remote_address | Address of remote device |
[in] | trusted_profiles | Trusted profile FLAG |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 727 of file bluetooth_type_internal.h.
typedef 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. .
[in] | event | The call handling event happened from Hands-Free |
[in] | call_id | The call ID |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 477 of file bluetooth_type_internal.h.
typedef 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. .
[in] | event | The call handling event happened from Hands-Free |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 489 of file bluetooth_type_internal.h.
typedef 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 .
[in] | event | The call state chagned event from remote Audio-Gateway device |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 920 of file bluetooth_type_internal.h.
typedef 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. .
This callback is called when the SCO state is changed. When you call bt_ag_open_sco() or bt_ag_close_sco(), this callback is also called with error result even though these functions failed.
[in] | result | The result of changing the connection state |
[in] | opened | The state to be changed: (true = opened, false = not opened) |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 464 of file bluetooth_type_internal.h.
typedef void(* bt_hf_speaker_gain_changed_cb) (int gain, void *user_data) |
Called when the speaker gain of the remote device is changed. .
[in] | gain | The gain of speaker (0 ~ 15) |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 501 of file bluetooth_type_internal.h.
typedef 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.
[in] | result | The result of a request |
[in] | request_handle | The requesting GATT handle |
[in] | type | : Heart Rate Value , Body Sensor Location or Heart Control Point |
[in] | value | : Int value corresponding to the type recieved . |
[in] | user_data | The user data passed from the requesting function |
Definition at line 1197 of file bluetooth_type_internal.h.
typedef 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. 2.3.1.
[in] | characteristic | The characteristic's GATT handle of which value change is informed. It has an old value. |
[in] | value | The new value |
[in] | len | The length of value |
[in] | user_data | The user data passed from the registering function |
Definition at line 1154 of file bluetooth_type_internal.h.
typedef 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.
[in] | result | The result of the LE scan |
[in] | info | The information of the found LE advertisement. |
[in] | user_data | The user data passed from the start function |
Definition at line 1182 of file bluetooth_type_internal.h.
typedef void* bt_map_client_session_info_h |
3.0
Definition at line 215 of file bluetooth_type_internal.h.
typedef void(* bt_opp_server_push_requested_cb) (const char *file, int size, void *user_data) |
Called when the push is requested. 2.3.
You must call bt_opp_server_accept() if you want to accept. Otherwise, you must call bt_opp_server_reject().
[in] | file | The path of file to be pushed |
[in] | size | The file size (bytes) |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 337 of file bluetooth_type_internal.h.
typedef void* bt_otp_client_h |
The handle of a OTP client which is associated with a remote OTP Server 4.0.
Definition at line 1010 of file bluetooth_type_internal.h.
typedef 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.
[in] | result | callback result |
[in] | remote_address | remote device address to which the device is connected |
[in] | monitor | proximity profile monitor handle |
[in] | connected | The connection status: (true = connected, false = disconnected) |
[in] | supported_service | supported services of proximity profile |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 802 of file bluetooth_type_internal.h.
typedef void* bt_proximity_monitor_h |
The handle of a Proximity Monitor client handle which is associated with a remote device. 4.0.
Definition at line 762 of file bluetooth_type_internal.h.
typedef 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.
[in] | result | callback result |
[in] | remote_address | remote device address to which the device is connected |
[in] | reporter | proximity profile reporter handle |
[in] | connected | The connection status: (true = connected, false = disconnected) |
[in] | supported_service | supported services of proximity profile |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 819 of file bluetooth_type_internal.h.
typedef void* bt_proximity_reporter_h |
The handle of a Proximity Reporter server. 4.0.
Definition at line 769 of file bluetooth_type_internal.h.
typedef 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.
[in] | result | callback result |
[in] | remote_address | remote device address on which property is changed |
[in] | service_type | The property type for which the value is changed |
[in] | prop_value | The property value changed |
[in] | user_data | The user data passed from the callback registration function |
Definition at line 785 of file bluetooth_type_internal.h.
typedef void* bt_tds_seeker_h |
The handle of a TDS Seeker client which is associated with a remote TDS provider 3.0.
Definition at line 961 of file bluetooth_type_internal.h.
Enumerations of the Bluetooth adapter le scan type. 2.3.
Definition at line 344 of file bluetooth_type_internal.h.
Enumerations of the Bluetooth adapter le state. 2.3.
Enumerator | |
---|---|
BT_ADAPTER_LE_DISABLED |
Bluetooth le is disabled |
BT_ADAPTER_LE_ENABLED |
Bluetooth le is enabled |
Definition at line 58 of file bluetooth_type_internal.h.
enum bt_ag_call_event_e |
Enumerations for the call state 2.3.
Definition at line 144 of file bluetooth_type_internal.h.
enum bt_ag_call_state_e |
Enumerations for the call state 2.3.
Definition at line 159 of file bluetooth_type_internal.h.
enum bt_att_error_e |
Enumerations of the ATT error codes. 4.0.
Definition at line 68 of file bluetooth_type_internal.h.
enum bt_audio_role_e |
Enumerations of the Bluetooth A2DP role. 4.0.
Definition at line 205 of file bluetooth_type_internal.h.
Enumerations of the authentication event types. 3.0.
Definition at line 687 of file bluetooth_type_internal.h.
enum bt_dpm_allow_e |
Called when a call status updated event happened from Hands-Free. .
[in] | event | The call handling event happened from Hands-Free |
[in] | call_id | The call ID |
[in] | user_data | The user data passed from the callback registration function |
DPM BT allowance state 3.0
Definition at line 526 of file bluetooth_type_internal.h.
enum bt_dpm_profile_e |
DPM Profile states 3.0.
Definition at line 556 of file bluetooth_type_internal.h.
enum bt_dpm_status_e |
DPM Policy status 3.0.
Definition at line 538 of file bluetooth_type_internal.h.
enum bt_hf_call_event_e |
Enumerations for the call state .
Definition at line 389 of file bluetooth_type_internal.h.
Enumerations for the call handling event .
Definition at line 354 of file bluetooth_type_internal.h.
Enumerations for the multi call handling event .
Definition at line 376 of file bluetooth_type_internal.h.
Enumerations for the call event from Audio-Gateway device .
Definition at line 174 of file bluetooth_type_internal.h.
Enumerations of the Bluetooth advertising state for HRP. 2.3.
Enumerator | |
---|---|
BT_HRP_SENSOR_ADVERTISING_STOPPED |
Bluetooth advertising is stopped |
BT_HRP_SENSOR_ADVERTISING_STARTED |
Bluetooth advertising is started |
Definition at line 1105 of file bluetooth_type_internal.h.
Enumerations for the transfer type 3.0.
Enumerator | |
---|---|
BT_TRANSFER_INBOUND |
Inbound Transfer Type |
BT_TRANSFER_OUTBOUND |
Outbound Transfer Type |
Definition at line 195 of file bluetooth_type_internal.h.
enum bt_otp_error_e |
Enumerations of the ATT error codes specific to OTP. 4.0.
Definition at line 104 of file bluetooth_type_internal.h.
Proximity Profile Role 3.0.
Definition at line 708 of file bluetooth_type_internal.h.
enum bt_proximity_role_t |
Proximity Profile Role 3.0.
Enumerator | |
---|---|
BT_PROXIMITY_REPORTER |
Proximity Profile Reporter role. |
BT_PROXIMITY_MONITOR |
Proximity Profile Monitor role. |
Definition at line 698 of file bluetooth_type_internal.h.
Restricted Profile enumeration. 3.0.
Definition at line 676 of file bluetooth_type_internal.h.
enum bt_serv_char_type_t |
type information structure ,define what type of reequest is made. 4.0
Definition at line 1165 of file bluetooth_type_internal.h.
Definition at line 827 of file bluetooth_type_internal.h.
enum bt_trusted_profile_t |
Trusted Profile enumeration. 3.0.
Definition at line 660 of file bluetooth_type_internal.h.