Home
last modified time | relevance | path

Searched refs:linkKey (Results 1 – 15 of 15) sorted by relevance

/foundation/communication/bluetooth/services/bluetooth_standard/service/src/classic/
Dclassic_adapter_properties.cpp441 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()
Dclassic_remote_device.cpp234 void ClassicRemoteDevice::SetLinkKey(const std::vector<uint8_t> &linkKey) in SetLinkKey() argument
238 linkKey_ = linkKey; in SetLinkKey()
Dclassic_remote_device.h266 void SetLinkKey(const std::vector<uint8_t> &linkKey);
Dclassic_config.h265 bool SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) const;
Dclassic_config.cpp267 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()
Dclassic_adapter.h531 … 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…
Dclassic_defs.h190 const uint8_t linkKey[PAIR_LINK_KEY_SIZE]; member
Dclassic_adapter.cpp828 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/
Dgap_if.h187 … 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/
Dgap.h253 int GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uin…
Dgap_if.c142 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()
Dgap_br_sec.c1465 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/
Dhci_def_evt.h248 uint8_t linkKey[16]; member
288 uint8_t linkKey[16]; member
Dhci_def_link_ctrl_cmd.h151 uint8_t linkKey[16]; member
Dhci_def_controller_baseband_cmd.h152 uint8_t *linkKey; member