Home
last modified time | relevance | path

Searched refs:phyType (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble.cpp132 settings.SetPhy(static_cast<int32_t>(scanOptions.phyType)); in SysStartBLEScan()
360 static void ConvertPhyType(ScanOptions &params, int32_t phyType) in ConvertPhyType() argument
362 switch (phyType) { in ConvertPhyType()
364 params.phyType = PhyType::PHY_LE_1M; in ConvertPhyType()
367 params.phyType = PhyType::PHY_LE_2M; in ConvertPhyType()
370 params.phyType = PhyType::PHY_LE_CODED; in ConvertPhyType()
373 params.phyType = PhyType::PHY_LE_ALL_SUPPORTED; in ConvertPhyType()
401 NAPI_BT_CALL_RETURN(NapiCheckObjectPropertiesName(env, scanArg, {"interval", "dutyMode", "matchMode", "phyType"})); in ParseScanParameters()
425 int32_t phyType = 0; in ParseScanParameters() local
426 NAPI_BT_CALL_RETURN(ParseInt32Params(env, scanArg, "phyType", exis in ParseScanParameters()
[all...]
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/ble/src/
H A Dsoftbus_ble_utils.c207 static uint8_t BtScanPhyTypeToSoftbus(unsigned char phyType) in BtScanPhyTypeToSoftbus() argument
209 switch (phyType) { in BtScanPhyTypeToSoftbus()
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_utils.h214 PhyType phyType = PhyType::PHY_LE_1M; // Phy for Bluetooth LE scan member

Completed in 4 milliseconds