/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_advertiser_impl.h | 156 static void AdvReadTxPower(uint8_t status, int8_t txPower, void *context); 346 void HandleGapEvent(const BLE_GAP_CB_EVENT &event, int status, int8_t txPower = 0); 347 void HandleGapExAdvEvent(const BLE_GAP_CB_EVENT &event, int status, int8_t txPower = 0, uint8_t handle = 0); 353 void GapAdvReadTxPowerEvt(int status, int8_t txPower) const; 354 void GapAdvDataSetCompleteEvt(int status, int8_t txPower) const; 360 void GapExAdvParamSetCompleteEvt(int status, int8_t txPower) const; 361 void GapExAdvDataSetCompleteEvt(int status, int8_t txPower);
|
H A D | ble_advertiser_impl.cpp | 87 void BleAdvertiserImpl::AdvReadTxPower(uint8_t status, int8_t txPower, void *context) in AdvReadTxPower() argument 94 &BleAdvertiserImpl::HandleGapEvent, bleAdvertiser, BLE_GAP_ADV_READ_TXPOWER_EVT, status, txPower)); in AdvReadTxPower() 1289 void BleAdvertiserImpl::GapAdvReadTxPowerEvt(int status, int8_t txPower) const in GapAdvReadTxPowerEvt() 1310 int ret = SetAdvDataToGap(txPowerIter->second.advData_, txPowerIter->second.settings_, txPower); in GapAdvReadTxPowerEvt() 1320 void BleAdvertiserImpl::GapAdvDataSetCompleteEvt(int status, int8_t txPower) const in GapAdvDataSetCompleteEvt() 1341 int ret = SetAdvScanRspDataToGap(dataIter->second.rspData_, dataIter->second.settings_, txPower); in GapAdvDataSetCompleteEvt() 1472 void BleAdvertiserImpl::HandleGapEvent(const BLE_GAP_CB_EVENT &event, int status, int8_t txPower) in HandleGapEvent() argument 1481 GapAdvReadTxPowerEvt(status, txPower); in HandleGapEvent() 1484 GapAdvDataSetCompleteEvt(status, txPower); in HandleGapEvent() 1537 void BleAdvertiserImpl::GapExAdvParamSetCompleteEvt(int status, int8_t txPower) cons 1585 GapExAdvDataSetCompleteEvt(int status, int8_t txPower) GapExAdvDataSetCompleteEvt() argument 1865 HandleGapExAdvEvent(const BLE_GAP_CB_EVENT &event, int status, int8_t txPower, uint8_t handle) HandleGapExAdvEvent() argument [all...] |
/foundation/communication/dsoftbus/tests/adapter/broadcast/ |
H A D | softbus_ble_utils_test.cpp | 91 softbusAdvParam.txPower = 1; in HWTEST() 104 EXPECT_EQ(bleAdvParams.txPower, softbusAdvParam.txPower); in HWTEST() 122 btScanResult.txPower = 1; in HWTEST() 134 EXPECT_EQ(softbusScanResult.txPower, btScanResult.txPower); in HWTEST()
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/include/ |
H A D | softbus_broadcast_adapter_type.h | 131 int8_t txPower; member 151 int8_t txPower; member
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/ |
H A D | hci_def_le_evt.h | 206 uint8_t txPower; member 238 uint8_t txPower; member
|
H A D | hci_def_controller_baseband_cmd.h | 715 uint8_t txPower; member 723 uint8_t txPower; member
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/interface/ |
H A D | softbus_broadcast_type.h | 373 int8_t txPower; member 393 int8_t txPower; member
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/ |
H A D | gap_le_adv.c | 153 uint8_t advHandle, uint8_t properties, int8_t txPower, GapLeExAdvParam advExParam) in GapLeSetExtendedAdvertisingParameters() 171 hciCmdParam.advertisingTxPower = txPower; in GapLeSetExtendedAdvertisingParameters() 189 int GAP_LeExAdvSetParam(uint8_t advHandle, uint8_t properties, int8_t txPower, GapLeExAdvParam advExParam) in GAP_LeExAdvSetParam() argument 200 ret = GapLeSetExtendedAdvertisingParameters(advHandle, properties, txPower, advExParam); in GAP_LeExAdvSetParam() 152 GapLeSetExtendedAdvertisingParameters( uint8_t advHandle, uint8_t properties, int8_t txPower, GapLeExAdvParam advExParam) GapLeSetExtendedAdvertisingParameters() argument
|
H A D | gap_le.h | 108 * @param[in] txPower advertising TX power 113 int GAP_LeExAdvSetParam(uint8_t advHandle, uint8_t properties, int8_t txPower, GapLeExAdvParam advExParam);
|
H A D | gap_le_scan.c | 147 advParam->txPower = report->txPower; in GapLeSetExAdvReportParam()
|
H A D | gap_le_if.c | 48 int8_t txPower; member 454 info->result = GAP_LeExAdvSetParam(info->advHandle, info->properties, info->txPower, info->advExParam); in GapLeExAdvSetParamTask() 457 int GAPIF_LeExAdvSetParam(uint8_t advHandle, uint8_t properties, int8_t txPower, GapLeExAdvParam advExParam) in GAPIF_LeExAdvSetParam() argument 469 ctx->txPower = txPower; in GAPIF_LeExAdvSetParam()
|
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/ |
H A D | ohos_bt_gatt.h | 335 int txPower; member 463 char txPower; member
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_ble_advertiser.cpp | 282 int8_t txPower = settings.GetTxPower(); in CheckAdvertiserSettings() local 283 if (txPower < BLE_ADV_TX_POWER_MIN_VALUE || txPower > BLE_ADV_TX_POWER_MAX_VALUE) { in CheckAdvertiserSettings() 284 HILOGE("Illegal txPower argument %{public}d", txPower); in CheckAdvertiserSettings() 660 void BleAdvertiserSettings::SetTxPower(int8_t txPower) in SetTxPower() argument 662 txPower_ = txPower; in SetTxPower()
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/ble/src/ |
H A D | softbus_ble_utils.c | 137 dst->txPower = src->txPower; in SoftbusAdvParamToBt() 236 dst->txPower = (int8_t)src->txPower; in BtScanResultToSoftbus()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | gap_le_if.h | 156 void (*advReadTxPower)(uint8_t status, int8_t txPower, void *context); 214 int8_t txPower; /// TX power (127 is information not available) member 510 * @param[in] txPower advertising TX power 516 uint8_t advHandle, uint8_t properties, int8_t txPower, GapLeExAdvParam advExParam);
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_ble.cpp | 652 NAPI_BT_CALL_RETURN(NapiCheckObjectPropertiesName(env, object, {"interval", "txPower", "connectable"})); in ParseAdvertisingSettingsParameters() 668 int32_t txPower = -7; // default txPower value in ParseAdvertisingSettingsParameters() local 669 NAPI_BT_CALL_RETURN(NapiParseObjectInt32Optional(env, object, "txPower", txPower, exist)); in ParseAdvertisingSettingsParameters() 673 if (txPower < minTxPower || txPower > maxTxPower) { in ParseAdvertisingSettingsParameters() 674 HILOGE("Invalid tx power: %{public}d", txPower); in ParseAdvertisingSettingsParameters() 677 HILOGI("txPower is %{public}d", txPower); in ParseAdvertisingSettingsParameters() [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | ble_parcel_data.h | 325 * @param txPower Tx power. 328 void SetTxPower(int8_t txPower) in SetTxPower() argument 330 txPower_ = txPower; in SetTxPower()
|
H A D | ble_service_data.cpp | 366 * @param txPower the advertiser Tx power. 369 void BleAdvertiserSettingsImpl::SetTxPower(int8_t txPower) in SetTxPower() argument 371 txPower_ = txPower; in SetTxPower() 1536 * @param txPower TX power. 1539 void BlePeripheralDevice::SetTXPower(int8_t txPower) in SetTXPower() argument 1542 txPower_ = txPower; in SetTXPower()
|
H A D | ble_service_data.h | 288 * @param txPower Advertiser Tx power. 291 void SetTxPower(int8_t txPower); 362 /// Advertising txPower. 1159 * @param txPower TX power. 1162 void SetTXPower(int8_t txPower);
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_ble_advertiser.h | 253 * @param txPower Tx power. 256 void SetTxPower(int8_t txPower);
|
/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusbroadcast_fuzzer/ |
H A D | softbusbroadcast_fuzzer.cpp | 66 param->txPower = BC_ADV_TX_POWER_DEFAULT; in BuildBroadcastParam()
|
/foundation/communication/dsoftbus/tests/core/discovery/ble/bluetooth_mock/ |
H A D | bluetooth_mock.cpp | 337 .txPower = 1, in CallbackScanResult()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/evt/ |
H A D | hci_evt_le.c | 336 report->txPower = param[*offset]; in HciParseLeExtendedAdvertisingReport()
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/manager/src/ |
H A D | softbus_broadcast_mgr.c | 428 bcInfo->txPower = reportData->txPower; in BuildBcInfoCommon() 1239 dstParam->txPower = srcParam->txPower; in ConvertBcParams()
|
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gatt.cpp | 95 scanResult.txPower = 1;
|