Home
last modified time | relevance | path

Searched refs:ownAddrParams (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt.cpp590 static bool IsRpa(const AdvOwnAddrParams *ownAddrParams) in IsRpa() argument
592 if (ownAddrParams != nullptr && ((ownAddrParams->addr[0] & 0xC0) ^ 0x40) == 0 && in IsRpa()
593 ownAddrParams->addrType == BLE_ADDR_RANDOM) { in IsRpa()
607 * @param ownAddrParams Indicates the own address(little endian) and own address type.
614 const AdvOwnAddrParams *ownAddrParams) in BleStartAdvWithAddr()
617 if (advId == nullptr || rawData == nullptr || advParam == nullptr || !IsRpa(ownAddrParams)) { in BleStartAdvWithAddr()
634 if (!StartAdvAddrTimer(i, ownAddrParams)) { in BleStartAdvWithAddr()
647 std::copy(std::begin(ownAddrParams->addr), std::end(ownAddrParams in BleStartAdvWithAddr()
613 BleStartAdvWithAddr(int *advId, const StartAdvRawData *rawData, const BleAdvParams *advParam, const AdvOwnAddrParams *ownAddrParams) BleStartAdvWithAddr() argument
1427 StartAdvAddrTimer(int advHandle, const AdvOwnAddrParams *ownAddrParams) StartAdvAddrTimer() argument
[all...]
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_gatt.h785 * @param ownAddrParams Indicates the own address(little endian) and own address type.
792 const AdvOwnAddrParams *ownAddrParams);
953 * @param ownAddrParams Indicates the own address(little endian) and own address type.
957 bool StartAdvAddrTimer(int advHandle, const AdvOwnAddrParams *ownAddrParams);

Completed in 6 milliseconds