Home
last modified time | relevance | path

Searched refs:txPower (Results 1 - 25 of 27) sorted by relevance

12

/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_advertiser_impl.h156 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 Dble_advertiser_impl.cpp87 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 Dsoftbus_ble_utils_test.cpp91 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 Dsoftbus_broadcast_adapter_type.h131 int8_t txPower; member
151 int8_t txPower; member
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci_def_le_evt.h206 uint8_t txPower; member
238 uint8_t txPower; member
H A Dhci_def_controller_baseband_cmd.h715 uint8_t txPower; member
723 uint8_t txPower; member
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/interface/
H A Dsoftbus_broadcast_type.h373 int8_t txPower; member
393 int8_t txPower; member
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_le_adv.c153 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 Dgap_le.h108 * @param[in] txPower advertising TX power
113 int GAP_LeExAdvSetParam(uint8_t advHandle, uint8_t properties, int8_t txPower, GapLeExAdvParam advExParam);
H A Dgap_le_scan.c147 advParam->txPower = report->txPower; in GapLeSetExAdvReportParam()
H A Dgap_le_if.c48 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 Dohos_bt_gatt.h335 int txPower; member
463 char txPower; member
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_ble_advertiser.cpp282 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 Dsoftbus_ble_utils.c137 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 Dgap_le_if.h156 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 Dnapi_bluetooth_ble.cpp652 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 Dble_parcel_data.h325 * @param txPower Tx power.
328 void SetTxPower(int8_t txPower) in SetTxPower() argument
330 txPower_ = txPower; in SetTxPower()
H A Dble_service_data.cpp366 * @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 Dble_service_data.h288 * @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 Dbluetooth_ble_advertiser.h253 * @param txPower Tx power.
256 void SetTxPower(int8_t txPower);
/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusbroadcast_fuzzer/
H A Dsoftbusbroadcast_fuzzer.cpp66 param->txPower = BC_ADV_TX_POWER_DEFAULT; in BuildBroadcastParam()
/foundation/communication/dsoftbus/tests/core/discovery/ble/bluetooth_mock/
H A Dbluetooth_mock.cpp337 .txPower = 1, in CallbackScanResult()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/evt/
H A Dhci_evt_le.c336 report->txPower = param[*offset]; in HciParseLeExtendedAdvertisingReport()
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/manager/src/
H A Dsoftbus_broadcast_mgr.c428 bcInfo->txPower = reportData->txPower; in BuildBcInfoCommon()
1239 dstParam->txPower = srcParam->txPower; in ConvertBcParams()
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt.cpp95 scanResult.txPower = 1;

Completed in 33 milliseconds

12