libnx  v4.6.0
Functions
btm.h File Reference

btm service IPC wrapper. More...

#include "../types.h"
#include "../kernel/event.h"
#include "../services/btdrv_types.h"
#include "../services/btm_types.h"
#include "../sf/service.h"

Go to the source code of this file.

Functions

Result btmInitialize (void)
 Initialize btm.
 
void btmExit (void)
 Exit btm.
 
ServicebtmGetServiceSession (void)
 Gets the Service object for the actual btm service session.
 
Result btmGetState (BtmState *out)
 GetState. More...
 
Result btmGetHostDeviceProperty (BtmHostDeviceProperty *out)
 GetHostDeviceProperty. More...
 
Result btmAcquireDeviceConditionEvent (Event *out_event)
 AcquireDeviceConditionEvent. More...
 
Result btmLegacyGetDeviceCondition (BtmDeviceCondition *out)
 GetDeviceCondition [1.0.0-12.1.0]. More...
 
Result btmGetDeviceCondition (BtmProfile profile, BtmConnectedDeviceV13 *out, size_t count, s32 *total_out)
 GetDeviceCondition [13.0.0+]. More...
 
Result btmSetBurstMode (BtdrvAddress addr, bool flag)
 SetBurstMode. More...
 
Result btmSetSlotMode (const BtmDeviceSlotModeList *list)
 SetSlotMode. More...
 
Result btmSetBluetoothMode (BtmBluetoothMode mode)
 SetBluetoothMode. More...
 
Result btmSetWlanMode (BtmWlanMode mode)
 SetWlanMode. More...
 
Result btmAcquireDeviceInfoEvent (Event *out_event)
 AcquireDeviceInfoEvent. More...
 
Result btmLegacyGetDeviceInfo (BtmDeviceInfoList *out)
 GetDeviceInfo [1.0.0-12.1.0]. More...
 
Result btmGetDeviceInfo (BtmProfile profile, BtmDeviceInfoV13 *out, size_t count, s32 *total_out)
 GetDeviceInfo [13.0.0+]. More...
 
Result btmAddDeviceInfo (const BtmDeviceInfo *info)
 AddDeviceInfo. More...
 
Result btmRemoveDeviceInfo (BtdrvAddress addr)
 RemoveDeviceInfo. More...
 
Result btmIncreaseDeviceInfoOrder (BtdrvAddress addr)
 IncreaseDeviceInfoOrder. More...
 
Result btmLlrNotify (BtdrvAddress addr, s32 unk)
 LlrNotify. More...
 
Result btmEnableRadio (void)
 EnableRadio.
 
Result btmDisableRadio (void)
 DisableRadio.
 
Result btmHidDisconnect (BtdrvAddress addr)
 HidDisconnect. More...
 
Result btmHidSetRetransmissionMode (BtdrvAddress addr, const BtmZeroRetransmissionList *list)
 HidSetRetransmissionMode. More...
 
Result btmAcquireAwakeReqEvent (Event *out_event)
 AcquireAwakeReqEvent. More...
 
Result btmAcquireLlrStateEvent (Event *out_event)
 AcquireLlrStateEvent. More...
 
Result btmIsLlrStarted (bool *out)
 IsLlrStarted. More...
 
Result btmEnableSlotSaving (bool flag)
 EnableSlotSaving. More...
 
Result btmProtectDeviceInfo (BtdrvAddress addr, bool flag)
 ProtectDeviceInfo. More...
 
Result btmAcquireBleScanEvent (Event *out_event)
 AcquireBleScanEvent. More...
 
Result btmGetBleScanParameterGeneral (u16 parameter_id, BtdrvBleAdvertisePacketParameter *out)
 GetBleScanParameterGeneral. More...
 
Result btmGetBleScanParameterSmartDevice (u16 parameter_id, BtdrvGattAttributeUuid *out)
 GetBleScanParameterSmartDevice. More...
 
Result btmStartBleScanForGeneral (BtdrvBleAdvertisePacketParameter param)
 StartBleScanForGeneral. More...
 
Result btmStopBleScanForGeneral (void)
 StopBleScanForGeneral. More...
 
Result btmGetBleScanResultsForGeneral (BtdrvBleScanResult *results, u8 count, u8 *total_out)
 GetBleScanResultsForGeneral. More...
 
Result btmStartBleScanForPaired (BtdrvBleAdvertisePacketParameter param)
 StartBleScanForPaired. More...
 
Result btmStopBleScanForPaired (void)
 StopBleScanForPaired. More...
 
Result btmStartBleScanForSmartDevice (const BtdrvGattAttributeUuid *uuid)
 StartBleScanForSmartDevice. More...
 
Result btmStopBleScanForSmartDevice (void)
 StopBleScanForSmartDevice. More...
 
Result btmGetBleScanResultsForSmartDevice (BtdrvBleScanResult *results, u8 count, u8 *total_out)
 GetBleScanResultsForSmartDevice. More...
 
Result btmAcquireBleConnectionEvent (Event *out_event)
 AcquireBleConnectionEvent. More...
 
Result btmBleConnect (BtdrvAddress addr)
 BleConnect. More...
 
Result btmBleOverrideConnection (u32 id)
 BleOverrideConnection. More...
 
Result btmBleDisconnect (u32 connection_handle)
 BleDisconnect. More...
 
Result btmBleGetConnectionState (BtdrvBleConnectionInfo *info, u8 count, u8 *total_out)
 BleGetConnectionState. More...
 
Result btmBleGetGattClientConditionList (BtmGattClientConditionList *list)
 BleGetGattClientConditionList. More...
 
Result btmAcquireBlePairingEvent (Event *out_event)
 AcquireBlePairingEvent. More...
 
Result btmBlePairDevice (u32 connection_handle, BtdrvBleAdvertisePacketParameter param)
 BlePairDevice. More...
 
Result btmBleUnpairDeviceOnBoth (u32 connection_handle, BtdrvBleAdvertisePacketParameter param)
 BleUnpairDeviceOnBoth. More...
 
Result btmBleUnPairDevice (BtdrvAddress addr, BtdrvBleAdvertisePacketParameter param)
 BleUnPairDevice. More...
 
Result btmBleGetPairedAddresses (BtdrvBleAdvertisePacketParameter param, BtdrvAddress *addrs, u8 count, u8 *total_out)
 BleGetPairedAddresses. More...
 
Result btmAcquireBleServiceDiscoveryEvent (Event *out_event)
 AcquireBleServiceDiscoveryEvent. More...
 
Result btmGetGattServices (u32 connection_handle, BtmGattService *services, u8 count, u8 *total_out)
 GetGattServices. More...
 
Result btmGetGattService (u32 connection_handle, const BtdrvGattAttributeUuid *uuid, BtmGattService *service, bool *flag)
 Same as btmGetGattServices except this only returns the BtmGattService which matches the input BtdrvGattAttributeUuid. More...
 
Result btmGetGattIncludedServices (u32 connection_handle, u16 service_handle, BtmGattService *services, u8 count, u8 *out)
 Same as btmGetGattServices except this only returns BtmGattService entries where various checks pass with u16 fields. More...
 
Result btmGetBelongingService (u32 connection_handle, u16 attribute_handle, BtmGattService *service, bool *flag)
 This is similar to btmGetGattIncludedServices except this only returns 1 BtmGattService. More...
 
Result btmGetGattCharacteristics (u32 connection_handle, u16 service_handle, BtmGattCharacteristic *characteristics, u8 count, u8 *total_out)
 GetGattCharacteristics. More...
 
Result btmGetGattDescriptors (u32 connection_handle, u16 char_handle, BtmGattDescriptor *descriptors, u8 count, u8 *total_out)
 GetGattDescriptors. More...
 
Result btmAcquireBleMtuConfigEvent (Event *out_event)
 AcquireBleMtuConfigEvent. More...
 
Result btmConfigureBleMtu (u32 connection_handle, u16 mtu)
 ConfigureBleMtu. More...
 
Result btmGetBleMtu (u32 connection_handle, u16 *out)
 GetBleMtu. More...
 
Result btmRegisterBleGattDataPath (const BtmBleDataPath *path)
 RegisterBleGattDataPath. More...
 
Result btmUnregisterBleGattDataPath (const BtmBleDataPath *path)
 UnregisterBleGattDataPath. More...
 
Result btmRegisterAppletResourceUserId (u64 AppletResourceUserId, u32 unk)
 RegisterAppletResourceUserId. More...
 
Result btmUnregisterAppletResourceUserId (u64 AppletResourceUserId)
 UnregisterAppletResourceUserId. More...
 
Result btmSetAppletResourceUserId (u64 AppletResourceUserId)
 SetAppletResourceUserId. More...
 

Detailed Description

btm service IPC wrapper.

Note
See also: https://switchbrew.org/wiki/BTM_services
Author
yellows8

Function Documentation

◆ btmAcquireAwakeReqEvent()

Result btmAcquireAwakeReqEvent ( Event out_event)

AcquireAwakeReqEvent.

Note
Only available on [2.0.0+].
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAcquireBleConnectionEvent()

Result btmAcquireBleConnectionEvent ( Event out_event)

AcquireBleConnectionEvent.

Note
Only available on [5.1.0+].
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAcquireBleMtuConfigEvent()

Result btmAcquireBleMtuConfigEvent ( Event out_event)

AcquireBleMtuConfigEvent.

Note
Only available on [5.0.0+].
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAcquireBlePairingEvent()

Result btmAcquireBlePairingEvent ( Event out_event)

AcquireBlePairingEvent.

Note
Only available on [5.0.0+].
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAcquireBleScanEvent()

Result btmAcquireBleScanEvent ( Event out_event)

AcquireBleScanEvent.

Note
Only available on [5.0.0+].
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAcquireBleServiceDiscoveryEvent()

Result btmAcquireBleServiceDiscoveryEvent ( Event out_event)

AcquireBleServiceDiscoveryEvent.

Note
Only available on [5.1.0+].
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAcquireDeviceConditionEvent()

Result btmAcquireDeviceConditionEvent ( Event out_event)

AcquireDeviceConditionEvent.

Note
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAcquireDeviceInfoEvent()

Result btmAcquireDeviceInfoEvent ( Event out_event)

AcquireDeviceInfoEvent.

Note
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAcquireLlrStateEvent()

Result btmAcquireLlrStateEvent ( Event out_event)

AcquireLlrStateEvent.

Note
Only available on [4.0.0+].
The Event must be closed by the user once finished with it.
Parameters
[out]out_eventOutput Event with autoclear=true.

◆ btmAddDeviceInfo()

Result btmAddDeviceInfo ( const BtmDeviceInfo info)

AddDeviceInfo.

Parameters
[in]infoBtmDeviceInfo

◆ btmBleConnect()

Result btmBleConnect ( BtdrvAddress  addr)

BleConnect.

Note
Only available on [5.0.0+].
The BtdrvAddress must not be already connected. A maximum of 4 devices can be connected.
Parameters
[in]addrBtdrvAddress

◆ btmBleDisconnect()

Result btmBleDisconnect ( u32  connection_handle)

BleDisconnect.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleThis must match a BtdrvBleConnectionInfo::id from btmBleGetConnectionState. [5.1.0+] 0xFFFFFFFF is invalid.

◆ btmBleGetConnectionState()

Result btmBleGetConnectionState ( BtdrvBleConnectionInfo info,
u8  count,
u8 total_out 
)

BleGetConnectionState.

Note
Only available on [5.0.0+].
Parameters
[out]infoOutput array of BtdrvBleConnectionInfo.
[in]countSize of the info array in entries. Other cmds which use this internally use count=4.
[out]total_outTotal output entries.

◆ btmBleGetGattClientConditionList()

Result btmBleGetGattClientConditionList ( BtmGattClientConditionList list)

BleGetGattClientConditionList.

Note
Only available on [5.0.0+].
Parameters
[out]listBtmGattClientConditionList

◆ btmBleGetPairedAddresses()

Result btmBleGetPairedAddresses ( BtdrvBleAdvertisePacketParameter  param,
BtdrvAddress addrs,
u8  count,
u8 total_out 
)

BleGetPairedAddresses.

Note
Only available on [5.1.0+].
Parameters
[in]paramBtdrvBleAdvertisePacketParameter
[out]addrsOutput array of BtdrvAddress.
[in]countSize of the addrs array in entries.
[out]total_outTotal output entries. The max is 10.

◆ btmBleOverrideConnection()

Result btmBleOverrideConnection ( u32  id)

BleOverrideConnection.

Note
Only available on [5.1.0+].
Parameters
[in]idSame as btmBleDisconnect.

◆ btmBlePairDevice()

Result btmBlePairDevice ( u32  connection_handle,
BtdrvBleAdvertisePacketParameter  param 
)

BlePairDevice.

Note
Only available on [5.1.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[in]paramBtdrvBleAdvertisePacketParameter

◆ btmBleUnPairDevice()

Result btmBleUnPairDevice ( BtdrvAddress  addr,
BtdrvBleAdvertisePacketParameter  param 
)

BleUnPairDevice.

Note
Only available on [5.1.0+].
Parameters
[in]addrBtdrvAddress
[in]paramBtdrvBleAdvertisePacketParameter

◆ btmBleUnpairDeviceOnBoth()

Result btmBleUnpairDeviceOnBoth ( u32  connection_handle,
BtdrvBleAdvertisePacketParameter  param 
)

BleUnpairDeviceOnBoth.

Note
Only available on [5.1.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[in]paramBtdrvBleAdvertisePacketParameter

◆ btmConfigureBleMtu()

Result btmConfigureBleMtu ( u32  connection_handle,
u16  mtu 
)

ConfigureBleMtu.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[in]mtuMTU

◆ btmEnableSlotSaving()

Result btmEnableSlotSaving ( bool  flag)

EnableSlotSaving.

Note
Only available on [4.0.0+].
Parameters
[in]flagFlag

◆ btmGetBelongingService()

Result btmGetBelongingService ( u32  connection_handle,
u16  attribute_handle,
BtmGattService service,
bool *  flag 
)

This is similar to btmGetGattIncludedServices except this only returns 1 BtmGattService.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[in]attribute_handleAttributeHandle
[out]serviceBtmGattService
[out]flagWhether a BtmGattService was returned.

◆ btmGetBleMtu()

Result btmGetBleMtu ( u32  connection_handle,
u16 out 
)

GetBleMtu.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[out]outOutput MTU.

◆ btmGetBleScanParameterGeneral()

Result btmGetBleScanParameterGeneral ( u16  parameter_id,
BtdrvBleAdvertisePacketParameter out 
)

GetBleScanParameterGeneral.

Note
Only available on [5.1.0+].
Parameters
[in]parameter_idMust be value 0x1 or 0xFFFF.
[out]outBtdrvBleAdvertisePacketParameter

◆ btmGetBleScanParameterSmartDevice()

Result btmGetBleScanParameterSmartDevice ( u16  parameter_id,
BtdrvGattAttributeUuid out 
)

GetBleScanParameterSmartDevice.

Note
Only available on [5.1.0+].
Parameters
[in]parameter_idMust be value 0x2.
[out]outBtdrvGattAttributeUuid. The first 4-bytes is always 0.

◆ btmGetBleScanResultsForGeneral()

Result btmGetBleScanResultsForGeneral ( BtdrvBleScanResult results,
u8  count,
u8 total_out 
)

GetBleScanResultsForGeneral.

Note
Only available on [5.1.0+].
Parameters
[out]resultsOutput array of BtdrvBleScanResult.
[in]countSize of the results array in entries. The max is 10.
[out]total_outTotal output entries.

◆ btmGetBleScanResultsForSmartDevice()

Result btmGetBleScanResultsForSmartDevice ( BtdrvBleScanResult results,
u8  count,
u8 total_out 
)

GetBleScanResultsForSmartDevice.

Note
Only available on [5.1.0+].
Parameters
[out]resultsOutput array of BtdrvBleScanResult.
[in]countSize of the results array in entries. The max is 10.
[out]total_outTotal output entries.

◆ btmGetDeviceCondition()

Result btmGetDeviceCondition ( BtmProfile  profile,
BtmConnectedDeviceV13 out,
size_t  count,
s32 total_out 
)

GetDeviceCondition [13.0.0+].

Parameters
[in]profileBtmProfile, when not BtmProfile_None entries are only returned which match this profile.
[out]outBtmConnectedDeviceV13
[in]countSize of the out array in entries.
[out]total_outTotal output entries.

◆ btmGetDeviceInfo()

Result btmGetDeviceInfo ( BtmProfile  profile,
BtmDeviceInfoV13 out,
size_t  count,
s32 total_out 
)

GetDeviceInfo [13.0.0+].

Parameters
[in]profileBtmProfile, when not BtmProfile_None entries are only returned which match this profile.
[out]outBtmDeviceInfoV13
[in]countSize of the out array in entries.
[out]total_outTotal output entries.

◆ btmGetGattCharacteristics()

Result btmGetGattCharacteristics ( u32  connection_handle,
u16  service_handle,
BtmGattCharacteristic characteristics,
u8  count,
u8 total_out 
)

GetGattCharacteristics.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[in]service_handleThis controls which BtmGattCharacteristic entries to return.
[out]characteristicsBtmGattCharacteristic
[in]countSize of the characteristics array in entries. The max is 100.
[out]total_outTotal output entries.

◆ btmGetGattDescriptors()

Result btmGetGattDescriptors ( u32  connection_handle,
u16  char_handle,
BtmGattDescriptor descriptors,
u8  count,
u8 total_out 
)

GetGattDescriptors.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[in]char_handleCharacteristic handle. This controls which BtmGattDescriptor entries to return.
[out]descriptorsBtmGattDescriptor
[in]countSize of the descriptors array in entries. The max is 100.
[out]total_outTotal output entries.

◆ btmGetGattIncludedServices()

Result btmGetGattIncludedServices ( u32  connection_handle,
u16  service_handle,
BtmGattService services,
u8  count,
u8 out 
)

Same as btmGetGattServices except this only returns BtmGattService entries where various checks pass with u16 fields.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[in]service_handleServiceHandle
[out]servicesBtmGattService
[in]countSize of the services array in entries. The max is 100.
[out]outOutput value.

◆ btmGetGattService()

Result btmGetGattService ( u32  connection_handle,
const BtdrvGattAttributeUuid uuid,
BtmGattService service,
bool *  flag 
)

Same as btmGetGattServices except this only returns the BtmGattService which matches the input BtdrvGattAttributeUuid.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[in]uuidBtdrvGattAttributeUuid
[out]serviceBtmGattService
[out]flagWhether a BtmGattService was returned.

◆ btmGetGattServices()

Result btmGetGattServices ( u32  connection_handle,
BtmGattService services,
u8  count,
u8 total_out 
)

GetGattServices.

Note
Only available on [5.0.0+].
Parameters
[in]connection_handleSame as btmBleDisconnect.
[out]servicesOutput array of BtmGattService.
[in]countSize of the services array in entries. The max is 100.
[out]total_outTotal output entries.

◆ btmGetHostDeviceProperty()

Result btmGetHostDeviceProperty ( BtmHostDeviceProperty out)

GetHostDeviceProperty.

Parameters
[out]outBtmHostDeviceProperty

◆ btmGetState()

Result btmGetState ( BtmState out)

GetState.

Parameters
[out]outBtmState

◆ btmHidDisconnect()

Result btmHidDisconnect ( BtdrvAddress  addr)

HidDisconnect.

Parameters
[in]addrBtdrvAddress

◆ btmHidSetRetransmissionMode()

Result btmHidSetRetransmissionMode ( BtdrvAddress  addr,
const BtmZeroRetransmissionList list 
)

HidSetRetransmissionMode.

Parameters
[in]addrBtdrvAddress
[in]listBtmZeroRetransmissionList

◆ btmIncreaseDeviceInfoOrder()

Result btmIncreaseDeviceInfoOrder ( BtdrvAddress  addr)

IncreaseDeviceInfoOrder.

Parameters
[in]addrBtdrvAddress

◆ btmIsLlrStarted()

Result btmIsLlrStarted ( bool *  out)

IsLlrStarted.

Note
Only available on [4.0.0+].
Parameters
[out]outOutput flag.

◆ btmLegacyGetDeviceCondition()

Result btmLegacyGetDeviceCondition ( BtmDeviceCondition out)

GetDeviceCondition [1.0.0-12.1.0].

Parameters
[out]outBtmDeviceCondition

◆ btmLegacyGetDeviceInfo()

Result btmLegacyGetDeviceInfo ( BtmDeviceInfoList out)

GetDeviceInfo [1.0.0-12.1.0].

Parameters
[out]outBtmDeviceInfoList

◆ btmLlrNotify()

Result btmLlrNotify ( BtdrvAddress  addr,
s32  unk 
)

LlrNotify.

Parameters
[in]addrBtdrvAddress
[in]unk[9.0.0+] Unknown

◆ btmProtectDeviceInfo()

Result btmProtectDeviceInfo ( BtdrvAddress  addr,
bool  flag 
)

ProtectDeviceInfo.

Note
Only available on [5.0.0+].
Parameters
[in]addrBtdrvAddress
[in]flagFlag

◆ btmRegisterAppletResourceUserId()

Result btmRegisterAppletResourceUserId ( u64  AppletResourceUserId,
u32  unk 
)

RegisterAppletResourceUserId.

Note
Only available on [5.0.0+].
Parameters
[in]AppletResourceUserIdAppletResourceUserId
[in]unkUnknown

◆ btmRegisterBleGattDataPath()

Result btmRegisterBleGattDataPath ( const BtmBleDataPath path)

RegisterBleGattDataPath.

Note
Only available on [5.0.0+].
Parameters
[in]pathBtmBleDataPath

◆ btmRemoveDeviceInfo()

Result btmRemoveDeviceInfo ( BtdrvAddress  addr)

RemoveDeviceInfo.

Parameters
[in]addrBtdrvAddress

◆ btmSetAppletResourceUserId()

Result btmSetAppletResourceUserId ( u64  AppletResourceUserId)

SetAppletResourceUserId.

Note
Only available on [5.0.0+].
Parameters
[in]AppletResourceUserIdAppletResourceUserId

◆ btmSetBluetoothMode()

Result btmSetBluetoothMode ( BtmBluetoothMode  mode)

SetBluetoothMode.

Note
Only available on pre-9.0.0.
Parameters
[in]modeBtmBluetoothMode

◆ btmSetBurstMode()

Result btmSetBurstMode ( BtdrvAddress  addr,
bool  flag 
)

SetBurstMode.

Parameters
[in]addrBtdrvAddress
[in]flagFlag

◆ btmSetSlotMode()

Result btmSetSlotMode ( const BtmDeviceSlotModeList list)

SetSlotMode.

Parameters
[in]listBtmDeviceSlotModeList

◆ btmSetWlanMode()

Result btmSetWlanMode ( BtmWlanMode  mode)

SetWlanMode.

Parameters
[in]modeBtmWlanMode

◆ btmStartBleScanForGeneral()

Result btmStartBleScanForGeneral ( BtdrvBleAdvertisePacketParameter  param)

StartBleScanForGeneral.

Note
Only available on [5.1.0+].
Parameters
[in]paramBtdrvBleAdvertisePacketParameter

◆ btmStartBleScanForPaired()

Result btmStartBleScanForPaired ( BtdrvBleAdvertisePacketParameter  param)

StartBleScanForPaired.

Note
Only available on [5.1.0+].
Parameters
[in]paramBtdrvBleAdvertisePacketParameter

◆ btmStartBleScanForSmartDevice()

Result btmStartBleScanForSmartDevice ( const BtdrvGattAttributeUuid uuid)

StartBleScanForSmartDevice.

Note
Only available on [5.1.0+].
Parameters
[in]uuidBtdrvGattAttributeUuid

◆ btmStopBleScanForGeneral()

Result btmStopBleScanForGeneral ( void  )

StopBleScanForGeneral.

Note
Only available on [5.1.0+].

◆ btmStopBleScanForPaired()

Result btmStopBleScanForPaired ( void  )

StopBleScanForPaired.

Note
Only available on [5.1.0+].

◆ btmStopBleScanForSmartDevice()

Result btmStopBleScanForSmartDevice ( void  )

StopBleScanForSmartDevice.

Note
Only available on [5.1.0+].

◆ btmUnregisterAppletResourceUserId()

Result btmUnregisterAppletResourceUserId ( u64  AppletResourceUserId)

UnregisterAppletResourceUserId.

Note
Only available on [5.0.0+].
Parameters
[in]AppletResourceUserIdAppletResourceUserId

◆ btmUnregisterBleGattDataPath()

Result btmUnregisterBleGattDataPath ( const BtmBleDataPath path)

UnregisterBleGattDataPath.

Note
Only available on [5.0.0+].
Parameters
[in]pathBtmBleDataPath