Home
last modified time | relevance | path

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

/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter_properties.cpp443 LOG_DEBUG("Get linkKey value is %{public}s", key.c_str()); in GetPairedDevice()
444 std::vector<uint8_t> linkKey; in GetPairedDevice() local
445 ClassicUtils::ConvertHexStringToInt(key, linkKey); in GetPairedDevice()
446 remote->SetLinkKey(linkKey); in GetPairedDevice()
494 std::vector<uint8_t> linkKey = remote->GetLinkKey(); in SavePairedDeviceInfo() local
495 std::string key = ClassicUtils::ConvertIntToHexString(linkKey); in SavePairedDeviceInfo()
H A Dclassic_remote_device.cpp235 void ClassicRemoteDevice::SetLinkKey(const std::vector<uint8_t> &linkKey) in SetLinkKey() argument
239 linkKey_ = linkKey; in SetLinkKey()
H A Dclassic_remote_device.h265 * @param linkKey Link key.
267 void SetLinkKey(const std::vector<uint8_t> &linkKey);
272 * @param linkKey Link key type.
H A Dclassic_config.h262 * @param linkKey Link key.
266 bool SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) const;
H A Dclassic_config.cpp268 bool ClassicConfig::SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) const in SetRemoteLinkkey()
270 if (!config_->SetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_LINK_KEY, linkKey)) { in SetRemoteLinkkey()
H A Dclassic_defs.h199 const uint8_t linkKey[PAIR_LINK_KEY_SIZE]; member
H A Dclassic_adapter.cpp833 const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context) in LinkKeyNotification()
840 (void)memcpy_s((void *)param.linkKeyNotificationParam_.linkKey, GAP_LINKKEY_SIZE, linkKey, GAP_LINKKEY_SIZE); in LinkKeyNotification()
972 param.linkKeyNotificationParam_.linkKey, in HandleSecurityEvent()
1514 const BtAddr &addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) in ReceiveLinkKeyNotification()
1531 /// Bondable mode is on, then save the linkKey and keyType in ReceiveLinkKeyNotification()
1533 std::vector<uint8_t> linkKeyVec(linkKey, (linkKey + GAP_LINKKEY_SIZE)); in ReceiveLinkKeyNotification()
2150 std::vector<uint8_t> linkKey = remoteDevice->GetLinkKey(); in SetLinkKey() local
2151 if (memcpy_s(key, linkKey in SetLinkKey()
832 LinkKeyNotification( const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context) LinkKeyNotification() argument
1513 ReceiveLinkKeyNotification( const BtAddr &addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) ReceiveLinkKeyNotification() argument
[all...]
H A Dclassic_adapter.h539 const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context);
896 * @param linkKey Link key.
899 void ReceiveLinkKeyNotification(const BtAddr &addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType);
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dgap_if.h192 const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context);
440 * @param[in] linkKey link key
446 const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType);
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap.h248 * @param[in] linkKey link key
253 int GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType);
H A Dgap_if.c142 uint8_t *linkKey; member
926 info->result = GAP_LinkKeyRsp(info->addr, info->accept, info->linkKey, info->keyType); in GapLinkKeyRspTask()
929 int GAPIF_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) in GAPIF_LinkKeyRsp() argument
943 ctx->linkKey = (uint8_t *)linkKey; in GAPIF_LinkKeyRsp()
H A Dgap_br_sec.c1494 static int GapLinkKeyRequestReply(const BtAddr *addr, const uint8_t *linkKey) in GapLinkKeyRequestReply() argument
1498 if (memcpy_s(hciCmdParam.linkKey, GAP_LINKKEY_SIZE, linkKey, GAP_LINKKEY_SIZE) != EOK) { in GapLinkKeyRequestReply()
1552 &addr, (uint8_t *)eventParam->linkKey, eventParam->keyType, g_authenticationCallback.context); in GapOnLinkKeyNotificationEvent()
1605 int GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) in GAP_LinkKeyRsp() argument
1613 if (addr == NULL || linkKey == NULL) { in GAP_LinkKeyRsp()
1627 ret = GapLinkKeyRequestReply(addr, linkKey); in GAP_LinkKeyRsp()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci_def_evt.h248 uint8_t linkKey[16]; member
288 uint8_t linkKey[16]; member
H A Dhci_def_link_ctrl_cmd.h151 uint8_t linkKey[16]; member
H A Dhci_def_controller_baseband_cmd.h152 uint8_t *linkKey; member

Completed in 20 milliseconds