Lines Matching refs:inst_index

49 	unsigned long inst_index;  in cmd_tbs_client_set_signal_strength_interval()  local
58 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_set_signal_strength_interval()
60 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_set_signal_strength_interval()
69 if (inst_index > UINT8_MAX) { in cmd_tbs_client_set_signal_strength_interval()
71 inst_index); in cmd_tbs_client_set_signal_strength_interval()
77 inst_index = 0; in cmd_tbs_client_set_signal_strength_interval()
94 inst_index, in cmd_tbs_client_set_signal_strength_interval()
108 unsigned long inst_index; in cmd_tbs_client_hold() local
114 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_hold()
116 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_hold()
125 if (inst_index > UINT8_MAX) { in cmd_tbs_client_hold()
127 inst_index); in cmd_tbs_client_hold()
133 inst_index = 0; in cmd_tbs_client_hold()
149 result = bt_tbs_client_hold_call(default_conn, inst_index, call_index); in cmd_tbs_client_hold()
162 unsigned long inst_index; in cmd_tbs_client_retrieve() local
168 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_retrieve()
170 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_retrieve()
179 if (inst_index > UINT8_MAX) { in cmd_tbs_client_retrieve()
181 inst_index); in cmd_tbs_client_retrieve()
187 inst_index = 0; in cmd_tbs_client_retrieve()
203 result = bt_tbs_client_retrieve_call(default_conn, inst_index, in cmd_tbs_client_retrieve()
217 unsigned long inst_index; in cmd_tbs_client_accept() local
223 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_accept()
225 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_accept()
234 if (inst_index > UINT8_MAX) { in cmd_tbs_client_accept()
236 inst_index); in cmd_tbs_client_accept()
242 inst_index = 0; in cmd_tbs_client_accept()
258 result = bt_tbs_client_accept_call(default_conn, inst_index, in cmd_tbs_client_accept()
275 unsigned long inst_index; in cmd_tbs_client_join() local
279 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_join()
281 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_join()
290 if (inst_index > UINT8_MAX) { in cmd_tbs_client_join()
292 inst_index); in cmd_tbs_client_join()
318 result = bt_tbs_client_join_calls(default_conn, inst_index, in cmd_tbs_client_join()
332 unsigned long inst_index; in cmd_tbs_client_terminate() local
338 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_terminate()
340 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_terminate()
349 if (inst_index > UINT8_MAX) { in cmd_tbs_client_terminate()
351 inst_index); in cmd_tbs_client_terminate()
357 inst_index = 0; in cmd_tbs_client_terminate()
373 result = bt_tbs_client_terminate_call(default_conn, inst_index, in cmd_tbs_client_terminate()
387 unsigned long inst_index; in cmd_tbs_client_originate() local
392 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_originate()
394 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_originate()
403 if (inst_index > UINT8_MAX) { in cmd_tbs_client_originate()
405 inst_index); in cmd_tbs_client_originate()
411 inst_index = 0; in cmd_tbs_client_originate()
414 result = bt_tbs_client_originate_call(default_conn, inst_index, in cmd_tbs_client_originate()
428 unsigned long inst_index; in cmd_tbs_client_read_bearer_provider_name() local
433 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_bearer_provider_name()
435 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_bearer_provider_name()
444 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_bearer_provider_name()
446 inst_index); in cmd_tbs_client_read_bearer_provider_name()
452 inst_index = 0; in cmd_tbs_client_read_bearer_provider_name()
456 inst_index); in cmd_tbs_client_read_bearer_provider_name()
469 unsigned long inst_index; in cmd_tbs_client_read_bearer_uci() local
474 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_bearer_uci()
476 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_bearer_uci()
485 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_bearer_uci()
487 inst_index); in cmd_tbs_client_read_bearer_uci()
493 inst_index = 0; in cmd_tbs_client_read_bearer_uci()
496 result = bt_tbs_client_read_bearer_uci(default_conn, inst_index); in cmd_tbs_client_read_bearer_uci()
509 unsigned long inst_index; in cmd_tbs_client_read_technology() local
514 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_technology()
516 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_technology()
525 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_technology()
527 inst_index); in cmd_tbs_client_read_technology()
533 inst_index = 0; in cmd_tbs_client_read_technology()
536 result = bt_tbs_client_read_technology(default_conn, inst_index); in cmd_tbs_client_read_technology()
549 unsigned long inst_index; in cmd_tbs_client_read_uri_list() local
554 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_uri_list()
556 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_uri_list()
565 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_uri_list()
567 inst_index); in cmd_tbs_client_read_uri_list()
573 inst_index = 0; in cmd_tbs_client_read_uri_list()
576 result = bt_tbs_client_read_uri_list(default_conn, inst_index); in cmd_tbs_client_read_uri_list()
589 unsigned long inst_index; in cmd_tbs_client_read_signal_strength() local
594 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_signal_strength()
596 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_signal_strength()
605 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_signal_strength()
607 inst_index); in cmd_tbs_client_read_signal_strength()
613 inst_index = 0; in cmd_tbs_client_read_signal_strength()
616 result = bt_tbs_client_read_signal_strength(default_conn, inst_index); in cmd_tbs_client_read_signal_strength()
629 unsigned long inst_index; in cmd_tbs_client_read_signal_interval() local
634 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_signal_interval()
636 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_signal_interval()
645 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_signal_interval()
647 inst_index); in cmd_tbs_client_read_signal_interval()
653 inst_index = 0; in cmd_tbs_client_read_signal_interval()
656 result = bt_tbs_client_read_signal_interval(default_conn, inst_index); in cmd_tbs_client_read_signal_interval()
669 unsigned long inst_index; in cmd_tbs_client_read_current_calls() local
674 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_current_calls()
676 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_current_calls()
685 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_current_calls()
687 inst_index); in cmd_tbs_client_read_current_calls()
693 inst_index = 0; in cmd_tbs_client_read_current_calls()
696 result = bt_tbs_client_read_current_calls(default_conn, inst_index); in cmd_tbs_client_read_current_calls()
709 unsigned long inst_index; in cmd_tbs_client_read_ccid() local
714 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_ccid()
716 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_ccid()
725 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_ccid()
727 inst_index); in cmd_tbs_client_read_ccid()
733 inst_index = 0; in cmd_tbs_client_read_ccid()
736 result = bt_tbs_client_read_ccid(default_conn, inst_index); in cmd_tbs_client_read_ccid()
749 unsigned long inst_index; in cmd_tbs_client_read_uri() local
754 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_uri()
756 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_uri()
765 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_uri()
767 inst_index); in cmd_tbs_client_read_uri()
773 inst_index = 0; in cmd_tbs_client_read_uri()
776 result = bt_tbs_client_read_call_uri(default_conn, inst_index); in cmd_tbs_client_read_uri()
789 unsigned long inst_index; in cmd_tbs_client_read_status_flags() local
794 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_status_flags()
796 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_status_flags()
805 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_status_flags()
807 inst_index); in cmd_tbs_client_read_status_flags()
813 inst_index = 0; in cmd_tbs_client_read_status_flags()
816 result = bt_tbs_client_read_status_flags(default_conn, inst_index); in cmd_tbs_client_read_status_flags()
828 unsigned long inst_index; in cmd_tbs_client_read_call_state() local
833 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_call_state()
835 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_call_state()
844 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_call_state()
846 inst_index); in cmd_tbs_client_read_call_state()
852 inst_index = 0; in cmd_tbs_client_read_call_state()
855 result = bt_tbs_client_read_call_state(default_conn, inst_index); in cmd_tbs_client_read_call_state()
867 unsigned long inst_index; in cmd_tbs_client_read_remote_uri() local
872 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_remote_uri()
874 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_remote_uri()
883 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_remote_uri()
885 inst_index); in cmd_tbs_client_read_remote_uri()
891 inst_index = 0; in cmd_tbs_client_read_remote_uri()
894 result = bt_tbs_client_read_remote_uri(default_conn, inst_index); in cmd_tbs_client_read_remote_uri()
907 unsigned long inst_index; in cmd_tbs_client_read_friendly_name() local
912 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_friendly_name()
914 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_friendly_name()
923 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_friendly_name()
925 inst_index); in cmd_tbs_client_read_friendly_name()
931 inst_index = 0; in cmd_tbs_client_read_friendly_name()
934 result = bt_tbs_client_read_friendly_name(default_conn, inst_index); in cmd_tbs_client_read_friendly_name()
947 unsigned long inst_index; in cmd_tbs_client_read_optional_opcodes() local
952 inst_index = BT_TBS_GTBS_INDEX; in cmd_tbs_client_read_optional_opcodes()
954 inst_index = shell_strtoul(argv[1], 0, &result); in cmd_tbs_client_read_optional_opcodes()
963 if (inst_index > UINT8_MAX) { in cmd_tbs_client_read_optional_opcodes()
965 inst_index); in cmd_tbs_client_read_optional_opcodes()
971 inst_index = 0; in cmd_tbs_client_read_optional_opcodes()
974 result = bt_tbs_client_read_optional_opcodes(default_conn, inst_index); in cmd_tbs_client_read_optional_opcodes()