/foundation/communication/bluetooth/services/bluetooth_standard/service/src/classic/ |
D | classic_adapter_properties.cpp | 441 std::vector<uint8_t> linkKey; in GetPairedDevice() local 442 ClassicUtils::ConvertHexStringToInt(key, linkKey); in GetPairedDevice() 443 remote->SetLinkKey(linkKey); in GetPairedDevice() 491 std::vector<uint8_t> linkKey = remote->GetLinkKey(); in SavePairedDeviceInfo() local 492 std::string key = ClassicUtils::ConvertIntToHexString(linkKey); in SavePairedDeviceInfo()
|
D | classic_remote_device.cpp | 234 void ClassicRemoteDevice::SetLinkKey(const std::vector<uint8_t> &linkKey) in SetLinkKey() argument 238 linkKey_ = linkKey; in SetLinkKey()
|
D | classic_remote_device.h | 266 void SetLinkKey(const std::vector<uint8_t> &linkKey);
|
D | classic_config.h | 265 bool SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) const;
|
D | classic_config.cpp | 267 bool ClassicConfig::SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) con… in SetRemoteLinkkey() 269 if (!config_->SetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_LINK_KEY, linkKey)) { in SetRemoteLinkkey()
|
D | classic_adapter.h | 531 … const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context); 887 …void ReceiveLinkKeyNotification(const BtAddr &addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8…
|
D | classic_defs.h | 190 const uint8_t linkKey[PAIR_LINK_KEY_SIZE]; member
|
D | classic_adapter.cpp | 828 const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context) in LinkKeyNotification() 835 …(void)memcpy_s((void *)param.linkKeyNotificationParam_.linkKey, GAP_LINKKEY_SIZE, linkKey, GAP_LIN… in LinkKeyNotification() 966 param.linkKeyNotificationParam_.linkKey, in HandleSecurityEvent() 1517 const BtAddr &addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) in ReceiveLinkKeyNotification() 1536 std::vector<uint8_t> linkKeyVec(linkKey, (linkKey + GAP_LINKKEY_SIZE)); in ReceiveLinkKeyNotification() 2146 std::vector<uint8_t> linkKey = remoteDevice->GetLinkKey(); in SetLinkKey() local 2147 if (memcpy_s(key, linkKey.size(), &linkKey[0], linkKey.size()) != EOK) { in SetLinkKey()
|
/foundation/communication/bluetooth/services/bluetooth_standard/stack/include/ |
D | gap_if.h | 187 … const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context); 441 const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType);
|
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/gap/ |
D | gap.h | 253 int GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uin…
|
D | gap_if.c | 142 uint8_t *linkKey; member 925 info->result = GAP_LinkKeyRsp(info->addr, info->accept, info->linkKey, info->keyType); in GapLinkKeyRspTask() 928 int GAPIF_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], u… in GAPIF_LinkKeyRsp() 941 ctx->linkKey = (uint8_t *)linkKey; in GAPIF_LinkKeyRsp()
|
D | gap_br_sec.c | 1465 static int GapLinkKeyRequestReply(const BtAddr *addr, const uint8_t *linkKey) in GapLinkKeyRequestReply() argument 1469 if (memcpy_s(hciCmdParam.linkKey, GAP_LINKKEY_SIZE, linkKey, GAP_LINKKEY_SIZE) != EOK) { in GapLinkKeyRequestReply() 1523 … &addr, (uint8_t *)eventParam->linkKey, eventParam->keyType, g_authenticationCallback.context); in GapOnLinkKeyNotificationEvent() 1575 int GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uin… in GAP_LinkKeyRsp() 1583 if (addr == NULL || linkKey == NULL) { in GAP_LinkKeyRsp() 1596 ret = GapLinkKeyRequestReply(addr, linkKey); in GAP_LinkKeyRsp()
|
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/hci/ |
D | hci_def_evt.h | 248 uint8_t linkKey[16]; member 288 uint8_t linkKey[16]; member
|
D | hci_def_link_ctrl_cmd.h | 151 uint8_t linkKey[16]; member
|
D | hci_def_controller_baseband_cmd.h | 152 uint8_t *linkKey; member
|