hfp.h (bcdbf70421d7d91708be4ec5e345f80e6cdd605f) | hfp.h (3ad75286b369b7c8fa8d48d87c7750c3b8b4b6c4) |
---|---|
1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 855 unchanged lines hidden (view full) --- 864void hfp_reset_context_flags(hfp_connection_t * hfp_connection); 865 866void hfp_setup_synchronous_connection(hfp_connection_t * hfp_connection); 867void hfp_accept_synchronous_connection(hfp_connection_t * hfp_connection, bool incoming_eSCO); 868int hfp_supports_codec(uint8_t codec, int codecs_nr, uint8_t * codecs); 869void hfp_hf_drop_mSBC_if_eSCO_not_supported(uint8_t * codecs, uint8_t * codecs_nr); 870void hfp_init_link_settings(hfp_connection_t * hfp_connection, uint8_t eSCO_S4_supported); 871hfp_link_settings_t hfp_next_link_setting(hfp_link_settings_t current_setting, bool local_eSCO_supported, bool remote_eSCO_supported, bool eSCO_s4_supported, uint8_t negotiated_codec); | 1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 855 unchanged lines hidden (view full) --- 864void hfp_reset_context_flags(hfp_connection_t * hfp_connection); 865 866void hfp_setup_synchronous_connection(hfp_connection_t * hfp_connection); 867void hfp_accept_synchronous_connection(hfp_connection_t * hfp_connection, bool incoming_eSCO); 868int hfp_supports_codec(uint8_t codec, int codecs_nr, uint8_t * codecs); 869void hfp_hf_drop_mSBC_if_eSCO_not_supported(uint8_t * codecs, uint8_t * codecs_nr); 870void hfp_init_link_settings(hfp_connection_t * hfp_connection, uint8_t eSCO_S4_supported); 871hfp_link_settings_t hfp_next_link_setting(hfp_link_settings_t current_setting, bool local_eSCO_supported, bool remote_eSCO_supported, bool eSCO_s4_supported, uint8_t negotiated_codec); |
872hfp_link_settings_t hfp_safe_settings_for_context(bool use_eSCO, uint8_t negotiated_codec, bool secure_connection_in_use); |
|
872 873const char * hfp_hf_feature(int index); 874const char * hfp_ag_feature(int index); 875 876void hfp_log_rfcomm_message(const char * tag, uint8_t * packet, uint16_t size); 877 878const char * hfp_enhanced_call_dir2str(uint16_t index); 879const char * hfp_enhanced_call_status2str(uint16_t index); --- 29 unchanged lines hidden --- | 873 874const char * hfp_hf_feature(int index); 875const char * hfp_ag_feature(int index); 876 877void hfp_log_rfcomm_message(const char * tag, uint8_t * packet, uint16_t size); 878 879const char * hfp_enhanced_call_dir2str(uint16_t index); 880const char * hfp_enhanced_call_status2str(uint16_t index); --- 29 unchanged lines hidden --- |