Home
last modified time | relevance | path

Searched refs:bleMac (Results 1 – 25 of 26) sorted by relevance

12

/foundation/communication/dsoftbus/core/bus_center/utils/src/
Dlnn_connection_addr_utils.c36 strncmp(addr1->info.ble.bleMac, addr2->info.ble.bleMac, BT_MAC_LEN) == 0; in LnnIsSameConnectionAddr()
67 if (strncpy_s(option->bleOption.bleMac, BT_MAC_LEN, addr->info.ble.bleMac, in LnnConvertAddrToOption()
68 strlen(addr->info.ble.bleMac)) != EOK) { in LnnConvertAddrToOption()
106 if (strncpy_s(addr->info.ble.bleMac, BT_MAC_LEN, option->bleOption.bleMac, in LnnConvertOptionToAddr()
107 strlen(option->bleOption.bleMac)) != EOK) { in LnnConvertOptionToAddr()
177 if (strcpy_s(connInfo->info.bleInfo.bleMac, BT_MAC_LEN, addr->info.ble.bleMac) != EOK || in LnnConvertAddrToAuthConnInfo()
213 if (strcpy_s(addr->info.ble.bleMac, BT_MAC_LEN, connInfo->info.bleInfo.bleMac) != EOK) { in LnnConvertAuthConnInfoToAddr()
/foundation/communication/dsoftbus/tests/sdk/discovery/account/
Ddisc_account_test.cpp76 …if (ConvertBtMacToStr(g_addr.info.ble.bleMac, 18, (const uint8_t *)&(device->addr[0].info.ble.bleM… in TestDeviceFound()
79 if (strcmp(g_addr1.info.ble.bleMac, g_addr.info.ble.bleMac) != 0) { in TestDeviceFound()
80 strcpy_s(g_addr1.info.ble.bleMac, BT_MAC_LEN, g_addr.info.ble.bleMac); in TestDeviceFound()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/ble/phone/
Dble_auth_channel_phone_test.cpp90 …if (ConvertBtMacToStr(g_addr.info.ble.bleMac, 18, (const uint8_t *)&(device->addr[0].info.ble.bleM… in TestDeviceFound()
93 if (strcmp(g_addr1.info.ble.bleMac, g_addr.info.ble.bleMac) != 0) { in TestDeviceFound()
96 if (strcpy_s(g_addr1.info.ble.bleMac, BT_MAC_LEN, g_addr.info.ble.bleMac) != EOK) { in TestDeviceFound()
100 printf("addr mac = %s\r\n", g_addr1.info.ble.bleMac); in TestDeviceFound()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/ble/board/
Dble_auth_channel_test.cpp116 …if (ConvertBtMacToStr(g_addr.info.ble.bleMac, 18, (const uint8_t *)&(device->addr[0].info.ble.bleM… in TestDeviceFound()
119 if (strcmp(g_addr1.info.ble.bleMac, g_addr.info.ble.bleMac) != 0) { in TestDeviceFound()
122 if (strcpy_s(g_addr1.info.ble.bleMac, BT_MAC_LEN, g_addr.info.ble.bleMac) != EOK) { in TestDeviceFound()
126 printf("addr mac = %s\r\n", g_addr1.info.ble.bleMac); in TestDeviceFound()
/foundation/communication/dsoftbus/tests/core/connection/ble/
Dconnection_ble_switch_test.cpp127 (void)memcpy_s(info.info.bleOption.bleMac, BT_MAC_LEN, TEST_BLE_MAC, BT_MAC_LEN);
128 printf("brMac: %s\n", info.info.bleOption.bleMac);
180 (void)memcpy_s(optionInfo.info.bleOption.bleMac, BT_MAC_LEN, TEST_BLE_MAC, BT_MAC_LEN);
181 printf("bleMac: %s\n", optionInfo.info.bleOption.bleMac);
225 (void)memcpy_s(info.info.bleOption.bleMac, BT_MAC_LEN, TEST_BLE_MAC, BT_MAC_LEN);
226 printf("brMac: %s\n", info.info.bleOption.bleMac);
282 (void)memcpy_s(optionInfo.info.bleOption.bleMac, BT_MAC_LEN, TEST_BLE_MAC, BT_MAC_LEN);
331 (void)memcpy_s(info.info.bleOption.bleMac, BT_MAC_LEN, TEST_BLE_MAC, BT_MAC_LEN);
387 (void)memcpy_s(info.info.bleOption.bleMac, BT_MAC_LEN, TEST_BLE_MAC, BT_MAC_LEN);
447 (void)memcpy_s(optionInfo.info.bleOption.bleMac, BT_MAC_LEN, TEST_BLE_MAC, BT_MAC_LEN);
[all …]
/foundation/communication/dsoftbus/core/connection/interface/
Dsoftbus_conn_interface.h79 char bleMac[BT_MAC_LEN]; member
140 char bleMac[BT_MAC_LEN]; member
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
Dlnn_lane_link_proc.h51 char bleMac[BT_MAC_LEN]; member
Dlnn_lane_interface.h67 char bleMac[BT_MAC_LEN]; member
/foundation/communication/dsoftbus/core/authentication/src/
Dauth_common.c301 … if (strcpy_s(option->bleOption.bleMac, BT_MAC_LEN, connInfo->info.bleInfo.bleMac) != EOK || in ConvertToConnectOption()
354 if (strcpy_s(connInfo->info.bleInfo.bleMac, BT_MAC_LEN, info->bleInfo.bleMac) != EOK || in ConvertToAuthConnInfo()
/foundation/communication/dsoftbus/core/connection/ble/src/
Dsoftbus_ble_connection.c228 if (memcmp(itemNode->info.bleInfo.bleMac, strAddr, BT_MAC_LEN) == 0) { in GetBleConnInfoByAddr()
283 if (strcpy_s(connectionInfo.bleInfo.bleMac, BT_MAC_LEN, itemNode->info.bleInfo.bleMac) != EOK) { in BleDeviceConnected()
318 if (strcpy_s(newConnectionInfo->info.bleInfo.bleMac, BT_MAC_LEN, in NewBleConnection()
319 option->bleOption.bleMac) != EOK) { in NewBleConnection()
324 if (ConvertBtMacToBinary(option->bleOption.bleMac, BT_MAC_LEN, in NewBleConnection()
344 if (GetBleConnInfoByAddr(option->bleOption.bleMac, &server, &client) != SOFTBUS_OK) { in UpdataBleConnectionUnsafe()
401 if (GetBleConnInfoByAddr(option->bleOption.bleMac, &server, &client) != SOFTBUS_OK) { in BleConnectDevice()
765 ret = GetBleConnInfoByAddr(option->bleOption.bleMac, &server, &client); in BleDisconnectDeviceNow()
974 if (memcpy_s(newNode->info.bleInfo.bleMac, BT_MAC_LEN, bleStrMac, BT_MAC_LEN) != EOK) { in BleServerConnectCallback()
1474 char bleMac[BT_MAC_LEN] = {0}; in BleConnectionDump() local
[all …]
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
Dlnn_lane_common.c51 if (memcpy_s(connInfo->connInfo.ble.bleMac, BT_MAC_LEN, in BleInfoProc()
52 linkInfo->linkInfo.ble.bleMac, BT_MAC_LEN) != EOK) { in BleInfoProc()
/foundation/communication/dsoftbus/interfaces/kits/common/
Dsoftbus_common.h219 char bleMac[BT_MAC_LEN]; /**< BLE MAC address in string format */ member
/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/
Ddisc_ble.c396 char bleMac[BT_MAC_LEN] = {0}; in ConvertBleAddr() local
397 if (ConvertBtMacToStr(bleMac, BT_MAC_LEN, in ConvertBleAddr()
398 (uint8_t *)foundInfo->addr[0].info.ble.bleMac, BT_ADDR_LEN) != SOFTBUS_OK) { in ConvertBleAddr()
402 (void)memset_s(foundInfo->addr[0].info.ble.bleMac, BT_MAC_LEN, 0, BT_MAC_LEN); in ConvertBleAddr()
403 (void)memcpy_s(foundInfo->addr[0].info.ble.bleMac, BT_MAC_LEN, bleMac, BT_MAC_LEN); in ConvertBleAddr()
484 …if (memcpy_s(foundInfo.addr[0].info.ble.bleMac, BT_ADDR_LEN, scanResultData->addr.addr, BT_ADDR_LE… in ProcessDistributePacket()
1698 char bleMac[BT_MAC_LEN] = {0}; in BleAdvertiserDump() local
1714 DataMasking(g_bleAdvertiser[i].deviceInfo.addr[CONNECTION_ADDR_BLE].info.ble.bleMac, in BleAdvertiserDump()
1715 BT_MAC_LEN, MAC_DELIMITER, bleMac); in BleAdvertiserDump()
1716 SOFTBUS_DPRINTF(fd, "Connection bleMac : %s\n", bleMac); in BleAdvertiserDump()
/foundation/communication/dsoftbus/core/connection/manager/
Dsoftbus_conn_manager.c84 if (strcasecmp(src->bleInfo.bleMac, dst->bleInfo.bleMac) != 0) { in CompareConnectInfo()
386 … if (memcpy_s(&conInfo.bleInfo.bleMac, BT_MAC_LEN, info->bleOption.bleMac, BT_MAC_LEN) != EOK) { in RecordStartTime()
/foundation/communication/dsoftbus/core/frame/standard/init/src/
Dsoftbus_server.cpp145 …if (memcpy_s(connOpt.bleOption.bleMac, BT_MAC_LEN, addrInfo->info.ble.bleMac, BT_MAC_LEN) != EOK) { in OpenAuthSession()
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/
Dtrans_lane_pending_ctl.c523 if (strcpy_s(connOpt->bleOption.bleMac, sizeof(connOpt->bleOption.bleMac), in SetBleConnInfo()
524 bleInfo->bleMac) != EOK) { in SetBleConnInfo()
/foundation/communication/dsoftbus/core/authentication/interface/
Dauth_interface.h57 char bleMac[BT_MAC_LEN]; member
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
Dsoftbus_proxychannel_transceiver.c483 if (strcmp(connInfo->bleOption.bleMac, item->connInfo.bleOption.bleMac) == 0) { in TransGetConn()
/foundation/communication/dsoftbus/
DREADME_zh.md131 char bleMac[BT_MAC_LEN];
DREADME.md130 char bleMac[BT_MAC_LEN];
/foundation/communication/dsoftbus/tests/core/connection/manager/
Dconnection_manager_test.cpp461 (void)memcpy_s(info.bleOption.bleMac, BT_MAC_LEN, testBleMac, BT_MAC_LEN);
/foundation/communication/dsoftbus/sdk/bus_center/manager/src/
Dclient_bus_center_manager.c100 return strncmp(addr1->info.ble.bleMac, addr2->info.ble.bleMac, BT_MAC_LEN) == 0; in IsSameConnectionAddr()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
Dsoftbus_connector.cpp380 jsonPara[BLE_MAC] = addr->info.ble.bleMac; in GetConnectAddr()
/foundation/communication/dsoftbus/sdk/transmission/session/src/
Dclient_trans_session_service.c279 if (GetJsonObjectStringItem(obj, "BLE_MAC", addrInfo->info.ble.bleMac, BT_MAC_LEN)) { in ConvertAddrStr()
/foundation/distributedhardware/device_manager/test/unittest/
DUTTest_softbus_connector.cpp621 (void)strncpy_s(deviceInfo->addr[0].info.ble.bleMac, IP_STR_MAX_LEN, BLE_MAC, strlen(BLE_MAC));

12