1{ 2 "name": "@ohos/bluetooth", 3 "version": "", 4 "description": "Provides basic Bluetooth and BLE functions for applications", 5 "homePage": "https://gitee.com/openharmony", 6 "license": "Apache License 2.0", 7 "repository": "https://gitee.com/openharmony/communication_bluetooth", 8 "domain": "os", 9 "language": "", 10 "publishAs": "code-segment", 11 "private": false, 12 "scripts": {}, 13 "tags": [ 14 "foundation" 15 ], 16 "keywords": [ 17 "communication", 18 "bluetooth" 19 ], 20 "envs": [], 21 "dirs": [], 22 "author": { 23 "name": "", 24 "email": "", 25 "url": "" 26 }, 27 "contributors": [ 28 { 29 "name": "", 30 "email": "", 31 "url": "" 32 } 33 ], 34 "segment": { 35 "destPath": "foundation/communication/bluetooth" 36 }, 37 "component": { 38 "name": "bluetooth", 39 "subsystem": "communication", 40 "syscap": [ 41 "SystemCapability.Communication.Bluetooth.Core", 42 "SystemCapability.Communication.Bluetooth.Lite" 43 ], 44 "features": [ 45 "bluetooth_kia_enable" 46 ], 47 "adapted_system_type": [ 48 "standard" 49 ], 50 "rom": "", 51 "ram": "", 52 "hisysevent_config": [ 53 "//foundation/communication/bluetooth/hisysevent.yaml" 54 ], 55 "deps": { 56 "components": [ 57 "ability_base", 58 "ability_runtime", 59 "bundle_framework", 60 "c_utils", 61 "cJSON", 62 "common_event_service", 63 "eventhandler", 64 "ffrt", 65 "hicollie", 66 "hilog", 67 "hisysevent", 68 "hiappevent", 69 "hitrace", 70 "init", 71 "ipc", 72 "libuv", 73 "napi", 74 "samgr", 75 "resource_schedule_service", 76 "security_guard", 77 "runtime_core" 78 ], 79 "third_party": [] 80 }, 81 "build": { 82 "group_type": { 83 "base_group": [], 84 "fwk_group": [ 85 "//foundation/communication/bluetooth/frameworks/inner:btframework", 86 "//foundation/communication/bluetooth/frameworks/inner:btcommon", 87 "//foundation/communication/bluetooth/frameworks/js/napi:bluetooth_napi", 88 "//foundation/communication/bluetooth/frameworks/c_api:bluetooth_ndk", 89 "//foundation/communication/bluetooth/frameworks/cj:bluetooth_ffi", 90 "//foundation/communication/bluetooth/frameworks/ets/taihe/bluetooth_a2dp:bluetoothA2dp_taihe", 91 "//foundation/communication/bluetooth/frameworks/ets/taihe/bluetooth_access:bluetoothAccess_taihe", 92 "//foundation/communication/bluetooth/frameworks/ets/taihe/bluetooth_baseProfile:bluetoothBaseProfile_taihe", 93 "//foundation/communication/bluetooth/frameworks/ets/taihe/bluetooth_ble:bluetoothBle_taihe", 94 "//foundation/communication/bluetooth/frameworks/ets/taihe/bluetooth_connection:bluetoothConnection_taihe", 95 "//foundation/communication/bluetooth/frameworks/ets/taihe/bluetooth_constant:bluetoothConstant_taihe", 96 "//foundation/communication/bluetooth/frameworks/ets/taihe/bluetooth_hfp:bluetoothHfp_taihe", 97 "//foundation/communication/bluetooth/frameworks/ets/taihe/bluetooth_hid:bluetoothHid_taihe" 98 ], 99 "service_group": [ 100 ] 101 }, 102 "inner_kits": [ 103 { 104 "header": { 105 "header_base": "//foundation/communication/bluetooth/interfaces/inner_api/include", 106 "header_files": [ 107 "bluetooth_a2dp_src.h", 108 "bluetooth_ble_central_manager.h", 109 "bluetooth_def.h", 110 "bluetooth_device_class.h", 111 "bluetooth_gatt_characteristic.h", 112 "bluetooth_gatt_client.h", 113 "bluetooth_gatt_descriptor.h", 114 "bluetooth_gatt_manager.h", 115 "bluetooth_gatt_server.h", 116 "bluetooth_gatt_service.h", 117 "bluetooth_host.h", 118 "bluetooth_proxy_manager.h", 119 "bluetooth_remote_device.h", 120 "bluetooth_socket_inputstream.h", 121 "bluetooth_socket_outputstream.h", 122 "bluetooth_socket.h", 123 "bluetooth_profile_manager.h", 124 "bluetooth_no_destructor.h", 125 "c_header/ohos_bt_def.h", 126 "c_header/ohos_bt_gap.h", 127 "c_header/ohos_bt_gatt.h", 128 "c_header/ohos_bt_gatt_client.h", 129 "c_header/ohos_bt_gatt_server.h", 130 "c_header/ohos_bt_spp.h", 131 "uuid.h" 132 ] 133 }, 134 "name": "//foundation/communication/bluetooth/frameworks/inner:btframework" 135 }, 136 { 137 "header": { 138 "header_base": "//foundation/communication/bluetooth/frameworks/inner/ipc", 139 "header_files": [ 140 "common/avrcp_media.h", 141 "common/ble_service_data.h", 142 "common/bluetooth_errorcode.h", 143 "common/bt_def.h", 144 "common/bt_uuid.h", 145 "common/gatt_data.h", 146 "common/hands_free_unit_calls.h", 147 "common/raw_address.h", 148 "interface/bluetooth_service_ipc_interface_code.h", 149 "interface/bluetooth_service_profile_interface_code.h", 150 "interface/i_bluetooth_a2dp_sink.h", 151 "interface/i_bluetooth_a2dp_sink_observer.h", 152 "interface/i_bluetooth_a2dp_src.h", 153 "interface/i_bluetooth_a2dp_src_observer.h", 154 "interface/i_bluetooth_audio_manager.h", 155 "interface/i_bluetooth_avrcp_ct.h", 156 "interface/i_bluetooth_avrcp_ct_observer.h", 157 "interface/i_bluetooth_avrcp_tg.h", 158 "interface/i_bluetooth_avrcp_tg_observer.h", 159 "interface/i_bluetooth_ble_advertiser.h", 160 "interface/i_bluetooth_ble_advertise_callback.h", 161 "interface/i_bluetooth_ble_central_manager.h", 162 "interface/i_bluetooth_ble_central_manager_callback.h", 163 "interface/i_bluetooth_ble_peripheral_observer.h", 164 "interface/i_bluetooth_gatt_client.h", 165 "interface/i_bluetooth_gatt_client_callback.h", 166 "interface/i_bluetooth_gatt_observer.h", 167 "interface/i_bluetooth_gatt_server.h", 168 "interface/i_bluetooth_gatt_server_callback.h", 169 "interface/i_bluetooth_hfp_ag.h", 170 "interface/i_bluetooth_hfp_ag_observer.h", 171 "interface/i_bluetooth_hfp_hf.h", 172 "interface/i_bluetooth_hfp_hf_observer.h", 173 "interface/i_bluetooth_hid_host.h", 174 "interface/i_bluetooth_hid_host_observer.h", 175 "interface/i_bluetooth_host.h", 176 "interface/i_bluetooth_host_observer.h", 177 "interface/i_bluetooth_map_mse.h", 178 "interface/i_bluetooth_map_mse_observer.h", 179 "interface/i_bluetooth_opp.h", 180 "interface/i_bluetooth_opp_observer.h", 181 "interface/i_bluetooth_pan.h", 182 "interface/i_bluetooth_pan_observer.h", 183 "interface/i_bluetooth_pbap_pse.h", 184 "interface/i_bluetooth_pbap_pse_observer.h", 185 "interface/i_bluetooth_remote_device_observer.h", 186 "interface/i_bluetooth_socket.h", 187 "interface/i_bluetooth_socket_observer.h", 188 "parcel/bluetooth_a2dp_a2dpCodecInfo.h", 189 "parcel/bluetooth_a2dp_a2dpCodecStatus.h", 190 "parcel/bluetooth_avrcp_meItem.h", 191 "parcel/bluetooth_avrcp_mpItem.h", 192 "parcel/bluetooth_ble_advertiser_data.h", 193 "parcel/bluetooth_ble_advertiser_settings.h", 194 "parcel/bluetooth_ble_scan_filter.h", 195 "parcel/bluetooth_ble_scan_result.h", 196 "parcel/bluetooth_ble_scan_settings.h", 197 "parcel/bluetooth_bt_uuid.h", 198 "parcel/bluetooth_gatt_characteristic_parcel.h", 199 "parcel/bluetooth_gatt_descriptor_parcel.h", 200 "parcel/bluetooth_gatt_device.h", 201 "parcel/bluetooth_gatt_service_parcel.h", 202 "parcel/bluetooth_hfp_hf_call.h", 203 "parcel/bluetooth_opp_transfer_information.h", 204 "parcel/bluetooth_phone_state.h", 205 "parcel/bluetooth_raw_address.h", 206 "parcel/bluetooth_socket_coc.h", 207 "parcel/parcel_bt_uuid.h" 208 ] 209 }, 210 "name": "//foundation/communication/bluetooth/frameworks/inner:btcommon" 211 }, 212 { 213 "header": { 214 "header_base": "//foundation/communication/bluetooth/frameworks/cj/a2dp/include", 215 "header_files": [] 216 }, 217 "name": "//foundation/communication/bluetooth/frameworks/cj/a2dp:cj_bluetooth_a2dp_ffi" 218 }, 219 { 220 "header": { 221 "header_base": "//foundation/communication/bluetooth/frameworks/cj/access/include", 222 "header_files": [] 223 }, 224 "name": "//foundation/communication/bluetooth/frameworks/cj/access:cj_bluetooth_access_ffi" 225 }, 226 { 227 "header": { 228 "header_base": "//foundation/communication/bluetooth/frameworks/cj/ble/include", 229 "header_files": [] 230 }, 231 "name": "//foundation/communication/bluetooth/frameworks/cj/ble:cj_bluetooth_ble_ffi" 232 }, 233 { 234 "header": { 235 "header_base": "//foundation/communication/bluetooth/frameworks/cj/connection/include", 236 "header_files": [] 237 }, 238 "name": "//foundation/communication/bluetooth/frameworks/cj/connection:cj_bluetooth_connection_ffi" 239 }, 240 { 241 "header": { 242 "header_base": "//foundation/communication/bluetooth/frameworks/cj/hfp/include", 243 "header_files": [] 244 }, 245 "name": "//foundation/communication/bluetooth/frameworks/cj/hfp:cj_bluetooth_hfp_ffi" 246 }, 247 { 248 "header": { 249 "header_base": "//foundation/communication/bluetooth/frameworks/cj/hid/include", 250 "header_files": [] 251 }, 252 "name": "//foundation/communication/bluetooth/frameworks/cj/hid:cj_bluetooth_hid_ffi" 253 }, 254 { 255 "header": { 256 "header_base": "//foundation/communication/bluetooth/frameworks/cj/socket/include", 257 "header_files": [] 258 }, 259 "name": "//foundation/communication/bluetooth/frameworks/cj/socket:cj_bluetooth_socket_ffi" 260 }, 261 { 262 "header": { 263 "header_base": "//foundation/communication/bluetooth/frameworks/js/napi", 264 "header_files": [ 265 "include/napi_event_subscribe_module.h", 266 "include/napi_bluetooth_utils.h", 267 "include/napi_bluetooth_event.h", 268 "include/napi_bluetooth_error.h", 269 "include/napi_native_object.h", 270 "src/parser/napi_parser_utils.h" 271 ] 272 }, 273 "name": "//foundation/communication/bluetooth/frameworks/js/napi/src/common:bt_napi_common" 274 } 275 ], 276 "test": [ 277 "//foundation/communication/bluetooth/test:unit_test" 278 ] 279 } 280 } 281} 282