1 /* 2 * Copyright (c) 2021 Chipsea Technologies (Shenzhen) Corp., Ltd. All rights reserved. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 /** 16 * chipsea_ohos add for prefix proguard. 17 */ 18 #ifndef __CS_PROGUARD_H 19 #define __CS_PROGUARD_H 20 21 #define PREFIX_1 ai 22 #define PREFIX_2 c 23 #define PREFIX_UPER_1 AI 24 #define PREFIX_UPER_2 C 25 26 // 3-part macro to function/variable/enum string 27 #define PRE_PROGUARD_P3_I(p0,p1,p2) p0##p1##p2 28 #define PRE_PROGUARD_P3(p0,p1,p2) PRE_PROGUARD_P3_I(p0, p1, p2) 29 // 4-part macro to function/variable/enum string 30 #define PRE_PROGUARD_P4_I(p0,p1,p2,p3) p0##p1##p2##p3 31 #define PRE_PROGUARD_P4(p0,p1,p2,p3) PRE_PROGUARD_P4_I(p0, p1, p2) 32 33 /*chipsea_ohos proguard prefix begin*/ 34 35 #define cs_adp_a2dp_connect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_connect) 36 #define cs_adp_a2dp_disconnect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_disconnect) 37 #define cs_adp_a2dp_get_audio_cap_by_addr PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_get_audio_cap_by_addr) 38 #define cs_adp_a2dp_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_init) 39 #define cs_adp_a2dp_register_sink_aac PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_register_sink_aac) 40 #define cs_adp_a2dp_register_sink_sbc PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_register_sink_sbc) 41 #define cs_adp_a2dp_register_source PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_register_source) 42 #define cs_adp_a2dp_send_sbc_data PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_send_sbc_data) 43 #define cs_adp_a2dp_source_connect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_source_connect) 44 #define cs_adp_a2dp_source_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_source_init) 45 #define cs_adp_a2dp_source_start PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_source_start) 46 #define cs_adp_a2dp_source_suspend PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_source_suspend) 47 #define cs_adp_a2dp_support_cb PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_a2dp_support_cb) 48 #define cs_adp_avrcp_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_init) 49 #define cs_adp_avrcp_register PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_register) 50 #define cs_adp_avrcp_send_key_backward PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_send_key_backward) 51 #define cs_adp_avrcp_send_key_forward PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_send_key_forward) 52 #define cs_adp_avrcp_send_key_pause PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_send_key_pause) 53 #define cs_adp_avrcp_send_key_play PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_send_key_play) 54 #define cs_adp_avrcp_send_key_stop PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_send_key_stop) 55 #define cs_adp_avrcp_send_key_volume_down PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_send_key_volume_down) 56 #define cs_adp_avrcp_send_key_volume_up PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_send_key_volume_up) 57 #define cs_adp_avrcp_send_volume_report PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_send_volume_report) 58 #define cs_adp_avrcp_support_volume_sync PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_avrcp_support_volume_sync) 59 #define cs_adp_ble_deinit PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_ble_deinit) 60 #define cs_adp_check_cmp_twsaddr PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_check_cmp_twsaddr) 61 #define cs_adp_close_dev PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_close_dev) 62 #define cs_adp_connect_tws_peer_device PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_connect_tws_peer_device) 63 #define cs_adp_disconnect_acl PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_disconnect_acl) 64 #define cs_adp_disconnect_tws PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_disconnect_tws) 65 #define cs_adp_dispatch_msg PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_dispatch_msg) 66 #define cs_adp_erased_flash PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_erased_flash) 67 #define cs_adp_free_stack_memory_ble_only PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_free_stack_memory_ble_only) 68 #define cs_adp_get_a2dp_current_devinfo PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_get_a2dp_current_devinfo) 69 #define cs_adp_get_app_bt_mgr_ptr PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_get_app_bt_mgr_ptr) 70 #define cs_adp_get_current_activeCons PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_get_current_activeCons) 71 #define cs_adp_get_devinfo_by_addr PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_get_devinfo_by_addr) 72 #define cs_adp_get_hfp_current_devinfo PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_get_hfp_current_devinfo) 73 #define cs_adp_get_native_clk_plus_offset PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_get_native_clk_plus_offset) 74 #define cs_adp_get_slave_bt_offset PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_get_slave_bt_offset) 75 #define cs_adp_hf_connect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hf_connect) 76 #define cs_adp_hf_disconnect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hf_disconnect) 77 #define cs_adp_hfg_connect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfg_connect) 78 #define cs_adp_hfp_battery_report_proc PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_battery_report_proc) 79 #define cs_adp_hfp_call_answer PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_call_answer) 80 #define cs_adp_hfp_call_hold PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_call_hold) 81 #define cs_adp_hfp_call_redial PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_call_redial) 82 #define cs_adp_hfp_call_release PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_call_release) 83 #define cs_adp_hfp_disable_NREC PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_disable_NREC) 84 #define cs_adp_hfp_get_active_prf PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_get_active_prf) 85 #define cs_adp_hfp_get_negotiated_codec_by_addr PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_get_negotiated_codec_by_addr) 86 #define cs_adp_hfp_get_scohandle_by_addr PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_get_scohandle_by_addr) 87 #define cs_adp_hfp_get_voicerecognition_state PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_get_voicerecognition_state) 88 #define cs_adp_hfp_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_init) 89 #define cs_adp_hfp_list_current_calls PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_list_current_calls) 90 #define cs_adp_hfp_register PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_register) 91 #define cs_adp_hfp_send_at_cclk PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_send_at_cclk) 92 #define cs_adp_hfp_send_raw_data PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_send_raw_data) 93 #define cs_adp_hfp_send_sco_data PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_send_sco_data) 94 #define cs_adp_hfp_send_siri_report PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_send_siri_report) 95 #define cs_adp_hfp_send_voice_recognition PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_send_voice_recognition) 96 #define cs_adp_hfp_send_volume PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_send_volume) 97 #define cs_adp_hfp_set_battery_level PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hfp_set_battery_level) 98 #define cs_adp_hf_sco_connect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hf_sco_connect) 99 #define cs_adp_hf_sco_disconnect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hf_sco_disconnect) 100 #define cs_adp_hf_sco_state PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_hf_sco_state) 101 #define cs_adp_host_control_tws_sync_con PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_host_control_tws_sync_con) 102 #define cs_adp_host_m_s_switch PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_host_m_s_switch) 103 #define cs_adp_host_sync_stop PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_host_sync_stop) 104 #define cs_adp_inquiry PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_inquiry) 105 #define cs_adp_inquiry_cancel PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_inquiry_cancel) 106 #define cs_adp_mgr_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_mgr_init) 107 #define cs_adp_register_app_msg_handle PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_register_app_msg_handle) 108 #define cs_adp_role_switch PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_role_switch) 109 #define cs_adp_rw_timer_notify PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_rw_timer_notify) 110 #define cs_adp_save_flash PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_save_flash) 111 #define cs_adp_sco_switch PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_sco_switch) 112 #define cs_adp_send_data PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_send_data) 113 #define cs_adp_send_generate_key PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_send_generate_key) 114 #define cs_adp_send_generate_key_ble_only PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_send_generate_key_ble_only) 115 #define cs_adp_send_hci_data_direct PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_send_hci_data_direct) 116 #define cs_adp_send_hci_data_direct_ble_only PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_send_hci_data_direct_ble_only) 117 #define cs_adp_set_audio_sync_param PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_set_audio_sync_param) 118 #define cs_adp_set_bt_name PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_set_bt_name) 119 #define cs_adp_set_linkpolicy PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_set_linkpolicy) 120 #define cs_adp_set_lp_level PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_set_lp_level) 121 #define cs_adp_set_lp_level_ble_only PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_set_lp_level_ble_only) 122 #define cs_adp_set_scan_mode PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_set_scan_mode) 123 #define cs_adp_set_sniff_timer PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_set_sniff_timer) 124 #define cs_adp_spp_connect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_spp_connect) 125 #define cs_adp_spp_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_spp_init) 126 #define cs_adp_spp_send_data PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_spp_send_data) 127 #define cs_adp_stack_config PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_stack_config) 128 #define cs_adp_stack_config_ble_only PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_stack_config_ble_only) 129 #define cs_adp_stop_sniff PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_stop_sniff) 130 #define cs_adp_test_connect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_test_connect) 131 #define cs_adp_test_connect_sco PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_test_connect_sco) 132 #define cs_adp_test_disconnect PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_test_disconnect) 133 #define cs_adp_test_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_test_init) 134 #define cs_adp_test_send_data PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_test_send_data) 135 #define cs_adp_test_send_sco_data PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_test_send_sco_data) 136 #define cs_adp_tws_clear_whitelist PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_tws_clear_whitelist) 137 #define cs_adp_tws_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_tws_init) 138 #define cs_adp_tws_restart PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_tws_restart) 139 #define cs_adp_tws_set_scan_disable PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_tws_set_scan_disable) 140 #define cs_adp_tws_set_scan_para PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_tws_set_scan_para) 141 #define cs_adp_tws_start_adv PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_tws_start_adv) 142 #define cs_adp_tws_stop_adv PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_tws_stop_adv) 143 #define cs_adp_update_tws_flash_role PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _adp_update_tws_flash_role) 144 #define csble_dbgarea PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, ble_dbgarea) 145 #define csble_dbg_area PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, ble_dbg_area) 146 #define csble_dbg_hex_dump PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, ble_dbg_hex_dump) 147 #define csble_dbg_level PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, ble_dbg_level) 148 #define cs_ble_deinit PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _ble_deinit) 149 #define csble_dump_area PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, ble_dump_area) 150 #define cs_ble_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _ble_init) 151 #define cs_ble_reset PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _ble_reset) 152 #define cs_ble_schedule PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _ble_schedule) 153 #define cs_ble_stack_allow_sleep PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _ble_stack_allow_sleep) 154 #define cs_ble_tx_rx_allow_sleep PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _ble_tx_rx_allow_sleep) 155 #define cs_bt_start PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _bt_start) 156 #define cs_change_host_log_level PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _change_host_log_level) 157 #define cs_get_ecc_generate_key_ready PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _get_ecc_generate_key_ready) 158 #define cs_host_log PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _host_log) 159 #define cs_stack_init PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _stack_init) 160 #define cs_stack_init_ble_only PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _stack_init_ble_only) 161 #define cs_stack_loop PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _stack_loop) 162 #define cs_stack_loop_ble_only PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _stack_loop_ble_only) 163 #define cs_time_get PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _time_get) 164 #define cs_tws_get_porttype PRE_PROGUARD_P3(PREFIX_1, PREFIX_2, _tws_get_porttype) 165 166 #define BT_NO_ERROR PRE_PROGUARD_P3(CO_, ERROR_, NO_ERROR) 167 #define BT_UNKNOWN_COMMAND PRE_PROGUARD_P3(CO_, ERROR_, UNKNOWN_HCI_COMMAND) 168 #define BT_UNKNOWN_ID PRE_PROGUARD_P3(CO_, ERROR_, UNKNOWN_CONNECTION_ID) 169 #define BT_HARDWARE_FAILURE PRE_PROGUARD_P3(CO_, ERROR_, HARDWARE_FAILURE) 170 #define BT_PAGE_TIMEOUT PRE_PROGUARD_P3(CO_, ERROR_, PAGE_TIMEOUT) 171 #define BT_AUTH_FAILURE PRE_PROGUARD_P3(CO_, ERROR_, AUTH_FAILURE) 172 #define BT_PIN_MISSING PRE_PROGUARD_P3(CO_, ERROR_, PIN_MISSING) 173 #define BT_MEMORY_CAPA_EXCEED PRE_PROGUARD_P3(CO_, ERROR_, MEMORY_CAPA_EXCEED) 174 #define BT_CON_TIMEOUT PRE_PROGUARD_P3(CO_, ERROR_, CON_TIMEOUT) 175 #define BT_CON_LIMIT_EXCEED PRE_PROGUARD_P3(CO_, ERROR_, CON_LIMIT_EXCEED) 176 #define BT_SYNC_CON_LIMIT_DEV_EXCEED PRE_PROGUARD_P3(CO_, ERROR_, SYNC_CON_LIMIT_DEV_EXCEED) 177 #define BT_CON_ALREADY_EXISTS PRE_PROGUARD_P3(CO_, ERROR_, CON_ALREADY_EXISTS) 178 #define BT_COMMAND_DISALLOWED PRE_PROGUARD_P3(CO_, ERROR_, COMMAND_DISALLOWED) 179 #define BT_CONN_REJ_LIMITED_RESOURCES PRE_PROGUARD_P3(CO_, ERROR_, CONN_REJ_LIMITED_RESOURCES) 180 #define BT_CONN_REJ_SECURITY_REASONS PRE_PROGUARD_P3(CO_, ERROR_, CONN_REJ_SECURITY_REASONS) 181 #define BT_CONN_REJ_UNACCEPTABLE_BDADDR PRE_PROGUARD_P3(CO_, ERROR_, CONN_REJ_UNACCEPTABLE_BDADDR) 182 #define BT_CONN_ACCEPT_TIMEOUT_EXCEED PRE_PROGUARD_P3(CO_, ERROR_, CONN_ACCEPT_TIMEOUT_EXCEED) 183 #define BT_UNSUPPORTED PRE_PROGUARD_P3(CO_, ERROR_, UNSUPPORTED) 184 #define BT_INVALID_HCI_PARAM PRE_PROGUARD_P3(CO_, ERROR_, INVALID_HCI_PARAM) 185 #define BT_REMOTE_USER_TERM_CON PRE_PROGUARD_P3(CO_, ERROR_, REMOTE_USER_TERM_CON) 186 #define BT_REMOTE_DEV_TERM_LOW_RESOURCES PRE_PROGUARD_P3(CO_, ERROR_, REMOTE_DEV_TERM_LOW_RESOURCES) 187 #define BT_REMOTE_DEV_POWER_OFF PRE_PROGUARD_P3(CO_, ERROR_, REMOTE_DEV_POWER_OFF) 188 #define BT_CON_TERM_BY_LOCAL_HOST PRE_PROGUARD_P3(CO_, ERROR_, CON_TERM_BY_LOCAL_HOST) 189 #define BT_REPEATED_ATTEMPTS PRE_PROGUARD_P3(CO_, ERROR_, REPEATED_ATTEMPTS) 190 #define BT_PAIRING_NOT_ALLOWED PRE_PROGUARD_P3(CO_, ERROR_, PAIRING_NOT_ALLOWED) 191 #define BT_UNKNOWN_LMP_PDU PRE_PROGUARD_P3(CO_, ERROR_, UNKNOWN_LMP_PDU) 192 #define BT_UNSUPPORTED_REMOTE_FEATURE PRE_PROGUARD_P3(CO_, ERROR_, UNSUPPORTED_REMOTE_FEATURE) 193 #define BT_SCO_OFFSET_REJECTED PRE_PROGUARD_P3(CO_, ERROR_, SCO_OFFSET_REJECTED) 194 #define BT_SCO_INTERVAL_REJECTED PRE_PROGUARD_P3(CO_, ERROR_, SCO_INTERVAL_REJECTED) 195 #define BT_SCO_AIR_MODE_REJECTED PRE_PROGUARD_P3(CO_, ERROR_, SCO_AIR_MODE_REJECTED) 196 #define BT_INVALID_LMP_PARAM PRE_PROGUARD_P3(CO_, ERROR_, INVALID_LMP_PARAM) 197 #define BT_UNSPECIFIED_ERROR PRE_PROGUARD_P3(CO_, ERROR_, UNSPECIFIED_ERROR) 198 #define BT_UNSUPPORTED_LMP_PARAM_VALUE PRE_PROGUARD_P3(CO_, ERROR_, UNSUPPORTED_LMP_PARAM_VALUE) 199 #define BT_ROLE_CHANGE_NOT_ALLOWED PRE_PROGUARD_P3(CO_, ERROR_, ROLE_CHANGE_NOT_ALLOWED) 200 #define BT_LMP_RSP_TIMEOUT PRE_PROGUARD_P3(CO_, ERROR_, LMP_RSP_TIMEOUT) 201 #define BT_LMP_COLLISION PRE_PROGUARD_P3(CO_, ERROR_, LMP_COLLISION) 202 #define BT_LMP_PDU_NOT_ALLOWED PRE_PROGUARD_P3(CO_, ERROR_, LMP_PDU_NOT_ALLOWED) 203 #define BT_ENC_MODE_NOT_ACCEPT PRE_PROGUARD_P3(CO_, ERROR_, ENC_MODE_NOT_ACCEPT) 204 #define BT_LINK_KEY_CANT_CHANGE PRE_PROGUARD_P3(CO_, ERROR_, LINK_KEY_CANT_CHANGE) 205 #define BT_QOS_NOT_SUPPORTED PRE_PROGUARD_P3(CO_, ERROR_, QOS_NOT_SUPPORTED) 206 #define BT_INSTANT_PASSED PRE_PROGUARD_P3(CO_, ERROR_, INSTANT_PASSED) 207 #define BT_PAIRING_WITH_UNIT_KEY_NOT_SUP PRE_PROGUARD_P3(CO_, ERROR_, PAIRING_WITH_UNIT_KEY_NOT_SUP) 208 #define BT_DIFF_TRANSACTION_COLLISION PRE_PROGUARD_P3(CO_, ERROR_, DIFF_TRANSACTION_COLLISION) 209 #define BT_QOS_UNACCEPTABLE_PARAM PRE_PROGUARD_P3(CO_, ERROR_, QOS_UNACCEPTABLE_PARAM) 210 #define BT_QOS_REJECTED PRE_PROGUARD_P3(CO_, ERROR_, QOS_REJECTED) 211 #define BT_CHANNEL_CLASS_NOT_SUP PRE_PROGUARD_P3(CO_, ERROR_, CHANNEL_CLASS_NOT_SUP) 212 #define BT_INSUFFICIENT_SECURITY PRE_PROGUARD_P3(CO_, ERROR_, INSUFFICIENT_SECURITY) 213 #define BT_PARAM_OUT_OF_MAND_RANGE PRE_PROGUARD_P3(CO_, ERROR_, PARAM_OUT_OF_MAND_RANGE) 214 #define BT_ROLE_SWITCH_PEND PRE_PROGUARD_P3(CO_, ERROR_, ROLE_SWITCH_PEND) 215 #define BT_RESERVED_SLOT_VIOLATION PRE_PROGUARD_P3(CO_, ERROR_, RESERVED_SLOT_VIOLATION) 216 #define BT_ROLE_SWITCH_FAIL PRE_PROGUARD_P3(CO_, ERROR_, ROLE_SWITCH_FAIL) 217 #define BT_EIR_TOO_LARGE PRE_PROGUARD_P3(CO_, ERROR_, EIR_TOO_LARGE) 218 #define BT_SP_NOT_SUPPORTED_HOST PRE_PROGUARD_P3(CO_, ERROR_, SP_NOT_SUPPORTED_HOST) 219 #define BT_HOST_BUSY_PAIRING PRE_PROGUARD_P3(CO_, ERROR_, HOST_BUSY_PAIRING) 220 #define BT_CONTROLLER_BUSY PRE_PROGUARD_P3(CO_, ERROR_, CONTROLLER_BUSY) 221 #define BT_UNACCEPTABLE_CONN_PARAM PRE_PROGUARD_P3(CO_, ERROR_, UNACCEPTABLE_CONN_PARAM) 222 #define BT_ADV_TO PRE_PROGUARD_P3(CO_, ERROR_, ADV_TO) 223 #define BT_TERMINATED_MIC_FAILURE PRE_PROGUARD_P3(CO_, ERROR_, TERMINATED_MIC_FAILURE) 224 #define BT_CONN_FAILED_TO_BE_EST PRE_PROGUARD_P3(CO_, ERROR_, CONN_FAILED_TO_BE_EST) 225 #define BT_CCA_REJ_USE_CLOCK_DRAG PRE_PROGUARD_P3(CO_, ERROR_, CCA_REJ_USE_CLOCK_DRAG) 226 #define BT_TYPE0_SUBMAP_NOT_DEFINED PRE_PROGUARD_P3(CO_, ERROR_, TYPE0_SUBMAP_NOT_DEFINED) 227 #define BT_UNKNOWN_ADVERTISING_ID PRE_PROGUARD_P3(CO_, ERROR_, UNKNOWN_ADVERTISING_ID) 228 #define BT_LIMIT_REACHED PRE_PROGUARD_P3(CO_, ERROR_, LIMIT_REACHED) 229 #define BT_OPERATION_CANCELED_BY_HOST PRE_PROGUARD_P3(CO_, ERROR_, OPERATION_CANCELED_BY_HOST) 230 231 #define BT_HW_UART_OUT_OF_SYNC PRE_PROGUARD_P3(CO_, ERROR_, HW_UART_OUT_OF_SYNC) 232 #define BT_HW_MEM_ALLOC_FAIL PRE_PROGUARD_P3(CO_, ERROR_, HW_MEM_ALLOC_FAIL) 233 234 /*chipsea_ohos proguard prefix end*/ 235 236 #endif //__CS_PROGUARD_H 237