/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
D | lnn_connection_addr_utils.c | 36 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/ |
D | disc_account_test.cpp | 76 …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/ |
D | ble_auth_channel_phone_test.cpp | 90 …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/ |
D | ble_auth_channel_test.cpp | 116 …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/ |
D | connection_ble_switch_test.cpp | 127 (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/ |
D | softbus_conn_interface.h | 79 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/ |
D | lnn_lane_link_proc.h | 51 char bleMac[BT_MAC_LEN]; member
|
D | lnn_lane_interface.h | 67 char bleMac[BT_MAC_LEN]; member
|
/foundation/communication/dsoftbus/core/authentication/src/ |
D | auth_common.c | 301 … 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/ |
D | softbus_ble_connection.c | 228 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/ |
D | lnn_lane_common.c | 51 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/ |
D | softbus_common.h | 219 char bleMac[BT_MAC_LEN]; /**< BLE MAC address in string format */ member
|
/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/ |
D | disc_ble.c | 396 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/ |
D | softbus_conn_manager.c | 84 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/ |
D | softbus_server.cpp | 145 …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/ |
D | trans_lane_pending_ctl.c | 523 if (strcpy_s(connOpt->bleOption.bleMac, sizeof(connOpt->bleOption.bleMac), in SetBleConnInfo() 524 bleInfo->bleMac) != EOK) { in SetBleConnInfo()
|
/foundation/communication/dsoftbus/core/authentication/interface/ |
D | auth_interface.h | 57 char bleMac[BT_MAC_LEN]; member
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
D | softbus_proxychannel_transceiver.c | 483 if (strcmp(connInfo->bleOption.bleMac, item->connInfo.bleOption.bleMac) == 0) { in TransGetConn()
|
/foundation/communication/dsoftbus/ |
D | README_zh.md | 131 char bleMac[BT_MAC_LEN];
|
D | README.md | 130 char bleMac[BT_MAC_LEN];
|
/foundation/communication/dsoftbus/tests/core/connection/manager/ |
D | connection_manager_test.cpp | 461 (void)memcpy_s(info.bleOption.bleMac, BT_MAC_LEN, testBleMac, BT_MAC_LEN);
|
/foundation/communication/dsoftbus/sdk/bus_center/manager/src/ |
D | client_bus_center_manager.c | 100 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/ |
D | softbus_connector.cpp | 380 jsonPara[BLE_MAC] = addr->info.ble.bleMac; in GetConnectAddr()
|
/foundation/communication/dsoftbus/sdk/transmission/session/src/ |
D | client_trans_session_service.c | 279 if (GetJsonObjectStringItem(obj, "BLE_MAC", addrInfo->info.ble.bleMac, BT_MAC_LEN)) { in ConvertAddrStr()
|
/foundation/distributedhardware/device_manager/test/unittest/ |
D | UTTest_softbus_connector.cpp | 621 (void)strncpy_s(deviceInfo->addr[0].info.ble.bleMac, IP_STR_MAX_LEN, BLE_MAC, strlen(BLE_MAC));
|