Home
last modified time | relevance | path

Searched refs:BLE_GATT (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dconnection_ble_client_test.cpp230 …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 Dconnection_ble_manager_test.cpp329 .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 Dble_service_connection_test.cpp307 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 Dconnection_ble_switch_test.cpp699 optionInfo.bleOption.protocol = BLE_GATT;
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dble_protocol_interface_factory.c24 [BLE_GATT] = {
41 if (type != BLE_GATT) { in ConnBleGetUnifyInterface()
H A Dsoftbus_conn_ble_server.c296 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 Dsoftbus_conn_ble_connection.c188 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 Dsoftbus_conn_ble_client.c184 …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 Dsoftbus_conn_ble_manager.c179 … 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 Dsoftbus_conn_ble_trans.c627 case BLE_GATT: in BleSendTask()
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/common/
H A Dsoftbus_common.h263 BLE_GATT = 0, enumerator
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dsoftbus_trans_proxy_transceiver_test.cpp257 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 Dlnn_lane_link.c1219 } 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 Dauth_manager_test.cpp465 info.connInfo.info.bleInfo.protocol = BLE_GATT;
/ohos5.0/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_manager.c330 …nnBleConnection *bleConnection = ConnBleGetConnectionByAddr(device->addr, CONN_SIDE_ANY, BLE_GATT); in KeepAliveBleIfSameAddress()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_manager.c1060 if (info->connInfo.info.bleInfo.protocol == BLE_GATT && in AuthManagerSetAuthFinished()