Home
last modified time | relevance | path

Searched refs:strAddress (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gap.cpp445 string strAddress; in PairRequestReply() local
446 ConvertAddr(bdAddr->addr, strAddress); in PairRequestReply()
447 HILOGI("device: %{public}s", GetEncryptAddr(strAddress).c_str()); in PairRequestReply()
450 remoteDevice = g_BluetoothHost->GetRemoteDevice(strAddress, BT_TRANSPORT_BREDR); in PairRequestReply()
452 remoteDevice = g_BluetoothHost->GetRemoteDevice(strAddress, BT_TRANSPORT_BLE); in PairRequestReply()
464 string strAddress; in SetDevicePairingConfirmation() local
465 ConvertAddr(bdAddr->addr, strAddress); in SetDevicePairingConfirmation()
466 HILOGI("device: %{public}s, accept: %{public}d", GetEncryptAddr(strAddress).c_str(), accept); in SetDevicePairingConfirmation()
469 remoteDevice = g_BluetoothHost->GetRemoteDevice(strAddress, BT_TRANSPORT_BREDR); in SetDevicePairingConfirmation()
471 remoteDevice = g_BluetoothHost->GetRemoteDevice(strAddress, BT_TRANSPORT_BL in SetDevicePairingConfirmation()
[all...]
H A Dohos_bt_socket.cpp200 string strAddress; in SocketSetFastConnection() local
206 ConvertAddr(bdAddr->addr, strAddress); in SocketSetFastConnection()
209 BluetoothRemoteDevice device(strAddress, leType); in SocketSetFastConnection()
238 string strAddress; in SocketConnect() local
239 ConvertAddr(bdAddr->addr, strAddress); in SocketConnect()
240 std::shared_ptr<BluetoothRemoteDevice> device = std::make_shared<BluetoothRemoteDevice>(strAddress, 0); in SocketConnect()
282 string strAddress; in SocketConnectEx() local
283 ConvertAddr(bdAddr->addr, strAddress); in SocketConnectEx()
284 std::shared_ptr<BluetoothRemoteDevice> device = std::make_shared<BluetoothRemoteDevice>(strAddress, 0); in SocketConnectEx()
H A Dohos_bt_gatt_client.cpp419 string strAddress; in BleGattcConnect() local
420 ConvertAddr(bdAddr->addr, strAddress); in BleGattcConnect()
422 clientId, GetEncryptAddr(strAddress).c_str(), isAutoConnect); in BleGattcConnect()
424 if (iter->second.gattClient != nullptr && iter->second.remoteAddr == strAddress) { in BleGattcConnect()
429 BluetoothRemoteDevice device(strAddress, transport); in BleGattcConnect()
446 iter->second.remoteAddr = strAddress; in BleGattcConnect()
482 string strAddress; in BleGattcSetPriority() local
483 ConvertAddr(bdAddr->addr, strAddress); in BleGattcSetPriority()
485 clientId, GetEncryptAddr(strAddress).c_str(), priority); in BleGattcSetPriority()
486 if (iter->second.gattClient == nullptr || iter->second.remoteAddr != strAddress) { in BleGattcSetPriority()
[all...]
H A Dohos_bt_gatt_server.cpp662 string strAddress; in BleGattsConnect() local
663 GetAddrFromByte(bdAddr.addr, strAddress); in BleGattsConnect()
664 BluetoothRemoteDevice device(strAddress, BT_TRANSPORT_BLE); in BleGattsConnect()
686 string strAddress; in BleGattsDisconnect() local
687 GetAddrFromByte(bdAddr.addr, strAddress); in BleGattsDisconnect()
688 BluetoothRemoteDevice device(strAddress, BT_TRANSPORT_BLE); in BleGattsDisconnect()
1033 string strAddress; in BleGattsSendResponse() local
1034 GetAddrFromByte(value.remoteAddr.addr, strAddress); in BleGattsSendResponse()
1036 BluetoothRemoteDevice device(strAddress, 1); in BleGattsSendResponse()
1079 string strAddress; in BleGattsSendIndication() local
[all...]

Completed in 5 milliseconds