/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/ |
H A D | connection_ble_client_test.cpp | 230 …ConnBleConnection *connection = ConnBleCreateConnection(addr, BLE_GATT, CONN_SIDE_CLIENT, 100, fal… 292 …ConnBleConnection *connection = ConnBleCreateConnection(addr, BLE_GATT, CONN_SIDE_CLIENT, 100, fal… 307 …ConnBleConnection *bleConnection = ConnBleCreateConnection(bleAddr, BLE_GATT, CONN_SIDE_CLIENT, 2,… 349 …ConnBleConnection *bleConnection = ConnBleCreateConnection(bleAddr, BLE_GATT, CONN_SIDE_CLIENT, 3,… 388 …ConnBleConnection *bleConnection = ConnBleCreateConnection(bleAddr, BLE_GATT, CONN_SIDE_CLIENT, 4,… 421 …ConnBleConnection *bleConnection = ConnBleCreateConnection(bleAddr, BLE_GATT, CONN_SIDE_CLIENT, 5,… 472 …ConnBleConnection *connection = ConnBleCreateConnection(addr, BLE_GATT, CONN_SIDE_CLIENT, 17, fals… 502 …ConnBleConnection *bleConnection = ConnBleCreateConnection(bleAddr, BLE_GATT, CONN_SIDE_CLIENT, 5,… 662 …ConnBleConnection *connection = ConnBleCreateConnection(addr, BLE_GATT, CONN_SIDE_CLIENT, 9, false… 701 …ConnBleConnection *connection = ConnBleCreateConnection(addr, BLE_GATT, CONN_SIDE_CLIENT, 11, fals… [all …]
|
H A D | connection_ble_manager_test.cpp | 329 .bleOption.protocol = BLE_GATT, 399 .bleOption.protocol = BLE_GATT, 474 invalidConnection->protocol = BLE_GATT; 526 option.bleOption.protocol = BLE_GATT; 614 .bleOption.protocol = BLE_GATT, 651 .bleOption.protocol = BLE_GATT, 689 .bleOption.protocol = BLE_GATT, 810 connection->protocol = BLE_GATT; 856 connection->protocol = BLE_GATT; 906 connection->protocol = BLE_GATT; [all …]
|
H A D | ble_service_connection_test.cpp | 307 ConnBleCreateConnection(bleMac, BLE_GATT, CONN_SIDE_CLIENT, INVALID_UNDERLAY_HANDLE, false); 338 ConnBleCreateConnection(bleMac, BLE_GATT, CONN_SIDE_CLIENT, INVALID_UNDERLAY_HANDLE, false); 450 …ConnBleConnection *connection = ConnBleCreateConnection(bleAddr, BLE_GATT, CONN_SIDE_SERVER, 1, fa… 472 …ConnBleConnection *connection = ConnBleCreateConnection(bleAddr, BLE_GATT, CONN_SIDE_SERVER, 11, f… 487 …ConnBleConnection *bleConnection = ConnBleCreateConnection(bleMac, BLE_GATT, CONN_SIDE_SERVER, 20,…
|
H A D | connection_ble_switch_test.cpp | 699 optionInfo.bleOption.protocol = BLE_GATT;
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/ |
H A D | ble_protocol_interface_factory.c | 24 [BLE_GATT] = { 41 if (type != BLE_GATT) { in ConnBleGetUnifyInterface()
|
H A D | softbus_conn_ble_server.c | 296 g_serverEventListener.onServerStarted(BLE_GATT, rc); in BleServiceAddMsgHandler() 408 g_serverEventListener.onServerStarted(BLE_GATT, rc); in BleCharacteristicAddMsgHandler() 470 g_serverEventListener.onServerStarted(BLE_GATT, rc); in BleDescriptorAddMsgHandler() 592 g_serverEventListener.onServerStarted(BLE_GATT, rc); in BleServiceStartMsgHandler() 613 … g_serverEventListener.onServerStarted(BLE_GATT, SOFTBUS_CONN_BLE_SERVER_START_SERVER_TIMEOUT_ERR); in BleServerWaitStartServerTimeoutHandler() 637 …onnection *connection = ConnBleGetConnectionByHandle(underlayerHandle, CONN_SIDE_SERVER, BLE_GATT); in BleConnectServerCallback() 644 …connection = ConnBleCreateConnection(address, BLE_GATT, CONN_SIDE_SERVER, underlayerHandle, false); in BleConnectServerCallback() 744 g_serverEventListener.onServerClosed(BLE_GATT, SOFTBUS_OK); in ConnGattServerStopService() 809 g_serverEventListener.onServerClosed(BLE_GATT, SOFTBUS_OK); in BleServiceStopMsgHandler() 867 g_serverEventListener.onServerClosed(BLE_GATT, SOFTBUS_OK); in BleServiceDeleteMsgHandler() [all …]
|
H A D | softbus_conn_ble_connection.c | 188 for (int i = BLE_GATT; i < BLE_PROTOCOL_MAX; i++) { in ConnBleStartServer() 195 for (int i = BLE_GATT; i < BLE_PROTOCOL_MAX; i++) { in ConnBleStartServer() 220 for (int i = BLE_GATT; i < BLE_PROTOCOL_MAX; i++) { in ConnBleStopServer() 227 for (int i = BLE_GATT; i < BLE_PROTOCOL_MAX; i++) { in ConnBleStopServer() 573 } else if (protocol == BLE_GATT) { in SendBasicInfo() 723 } else if (connection->protocol == BLE_GATT) { in ParseBasicInfo() 797 if (connection->protocol == BLE_GATT) { in BleOnClientFailed() 937 …(g_serverCoordination.status[BLE_GATT] == SOFTBUS_OK && g_serverCoordination.status[BLE_COC] == SO… in BleOnServerClosed() 981 if (g_serverCoordination.status[BLE_GATT] != SOFTBUS_OK) { in DoRetryAction() 982 const BleUnifyInterface *interface = ConnBleGetUnifyInterface(BLE_GATT); in DoRetryAction() [all …]
|
H A D | softbus_conn_ble_client.c | 184 …onnection *connection = ConnBleGetConnectionByHandle(underlayerHandle, CONN_SIDE_CLIENT, BLE_GATT); in BleGattcConnStateCallback() 226 …tion *connection = ConnBleGetConnectionByHandle(ctx->underlayerHandle, CONN_SIDE_CLIENT, BLE_GATT); in ConnectedMsgHandler() 416 …tion *connection = ConnBleGetConnectionByHandle(ctx->underlayerHandle, CONN_SIDE_CLIENT, BLE_GATT); in SearchedMsgHandler() 492 …tion *connection = ConnBleGetConnectionByHandle(ctx->underlayerHandle, CONN_SIDE_CLIENT, BLE_GATT); in NotificatedMsgHandler() 615 …onnection *connection = ConnBleGetConnectionByHandle(underlayerHandle, CONN_SIDE_CLIENT, BLE_GATT); in MtuSettedMsgHandler() 692 …tion *connection = ConnBleGetConnectionByHandle(ctx->underlayerHandle, CONN_SIDE_CLIENT, BLE_GATT); in DisconnectedMsgHandler() 744 …onnection *connection = ConnBleGetConnectionByHandle(underlayerHandle, CONN_SIDE_CLIENT, BLE_GATT); in BleGattcNotificationReceiveCallback()
|
H A D | softbus_conn_ble_manager.c | 179 … device->protocol == BLE_GATT ? SOFTBUS_HISYSEVT_CONN_TYPE_BLE : SOFTBUS_HISYSEVT_CONN_TYPE_COC; in DfxRecordBleConnectFail() 211 …connection->protocol == BLE_GATT ? SOFTBUS_HISYSEVT_CONN_TYPE_BLE : SOFTBUS_HISYSEVT_CONN_TYPE_COC; in DfxRecordBleConnectSuccess() 897 if (connection->protocol == BLE_GATT) { in BleConnectionClosed() 1776 if (option->bleOption.protocol != BLE_GATT && option->bleOption.protocol != BLE_COC) { in BleConnectDevice() 1779 ctx->protocol = BLE_GATT; in BleConnectDevice() 2069 ctx.protocol = BLE_GATT; in ConflictReuseConnection() 2089 …nBleConnection *connection = ConnBleGetConnectionByHandle(underlayHandle, CONN_SIDE_ANY, BLE_GATT); in ConflictPostBytes() 2119 ConnBleConnection *connection = ConnBleGetConnectionByHandle(handle, CONN_SIDE_ANY, BLE_GATT); in ConflictDisconnect() 2238 ConnBleConnection *connection = ConnBleGetClientConnectionByUdid(udid, BLE_GATT); in ConflictGetConnection() 2373 if (it->protocol == BLE_GATT) { in LnnOnlineEventListener()
|
H A D | softbus_conn_ble_trans.c | 627 case BLE_GATT: in BleSendTask()
|
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/common/ |
H A D | softbus_common.h | 263 BLE_GATT = 0, enumerator
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | softbus_trans_proxy_transceiver_test.cpp | 257 connInfo.bleOption.protocol = BLE_GATT; 262 itemConnInfo.bleOption.protocol = BLE_GATT;
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_link.c | 1219 } else if (type == BLE_GATT) { in LaneLinkOfBleReuseCommon() 1229 return LaneLinkOfBleReuseCommon(reqId, reqInfo, callback, BLE_GATT); in LaneLinkOfBleReuse() 1278 linkInfo.linkInfo.ble.protoType = BLE_GATT; in LaneLinkOfBle() 1299 linkInfo.linkInfo.bleDirect.protoType = BLE_GATT; in LaneLinkOfGattDirect()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_manager_test.cpp | 465 info.connInfo.info.bleInfo.protocol = BLE_GATT;
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/br/src/ |
H A D | softbus_conn_br_manager.c | 330 …nnBleConnection *bleConnection = ConnBleGetConnectionByAddr(device->addr, CONN_SIDE_ANY, BLE_GATT); in KeepAliveBleIfSameAddress()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_manager.c | 1060 if (info->connInfo.info.bleInfo.protocol == BLE_GATT && in AuthManagerSetAuthFinished()
|