Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tbs.h
Go to the documentation of this file.
1
11#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_TBS_H_
12#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_TBS_H_
13
29#include <stdint.h>
30#include <stdbool.h>
31
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
44#define BT_TBS_CALL_STATE_INCOMING 0x00
49#define BT_TBS_CALL_STATE_DIALING 0x01
51#define BT_TBS_CALL_STATE_ALERTING 0x02
53#define BT_TBS_CALL_STATE_ACTIVE 0x03
58#define BT_TBS_CALL_STATE_LOCALLY_HELD 0x04
63#define BT_TBS_CALL_STATE_REMOTELY_HELD 0x05
65#define BT_TBS_CALL_STATE_LOCALLY_AND_REMOTELY_HELD 0x06
73#define BT_TBS_REASON_BAD_REMOTE_URI 0x00
75#define BT_TBS_REASON_CALL_FAILED 0x01
77#define BT_TBS_REASON_REMOTE_ENDED_CALL 0x02
79#define BT_TBS_REASON_SERVER_ENDED_CALL 0x03
81#define BT_TBS_REASON_LINE_BUSY 0x04
83#define BT_TBS_REASON_NETWORK_CONGESTED 0x05
85#define BT_TBS_REASON_CLIENT_TERMINATED 0x06
87#define BT_TBS_REASON_NO_SERVICE 0x07
89#define BT_TBS_REASON_NO_ANSWER 0x08
91#define BT_TBS_REASON_UNSPECIFIED 0x09
99#define BT_TBS_RESULT_CODE_SUCCESS 0x00
101#define BT_TBS_RESULT_CODE_OPCODE_NOT_SUPPORTED 0x01
103#define BT_TBS_RESULT_CODE_OPERATION_NOT_POSSIBLE 0x02
105#define BT_TBS_RESULT_CODE_INVALID_CALL_INDEX 0x03
110#define BT_TBS_RESULT_CODE_STATE_MISMATCH 0x04
112#define BT_TBS_RESULT_CODE_OUT_OF_RESOURCES 0x05
114#define BT_TBS_RESULT_CODE_INVALID_URI 0x06
125#define BT_TBS_FEATURE_HOLD BIT(0)
127#define BT_TBS_FEATURE_JOIN BIT(1)
135#define BT_TBS_SIGNAL_STRENGTH_NO_SERVICE 0
137#define BT_TBS_SIGNAL_STRENGTH_MAX 100
139#define BT_TBS_SIGNAL_STRENGTH_UNKNOWN 255
147#define BT_TBS_TECHNOLOGY_3G 0x01
149#define BT_TBS_TECHNOLOGY_4G 0x02
151#define BT_TBS_TECHNOLOGY_LTE 0x03
153#define BT_TBS_TECHNOLOGY_WIFI 0x04
155#define BT_TBS_TECHNOLOGY_5G 0x05
157#define BT_TBS_TECHNOLOGY_GSM 0x06
159#define BT_TBS_TECHNOLOGY_CDMA 0x07
161#define BT_TBS_TECHNOLOGY_2G 0x08
163#define BT_TBS_TECHNOLOGY_WCDMA 0x09
171#define BT_TBS_STATUS_FLAG_INBAND_RINGTONE BIT(0)
173#define BT_TBS_STATUS_FLAG_SILENT_MOD BIT(1)
181#define BT_TBS_CALL_FLAG_OUTGOING BIT(0)
183#define BT_TBS_CALL_FLAG_WITHHELD BIT(1)
185#define BT_TBS_CALL_FLAG_WITHHELD_BY_NETWORK BIT(2)
194#define BT_TBS_GTBS_INDEX 0xFF
195
197struct bt_tbs_instance;
198
209typedef bool (*bt_tbs_originate_call_cb)(struct bt_conn *conn,
210 uint8_t call_index,
211 const char *uri);
212
222typedef void (*bt_tbs_terminate_call_cb)(struct bt_conn *conn,
223 uint8_t call_index,
224 uint8_t reason);
225
233typedef void (*bt_tbs_join_calls_cb)(struct bt_conn *conn,
234 uint8_t call_index_count,
235 const uint8_t *call_indexes);
236
243typedef void (*bt_tbs_call_change_cb)(struct bt_conn *conn,
244 uint8_t call_index);
245
255typedef bool (*bt_tbs_authorize_cb)(struct bt_conn *conn);
256
262struct bt_tbs_cb {
277};
278
287int bt_tbs_accept(uint8_t call_index);
288
297int bt_tbs_hold(uint8_t call_index);
298
307int bt_tbs_retrieve(uint8_t call_index);
308
317int bt_tbs_terminate(uint8_t call_index);
318
330int bt_tbs_originate(uint8_t bearer_index, char *uri, uint8_t *call_index);
331
341int bt_tbs_join(uint8_t call_index_cnt, uint8_t *call_indexes);
342
352
362
372
382
394int bt_tbs_remote_incoming(uint8_t bearer_index, const char *to,
395 const char *from, const char *friendly_name);
396
407int bt_tbs_set_bearer_provider_name(uint8_t bearer_index, const char *name);
408
419int bt_tbs_set_bearer_technology(uint8_t bearer_index, uint8_t new_technology);
420
432 uint8_t new_signal_strength);
433
444int bt_tbs_set_status_flags(uint8_t bearer_index, uint16_t status_flags);
445
455int bt_tbs_set_uri_scheme_list(uint8_t bearer_index, const char **uri_list,
456 uint8_t uri_count);
463
466
475} __packed;
476
483};
484
495typedef void (*bt_tbs_client_discover_cb)(struct bt_conn *conn, int err,
496 uint8_t tbs_count, bool gtbs_found);
497
506typedef void (*bt_tbs_client_write_value_cb)(struct bt_conn *conn, int err,
507 uint8_t inst_index);
508
519typedef void (*bt_tbs_client_cp_cb)(struct bt_conn *conn, int err,
520 uint8_t inst_index, uint8_t call_index);
521
532typedef void (*bt_tbs_client_read_string_cb)(struct bt_conn *conn, int err,
533 uint8_t inst_index,
534 const char *value);
535
545typedef void (*bt_tbs_client_read_value_cb)(struct bt_conn *conn, int err,
546 uint8_t inst_index, uint32_t value);
547
558typedef void (*bt_tbs_client_termination_reason_cb)(struct bt_conn *conn,
559 int err, uint8_t inst_index,
560 uint8_t call_index,
561 uint8_t reason);
562
574typedef void (*bt_tbs_client_current_calls_cb)(struct bt_conn *conn, int err,
575 uint8_t inst_index,
576 uint8_t call_count,
577 const struct bt_tbs_client_call *calls);
578
590typedef void (*bt_tbs_client_call_states_cb)(struct bt_conn *conn, int err,
591 uint8_t inst_index,
592 uint8_t call_count,
593 const struct bt_tbs_client_call_state *call_states);
594
603#if defined(CONFIG_BT_TBS_CLIENT_ORIGINATE_CALL) || defined(__DOXYGEN__)
606#endif /* defined(CONFIG_BT_TBS_CLIENT_ORIGINATE_CALL) */
607#if defined(CONFIG_BT_TBS_CLIENT_TERMINATE_CALL) || defined(__DOXYGEN__)
610#endif /* defined(CONFIG_BT_TBS_CLIENT_TERMINATE_CALL) */
611#if defined(CONFIG_BT_TBS_CLIENT_HOLD_CALL) || defined(__DOXYGEN__)
614#endif /* defined(CONFIG_BT_TBS_CLIENT_HOLD_CALL) */
615#if defined(CONFIG_BT_TBS_CLIENT_ACCEPT_CALL) || defined(__DOXYGEN__)
618#endif /* defined(CONFIG_BT_TBS_CLIENT_ACCEPT_CALL) */
619#if defined(CONFIG_BT_TBS_CLIENT_RETRIEVE_CALL) || defined(__DOXYGEN__)
622#endif /* defined(CONFIG_BT_TBS_CLIENT_RETRIEVE_CALL) */
623#if defined(CONFIG_BT_TBS_CLIENT_JOIN_CALLS) || defined(__DOXYGEN__)
626#endif /* defined(CONFIG_BT_TBS_CLIENT_JOIN_CALLS) */
627#if defined(CONFIG_BT_TBS_CLIENT_BEARER_PROVIDER_NAME) || defined(__DOXYGEN__)
630#endif /* defined(CONFIG_BT_TBS_CLIENT_BEARER_PROVIDER_NAME) */
631#if defined(CONFIG_BT_TBS_CLIENT_BEARER_UCI) || defined(__DOXYGEN__)
634#endif /* defined(CONFIG_BT_TBS_CLIENT_BEARER_UCI) */
635#if defined(CONFIG_BT_TBS_CLIENT_BEARER_TECHNOLOGY) || defined(__DOXYGEN__)
638#endif /* defined(CONFIG_BT_TBS_CLIENT_BEARER_TECHNOLOGY) */
639#if defined(CONFIG_BT_TBS_CLIENT_BEARER_URI_SCHEMES_SUPPORTED_LIST) || defined(__DOXYGEN__)
642#endif /* defined(CONFIG_BT_TBS_CLIENT_BEARER_URI_SCHEMES_SUPPORTED_LIST) */
643#if defined(CONFIG_BT_TBS_CLIENT_BEARER_SIGNAL_STRENGTH) || defined(__DOXYGEN__)
646#endif /* defined(CONFIG_BT_TBS_CLIENT_BEARER_SIGNAL_STRENGTH) */
647#if defined(CONFIG_BT_TBS_CLIENT_READ_BEARER_SIGNAL_INTERVAL) || defined(__DOXYGEN__)
650#endif /* defined(CONFIG_BT_TBS_CLIENT_READ_BEARER_SIGNAL_INTERVAL) */
651#if defined(CONFIG_BT_TBS_CLIENT_BEARER_LIST_CURRENT_CALLS) || defined(__DOXYGEN__)
654#endif /* defined(CONFIG_BT_TBS_CLIENT_BEARER_LIST_CURRENT_CALLS) */
655#if defined(CONFIG_BT_TBS_CLIENT_CCID) || defined(__DOXYGEN__)
658#endif /* defined(CONFIG_BT_TBS_CLIENT_CCID) */
659#if defined(CONFIG_BT_TBS_CLIENT_INCOMING_URI) || defined(__DOXYGEN__)
662#endif /* defined(CONFIG_BT_TBS_CLIENT_INCOMING_URI) */
663#if defined(CONFIG_BT_TBS_CLIENT_STATUS_FLAGS) || defined(__DOXYGEN__)
666#endif /* defined(CONFIG_BT_TBS_CLIENT_STATUS_FLAGS) */
669#if defined(CONFIG_BT_TBS_CLIENT_OPTIONAL_OPCODES) || defined(__DOXYGEN__)
672#endif /* defined(CONFIG_BT_TBS_CLIENT_OPTIONAL_OPCODES) */
675#if defined(CONFIG_BT_TBS_CLIENT_INCOMING_CALL) || defined(__DOXYGEN__)
678#endif /* defined(CONFIG_BT_TBS_CLIENT_INCOMING_CALL) */
679#if defined(CONFIG_BT_TBS_CLIENT_CALL_FRIENDLY_NAME) || defined(__DOXYGEN__)
682#endif /* defined(CONFIG_BT_TBS_CLIENT_CALL_FRIENDLY_NAME) */
683};
684
693int bt_tbs_client_discover(struct bt_conn *conn);
694
704int bt_tbs_client_set_outgoing_uri(struct bt_conn *conn, uint8_t inst_index,
705 const char *uri);
706
720 uint8_t inst_index,
721 uint8_t interval);
722
735int bt_tbs_client_originate_call(struct bt_conn *conn, uint8_t inst_index,
736 const char *uri);
737
750int bt_tbs_client_terminate_call(struct bt_conn *conn, uint8_t inst_index,
751 uint8_t call_index);
752
765int bt_tbs_client_hold_call(struct bt_conn *conn, uint8_t inst_index,
766 uint8_t call_index);
767
780int bt_tbs_client_accept_call(struct bt_conn *conn, uint8_t inst_index,
781 uint8_t call_index);
782
795int bt_tbs_client_retrieve_call(struct bt_conn *conn, uint8_t inst_index,
796 uint8_t call_index);
797
811int bt_tbs_client_join_calls(struct bt_conn *conn, uint8_t inst_index,
812 const uint8_t *call_indexes, uint8_t count);
813
826 uint8_t inst_index);
827
839int bt_tbs_client_read_bearer_uci(struct bt_conn *conn, uint8_t inst_index);
840
852int bt_tbs_client_read_technology(struct bt_conn *conn, uint8_t inst_index);
853
865int bt_tbs_client_read_uri_list(struct bt_conn *conn, uint8_t inst_index);
866
878int bt_tbs_client_read_signal_strength(struct bt_conn *conn,
879 uint8_t inst_index);
880
892int bt_tbs_client_read_signal_interval(struct bt_conn *conn,
893 uint8_t inst_index);
894
906int bt_tbs_client_read_current_calls(struct bt_conn *conn, uint8_t inst_index);
907
919int bt_tbs_client_read_ccid(struct bt_conn *conn, uint8_t inst_index);
920
932int bt_tbs_client_read_call_uri(struct bt_conn *conn, uint8_t inst_index);
933
945int bt_tbs_client_read_status_flags(struct bt_conn *conn, uint8_t inst_index);
946
955int bt_tbs_client_read_call_state(struct bt_conn *conn, uint8_t inst_index);
956
968int bt_tbs_client_read_remote_uri(struct bt_conn *conn, uint8_t inst_index);
969
981int bt_tbs_client_read_friendly_name(struct bt_conn *conn, uint8_t inst_index);
982
994int bt_tbs_client_read_optional_opcodes(struct bt_conn *conn,
995 uint8_t inst_index);
996
1003
1015struct bt_tbs_instance *bt_tbs_client_get_by_ccid(const struct bt_conn *conn,
1016 uint8_t ccid);
1017
1018#ifdef __cplusplus
1019}
1020#endif
1021
1024#endif /* ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_TBS_H_ */
Bluetooth connection handling.
int bt_tbs_remote_retrieve(uint8_t call_index)
Notify the server that the remote party retrieved the call.
int bt_tbs_client_originate_call(struct bt_conn *conn, uint8_t inst_index, const char *uri)
Request to originate a call.
int bt_tbs_accept(uint8_t call_index)
Accept an alerting call.
bool(* bt_tbs_authorize_cb)(struct bt_conn *conn)
Callback function for authorizing a client.
Definition: tbs.h:255
int bt_tbs_client_read_bearer_provider_name(struct bt_conn *conn, uint8_t inst_index)
Read the bearer provider name of a TBS instance.
int bt_tbs_join(uint8_t call_index_cnt, uint8_t *call_indexes)
Join calls.
int bt_tbs_client_hold_call(struct bt_conn *conn, uint8_t inst_index, uint8_t call_index)
Request to hold a call.
int bt_tbs_client_terminate_call(struct bt_conn *conn, uint8_t inst_index, uint8_t call_index)
Request to terminate a call.
void(* bt_tbs_client_call_states_cb)(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_count, const struct bt_tbs_client_call_state *call_states)
Callback function for ccp_read_call_state.
Definition: tbs.h:590
void(* bt_tbs_call_change_cb)(struct bt_conn *conn, uint8_t call_index)
Callback function for client request call state change.
Definition: tbs.h:243
void bt_tbs_client_register_cb(const struct bt_tbs_client_cb *cbs)
Register the callbacks for CCP.
int bt_tbs_client_read_signal_interval(struct bt_conn *conn, uint8_t inst_index)
Read the signal strength reporting interval of a TBS instance.
int bt_tbs_client_set_outgoing_uri(struct bt_conn *conn, uint8_t inst_index, const char *uri)
Set the outgoing URI for a TBS instance on the peer device.
void(* bt_tbs_client_cp_cb)(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_index)
Callback function for the CCP call control functions.
Definition: tbs.h:519
int bt_tbs_client_read_call_uri(struct bt_conn *conn, uint8_t inst_index)
Read the call target URI of a TBS instance.
int bt_tbs_remote_incoming(uint8_t bearer_index, const char *to, const char *from, const char *friendly_name)
Notify the server of an incoming call.
void(* bt_tbs_client_read_string_cb)(struct bt_conn *conn, int err, uint8_t inst_index, const char *value)
Callback function for functions that read a string value.
Definition: tbs.h:532
int bt_tbs_set_bearer_provider_name(uint8_t bearer_index, const char *name)
Set a new bearer provider.
int bt_tbs_remote_terminate(uint8_t call_index)
Notify the server that the remote party terminated the call.
int bt_tbs_remote_hold(uint8_t call_index)
Notify the server that the remote party held the call.
void(* bt_tbs_client_read_value_cb)(struct bt_conn *conn, int err, uint8_t inst_index, uint32_t value)
Callback function for functions that read an integer value.
Definition: tbs.h:545
bool(* bt_tbs_originate_call_cb)(struct bt_conn *conn, uint8_t call_index, const char *uri)
Callback function for client originating a call.
Definition: tbs.h:209
int bt_tbs_client_accept_call(struct bt_conn *conn, uint8_t inst_index, uint8_t call_index)
Accept an incoming call.
void bt_tbs_dbg_print_calls(void)
Prints all calls of all services to the debug log.
void(* bt_tbs_terminate_call_cb)(struct bt_conn *conn, uint8_t call_index, uint8_t reason)
Callback function for client terminating a call.
Definition: tbs.h:222
int bt_tbs_client_read_technology(struct bt_conn *conn, uint8_t inst_index)
Read the technology of a TBS instance.
void bt_tbs_register_cb(struct bt_tbs_cb *cbs)
Register the callbacks for TBS.
void(* bt_tbs_client_current_calls_cb)(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_count, const struct bt_tbs_client_call *calls)
Callback function for ccp_read_current_calls.
Definition: tbs.h:574
int bt_tbs_terminate(uint8_t call_index)
Terminate a call.
int bt_tbs_set_status_flags(uint8_t bearer_index, uint16_t status_flags)
Sets the feature and status value.
int bt_tbs_remote_answer(uint8_t call_index)
Notify the server that the remote party answered the call.
int bt_tbs_client_read_current_calls(struct bt_conn *conn, uint8_t inst_index)
Read the list of current calls of a TBS instance.
int bt_tbs_set_uri_scheme_list(uint8_t bearer_index, const char **uri_list, uint8_t uri_count)
Sets the URI scheme list of a bearer.
int bt_tbs_client_read_friendly_name(struct bt_conn *conn, uint8_t inst_index)
Read the friendly name of a call for a TBS instance.
void(* bt_tbs_client_discover_cb)(struct bt_conn *conn, int err, uint8_t tbs_count, bool gtbs_found)
Callback function for ccp_discover.
Definition: tbs.h:495
int bt_tbs_client_read_status_flags(struct bt_conn *conn, uint8_t inst_index)
Read the feature and status value of a TBS instance.
int bt_tbs_client_set_signal_strength_interval(struct bt_conn *conn, uint8_t inst_index, uint8_t interval)
Set the signal strength reporting interval for a TBS instance.
void(* bt_tbs_join_calls_cb)(struct bt_conn *conn, uint8_t call_index_count, const uint8_t *call_indexes)
Callback function for client joining calls.
Definition: tbs.h:233
int bt_tbs_client_read_signal_strength(struct bt_conn *conn, uint8_t inst_index)
Read the current signal strength of a TBS instance.
struct bt_tbs_instance * bt_tbs_client_get_by_ccid(const struct bt_conn *conn, uint8_t ccid)
Look up Telephone Bearer Service instance by CCID.
int bt_tbs_client_join_calls(struct bt_conn *conn, uint8_t inst_index, const uint8_t *call_indexes, uint8_t count)
Join multiple calls.
int bt_tbs_client_read_remote_uri(struct bt_conn *conn, uint8_t inst_index)
Read the remote URI of a TBS instance.
int bt_tbs_hold(uint8_t call_index)
Hold a call.
void(* bt_tbs_client_termination_reason_cb)(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_index, uint8_t reason)
Callback function for ccp_read_termination_reason.
Definition: tbs.h:558
int bt_tbs_client_read_bearer_uci(struct bt_conn *conn, uint8_t inst_index)
Read the UCI of a TBS instance.
int bt_tbs_client_retrieve_call(struct bt_conn *conn, uint8_t inst_index, uint8_t call_index)
Retrieve call from (local) hold.
int bt_tbs_client_read_ccid(struct bt_conn *conn, uint8_t inst_index)
Read the content ID of a TBS instance.
int bt_tbs_set_signal_strength(uint8_t bearer_index, uint8_t new_signal_strength)
Update the signal strength reported by the server.
int bt_tbs_client_discover(struct bt_conn *conn)
Discover TBS for a connection.
int bt_tbs_retrieve(uint8_t call_index)
Retrieve a call.
int bt_tbs_client_read_uri_list(struct bt_conn *conn, uint8_t inst_index)
Read the URI schemes list of a TBS instance.
int bt_tbs_originate(uint8_t bearer_index, char *uri, uint8_t *call_index)
Originate a call.
int bt_tbs_set_bearer_technology(uint8_t bearer_index, uint8_t new_technology)
Set a new bearer technology.
int bt_tbs_client_read_optional_opcodes(struct bt_conn *conn, uint8_t inst_index)
Read the supported opcode of a TBS instance.
void(* bt_tbs_client_write_value_cb)(struct bt_conn *conn, int err, uint8_t inst_index)
Callback function for writing values to peer device.
Definition: tbs.h:506
int bt_tbs_client_read_call_state(struct bt_conn *conn, uint8_t inst_index)
Read the states of the current calls of a TBS instance.
#define bool
Definition: stdbool.h:13
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
__UINT16_TYPE__ uint16_t
Definition: stdint.h:89
Struct to hold the Telephone Bearer Service callbacks.
Definition: tbs.h:262
bt_tbs_originate_call_cb originate_call
Client originating call.
Definition: tbs.h:264
bt_tbs_call_change_cb accept_call
Client accepting call.
Definition: tbs.h:270
bt_tbs_call_change_cb hold_call
Client holding call.
Definition: tbs.h:268
bt_tbs_terminate_call_cb terminate_call
Client terminating call.
Definition: tbs.h:266
bt_tbs_authorize_cb authorize
Callback to authorize a client.
Definition: tbs.h:276
bt_tbs_join_calls_cb join_calls
Client joining calls.
Definition: tbs.h:274
bt_tbs_call_change_cb retrieve_call
Client retrieving call.
Definition: tbs.h:272
Struct to hold a call state.
Definition: tbs.h:468
uint8_t index
Index of the call.
Definition: tbs.h:470
uint8_t state
State of the call (see BT_TBS_CALL_STATE_*)
Definition: tbs.h:472
uint8_t flags
Call flags (see BT_TBS_CALL_FLAG_*)
Definition: tbs.h:474
Struct to hold a call as the Telephone Bearer Service client.
Definition: tbs.h:478
struct bt_tbs_client_call_state call_info
Call information.
Definition: tbs.h:480
char * remote_uri
The remove URI.
Definition: tbs.h:482
Struct to hold the Telephone Bearer Service client callbacks.
Definition: tbs.h:600
bt_tbs_client_read_value_cb signal_interval
Bearer signal interval has been read.
Definition: tbs.h:649
bt_tbs_client_cp_cb originate_call
Originate call has completed.
Definition: tbs.h:605
bt_tbs_client_current_calls_cb current_calls
Bearer current calls has been read.
Definition: tbs.h:653
bt_tbs_client_read_string_cb bearer_uci
Bearer UCI has been read.
Definition: tbs.h:633
bt_tbs_client_cp_cb retrieve_call
Retrieve call has completed.
Definition: tbs.h:621
bt_tbs_client_cp_cb join_calls
Join calls has completed.
Definition: tbs.h:625
bt_tbs_client_cp_cb hold_call
Hold call has completed.
Definition: tbs.h:613
bt_tbs_client_read_string_cb remote_uri
Bearer remote URI has been read.
Definition: tbs.h:677
bt_tbs_client_read_string_cb bearer_provider_name
Bearer provider name has been read.
Definition: tbs.h:629
bt_tbs_client_cp_cb accept_call
Accept call has completed.
Definition: tbs.h:617
bt_tbs_client_read_string_cb uri_list
Bearer URI list has been read.
Definition: tbs.h:641
bt_tbs_client_read_value_cb technology
Bearer technology has been read.
Definition: tbs.h:637
bt_tbs_client_call_states_cb call_state
Bearer call states has been read.
Definition: tbs.h:668
bt_tbs_client_read_value_cb ccid
Bearer CCID has been read.
Definition: tbs.h:657
bt_tbs_client_read_value_cb optional_opcodes
Bearer optional opcodes has been read.
Definition: tbs.h:671
bt_tbs_client_read_value_cb status_flags
Bearer status flags has been read.
Definition: tbs.h:665
bt_tbs_client_read_value_cb signal_strength
Bearer signal strength has been read.
Definition: tbs.h:645
bt_tbs_client_cp_cb terminate_call
Terminate call has completed.
Definition: tbs.h:609
bt_tbs_client_discover_cb discover
Discovery has completed.
Definition: tbs.h:602
bt_tbs_client_read_string_cb friendly_name
Bearer friendly name has been read.
Definition: tbs.h:681
bt_tbs_client_termination_reason_cb termination_reason
Bearer terminate reason has been read.
Definition: tbs.h:674
bt_tbs_client_read_string_cb call_uri
Bearer call URI has been read.
Definition: tbs.h:661
Macro utilities.