Lines Matching defs:hfp_connection
551 typedef struct hfp_connection { struct
552 btstack_linked_item_t item;
555 hfp_role_t local_role;
557 bd_addr_t remote_addr;
558 hci_con_handle_t acl_handle;
559 hci_con_handle_t sco_handle;
560 uint16_t packet_types;
561 uint8_t rfcomm_channel_nr;
562 uint16_t rfcomm_cid;
563 uint16_t rfcomm_mtu;
565 hfp_state_machine_t state_machine;
566 hfp_call_state_t call_state;
567 hfp_state_t state;
568 hfp_codecs_state_t codecs_state;
571 uint16_t service_uuid;
574 hfp_command_t command;
575 hfp_parser_state_t parser_state;
576 int parser_item_index;
577 int parser_indicator_index;
578 uint32_t parser_indicator_value;
579 bool parser_quoted;
582 uint8_t line_buffer[HFP_MAX_VR_TEXT_SIZE];
583 int line_size;
585 uint32_t remote_supported_features;
587 uint16_t remote_codecs_nr;
588 uint8_t remote_codecs[HFP_MAX_NUM_CODECS];
590 uint16_t ag_indicators_nr;
591 hfp_ag_indicator_t ag_indicators[HFP_MAX_NUM_INDICATORS];
592 uint32_t ag_indicators_status_update_bitmap;
593 uint8_t enable_status_update_for_ag_indicators;
595 uint16_t remote_call_services_index;
596 hfp_call_service_t remote_call_services[HFP_MAX_NUM_CALL_SERVICES];
599 uint16_t generic_status_indicators_nr;
600 uint32_t generic_status_update_bitmap;
601 hfp_generic_status_indicator_t generic_status_indicators[HFP_MAX_NUM_INDICATORS];
603 hfp_network_opearator_t network_operator;
606 uint8_t negotiated_codec;
609 uint8_t clip_enabled;
610 uint8_t call_waiting_notification_enabled;
613 uint8_t ok_pending;
614 uint8_t send_error;
616 bool found_equal_sign;
617 uint8_t ignore_value;
619 uint8_t change_status_update_for_individual_ag_indicators;
620 uint8_t operator_name_changed;
622 uint8_t enable_extended_audio_gateway_error_report;
623 uint8_t extended_audio_gateway_error_value;
624 uint8_t extended_audio_gateway_error;
627 uint8_t suggested_codec;
628 uint8_t codec_confirmed;
629 uint8_t sco_for_msbc_failed;
630 uint8_t trigger_codec_exchange;
633 hfp_link_settings_t link_setting;
634 uint8_t accept_sco; // 1 = SCO, 2 = eSCO
636 uint8_t establish_audio_connection;
637 uint8_t release_audio_connection;
638 uint8_t release_slc_connection;
640 uint8_t microphone_gain;
641 uint8_t send_microphone_gain;
643 uint8_t speaker_gain;
644 uint8_t send_speaker_gain;
646 uint8_t send_phone_number_for_voice_tag;
647 uint8_t send_ag_status_indicators;
648 uint8_t send_ag_indicators_segment;
649 uint8_t send_response_and_hold_status; // 0 - don't send. BRTH:0 == 1, ..
652 bool send_apple_information;
653 bool apple_accessory_commands_supported;
655 int8_t apple_accessory_battery_level;
656 int8_t apple_accessory_docked;
658 uint16_t apple_accessory_product_id;
659 uint16_t apple_accessory_vendor_id;
660 uint8_t apple_accessory_features;
661 uint8_t apple_accessory_key;
662 char apple_accessory_version[HFP_APPLE_ACCESSORY_VERSION_LEN];
664 const char * send_custom_message;
667 uint16_t custom_at_command_id;
669 bool emit_vra_enabled_after_audio_established;
671 uint8_t change_in_band_ring_tone_setting;
672 uint8_t ag_ring;
673 uint8_t ag_send_clip;
674 uint8_t ag_echo_and_noise_reduction;
676 uint8_t ag_activate_voice_recognition_value;
677 bool ag_audio_connection_opened_before_vra;
679 uint8_t ag_notify_incoming_call_waiting;
680 uint8_t send_subscriber_number;
681 uint8_t next_subscriber_number_to_send;
682 uint8_t ag_call_hold_action;
683 uint8_t ag_response_and_hold_action;
684 uint8_t ag_dtmf_code;
685 bool ag_in_band_ring_tone_active;
686 bool ag_send_no_carrier;
687 bool ag_vra_send_command;
688 bool ag_send_in_band_ring_tone_setting;
689 bool ag_send_common_codec;
690 bool ag_vra_requested_by_hf;
692 int send_status_of_current_calls;
693 int next_call_index;
697 hfp_command_t response_pending_for_command;
699 hfp_hf_query_operator_state_t hf_query_operator_state;
700 uint8_t hf_answer_incoming_call;
701 uint8_t hf_initiate_outgoing_call;
702 uint8_t hf_initiate_memory_dialing;
703 uint8_t hf_initiate_redial_last_number;
704 bool hf_send_codec_confirm;
705 bool hf_send_supported_codecs;
707 int memory_id;
709 uint8_t hf_send_clip_enable;
710 uint8_t hf_send_chup;
711 uint8_t hf_send_chld_0;
712 uint8_t hf_send_chld_1;
713 uint8_t hf_send_chld_2;
714 uint8_t hf_send_chld_3;
715 uint8_t hf_send_chld_4;
716 uint8_t hf_send_chld_x;
717 uint8_t hf_send_chld_x_index;
718 char hf_send_dtmf_code;
719 uint8_t hf_send_binp;
720 uint8_t hf_send_clcc;
721 uint8_t hf_send_rrh;
722 char hf_send_rrh_command;
723 uint8_t hf_send_cnum;
725 uint8_t hf_activate_call_waiting_notification;
726 uint8_t hf_deactivate_call_waiting_notification;
728 uint8_t hf_activate_calling_line_notification;
729 uint8_t hf_deactivate_calling_line_notification;
730 uint8_t hf_deactivate_echo_canceling_and_noise_reduction;
732 hfp_call_status_t hf_call_status;
733 hfp_callsetup_status_t hf_callsetup_status;
734 hfp_callheld_status_t hf_callheld_status;
736 hfp_voice_recognition_activation_status_t vra_state;
737 hfp_voice_recognition_activation_status_t vra_state_requested;
738 bool deactivate_voice_recognition;
739 bool activate_voice_recognition;
740 bool enhanced_voice_recognition_enabled;
743 uint8_t ag_vra_status;
744 hfp_voice_recognition_state_t ag_vra_state;
745 hfp_voice_recognition_message_t ag_msg;
746 uint16_t ag_vra_msg_length;
748 uint8_t clcc_idx;
749 uint8_t clcc_dir;
750 uint8_t clcc_status;
751 uint8_t clcc_mode;
752 uint8_t clcc_mpty;
777 } hfp_connection_t; argument