/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_adapter_properties.cpp | 443 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 D | classic_remote_device.cpp | 235 void ClassicRemoteDevice::SetLinkKey(const std::vector<uint8_t> &linkKey) in SetLinkKey() argument 239 linkKey_ = linkKey; in SetLinkKey()
|
H A D | classic_remote_device.h | 265 * @param linkKey Link key. 267 void SetLinkKey(const std::vector<uint8_t> &linkKey); 272 * @param linkKey Link key type.
|
H A D | classic_config.h | 262 * @param linkKey Link key. 266 bool SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) const;
|
H A D | classic_config.cpp | 268 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 D | classic_defs.h | 199 const uint8_t linkKey[PAIR_LINK_KEY_SIZE]; member
|
H A D | classic_adapter.cpp | 833 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 D | classic_adapter.h | 539 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 D | gap_if.h | 192 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 D | gap.h | 248 * @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 D | gap_if.c | 142 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 D | gap_br_sec.c | 1494 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 D | hci_def_evt.h | 248 uint8_t linkKey[16]; member 288 uint8_t linkKey[16]; member
|
H A D | hci_def_link_ctrl_cmd.h | 151 uint8_t linkKey[16]; member
|
H A D | hci_def_controller_baseband_cmd.h | 152 uint8_t *linkKey; member
|