BTM services: Difference between revisions
No edit summary |
|||
Line 221: | Line 221: | ||
= btm:u = | = btm:u = | ||
This is "nn::btm::IBtmUser". | This is "nn::btm::IBtmUser". | ||
This was added with [5.0.0+]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 226: | Line 228: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || GetCore | | 0 || [[#GetCore]] | ||
|} | |} | ||
== GetCore == | |||
No input, returns an output [[#IBtmUserCore]]. | |||
== IBtmUserCore == | == IBtmUserCore == | ||
Line 236: | Line 241: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || AcquireBleScanEvent | | 0 || [[#AcquireBleScanEvent]] | ||
|- | |- | ||
| 1 || GetBleScanFilterParameter | | 1 || [[#GetBleScanFilterParameter]] | ||
|- | |- | ||
| 2 || GetBleScanFilterParameter2 | | 2 || [[#GetBleScanFilterParameter2]] | ||
|- | |- | ||
| 3 || StartBleScanForGeneral | | 3 || [[#StartBleScanForGeneral]] | ||
|- | |- | ||
| 4 || StopBleScanForGeneral | | 4 || [[#StopBleScanForGeneral]] | ||
|- | |- | ||
| 5 || GetBleScanResultsForGeneral | | 5 || [[#GetBleScanResultsForGeneral]] | ||
|- | |- | ||
| 6 || StartBleScanForPaired | | 6 || [[#StartBleScanForPaired]] | ||
|- | |- | ||
| 7 || StopBleScanForPaired | | 7 || [[#StopBleScanForPaired]] | ||
|- | |- | ||
| 8 || StartBleScanForSmartDevice | | 8 || [[#StartBleScanForSmartDevice]] | ||
|- | |- | ||
| 9 || StopBleScanForSmartDevice | | 9 || [[#StopBleScanForSmartDevice]] | ||
|- | |- | ||
| 10 || GetBleScanResultsForSmartDevice | | 10 || [[#GetBleScanResultsForSmartDevice]] | ||
|- | |- | ||
| 17 || AcquireBleConnectionEvent | | 17 || [[#AcquireBleConnectionEvent]] | ||
|- | |- | ||
| 18 || BleConnect | | 18 || [[#BleConnect]] | ||
|- | |- | ||
| 19 || BleDisconnect | | 19 || [[#BleDisconnect]] | ||
|- | |- | ||
| 20 || BleGetConnectionState | | 20 || [[#BleGetConnectionState]] | ||
|- | |- | ||
| 21 || AcquireBlePairingEvent | | 21 || [[#AcquireBlePairingEvent]] | ||
|- | |- | ||
| 22 || BlePairDevice | | 22 || [[#BlePairDevice]] | ||
|- | |- | ||
| 23 || BleUnPairDevice | | 23 || [[#BleUnPairDevice]] | ||
|- | |- | ||
| 24 || BleUnPairDevice2 | | 24 || [[#BleUnPairDevice2]] | ||
|- | |- | ||
| 25 || BleGetPairedDevices | | 25 || [[#BleGetPairedDevices]] | ||
|- | |- | ||
| 26 || AcquireBleServiceDiscoveryEvent | | 26 || [[#AcquireBleServiceDiscoveryEvent]] | ||
|- | |- | ||
| 27 || GetGattServices | | 27 || [[#GetGattServices]] | ||
|- | |- | ||
| 28 || GetGattService | | 28 || [[#GetGattService]] | ||
|- | |- | ||
| 29 || GetGattIncludedServices | | 29 || [[#GetGattIncludedServices]] | ||
|- | |- | ||
| 30 || GetBelongingGattService | | 30 || [[#GetBelongingGattService]] | ||
|- | |- | ||
| 31 || GetGattCharacteristics | | 31 || [[#GetGattCharacteristics]] | ||
|- | |- | ||
| 32 || GetGattDescriptors | | 32 || [[#GetGattDescriptors]] | ||
|- | |- | ||
| 33 || AcquireBleMtuConfigEvent | | 33 || [[#AcquireBleMtuConfigEvent]] | ||
|- | |- | ||
| 34 || ConfigureBleMtu | | 34 || [[#ConfigureBleMtu]] | ||
|- | |- | ||
| 35 || GetBleMtu | | 35 || [[#GetBleMtu]] | ||
|- | |- | ||
| 36 || RegisterBleGattDataPath | | 36 || [[#RegisterBleGattDataPath]] | ||
|- | |- | ||
| 37 || UnregisterBleGattDataPath | | 37 || [[#UnregisterBleGattDataPath]] | ||
|} | |} | ||
=== AcquireBleScanEvent === | |||
No input, returns an output Event handle. | |||
=== GetBleScanFilterParameter === | |||
Takes an input u16, returns 8-bytes of output. | |||
=== GetBleScanFilterParameter2 === | |||
Takes an input u16, returns 0x14-bytes of output. | |||
=== StartBleScanForGeneral === | |||
=== StopBleScanForGeneral === | |||
=== GetBleScanResultsForGeneral === | |||
=== StartBleScanForPaired === | |||
=== StopBleScanForPaired === | |||
=== StartBleScanForSmartDevice === | |||
=== StopBleScanForSmartDevice === | |||
=== GetBleScanResultsForSmartDevice === | |||
=== AcquireBleConnectionEvent === | |||
=== BleConnect === | |||
=== BleDisconnect === | |||
=== BleGetConnectionState === | |||
=== AcquireBlePairingEvent === | |||
=== BlePairDevice === | |||
=== BleUnPairDevice === | |||
=== BleUnPairDevice2 === | |||
=== BleGetPairedDevices === | |||
=== AcquireBleServiceDiscoveryEvent === | |||
=== GetGattServices === | |||
=== GetGattService === | |||
=== GetGattIncludedServices === | |||
=== GetBelongingGattService === | |||
=== GetGattCharacteristics === | |||
=== GetGattDescriptors === | |||
=== AcquireBleMtuConfigEvent === | |||
=== ConfigureBleMtu === | |||
=== GetBleMtu === | |||
=== RegisterBleGattDataPath === | |||
=== UnregisterBleGattDataPath === | |||
[[Category:Services]] | [[Category:Services]] |