Changes

Jump to navigation Jump to search
1,220 bytes added ,  18:02, 7 August 2020
no edit summary
Line 94: Line 94:  
| 40 ([5.0.0-5.0.2] 28) || [5.0.0+] [[#AcquireBlePairingEvent]]
 
| 40 ([5.0.0-5.0.2] 28) || [5.0.0+] [[#AcquireBlePairingEvent]]
 
|-
 
|-
| 41 || [5.1.0+] BlePairDevice
+
| 41 || [5.1.0+] [[#BlePairDevice]]
 
|-
 
|-
| 42 || [5.1.0+] BleUnpairDeviceOnBoth
+
| 42 || [5.1.0+] [[#BleUnpairDeviceOnBoth]]
 
|-
 
|-
| 43 || [5.1.0+] BleUnpairDevice
+
| 43 || [5.1.0+] [[#BleUnpairDevice]]
 
|-
 
|-
| 44 || [5.1.0+] BleGetPairedAddresses
+
| 44 || [5.1.0+] [[#BleGetPairedAddresses]]
 
|-
 
|-
| 45 || [5.1.0+] AcquireBleServiceDiscoveryEvent
+
| 45 || [5.1.0+] [[#AcquireBleServiceDiscoveryEvent]]
 
|-
 
|-
 
| 46 ([5.0.0-5.0.2] 29) || [5.0.0+] [[#GetGattServices]]
 
| 46 ([5.0.0-5.0.2] 29) || [5.0.0+] [[#GetGattServices]]
Line 288: Line 288:     
== AcquireBlePairingEvent ==
 
== AcquireBlePairingEvent ==
 +
No input, returns an output u8 and an Event handle with EventClearMode=1.
 +
 +
== BlePairDevice ==
 +
Takes an input [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]] and an u32, no output.
 +
 +
The u32 is the same as the param for [[#BleDisconnect]].
 +
 +
== BleUnpairDeviceOnBoth ==
 +
Takes an input [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]] and an u32, no output.
 +
 +
The u32 is the same as the param for [[#BleDisconnect]].
 +
 +
== BleUnpairDevice ==
 +
Takes an input [[Bluetooth_Driver_services#Address|Address]] and a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], no output.
 +
 +
== BleGetPairedAddresses ==
 +
Takes a type-0xA output buffer containing an array of [[Bluetooth_Driver_services#Address|Address]], a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], returns an output u8 total_out.
 +
 +
The max array entries is 10.
 +
 +
== AcquireBleServiceDiscoveryEvent ==
 
No input, returns an output u8 and an Event handle with EventClearMode=1.
 
No input, returns an output u8 and an Event handle with EventClearMode=1.
   Line 538: Line 559:  
| 21 || [[#AcquireBlePairingEvent_2|AcquireBlePairingEvent]]
 
| 21 || [[#AcquireBlePairingEvent_2|AcquireBlePairingEvent]]
 
|-
 
|-
| 22 || [[#BlePairDevice]]
+
| 22 || [[#BlePairDevice_2|BlePairDevice]]
 
|-
 
|-
| 23 || [[#BleUnPairDevice]]
+
| 23 || [[#BleUnPairDevice_2|BleUnPairDevice]]
 
|-
 
|-
 
| 24 || [[#BleUnPairDevice2]]
 
| 24 || [[#BleUnPairDevice2]]
Line 546: Line 567:  
| 25 || [[#BleGetPairedDevices]]
 
| 25 || [[#BleGetPairedDevices]]
 
|-
 
|-
| 26 || [[#AcquireBleServiceDiscoveryEvent]]
+
| 26 || [[#AcquireBleServiceDiscoveryEvent_2|AcquireBleServiceDiscoveryEvent]]
 
|-
 
|-
 
| 27 || [[#GetGattServices_2|GetGattServices]]
 
| 27 || [[#GetGattServices_2|GetGattServices]]
Line 658: Line 679:  
Takes an input [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]] and an u32, no output.
 
Takes an input [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]] and an u32, no output.
   −
The u32 is handled the same as [[#BleDisconnect_2|BleDisconnect]].
+
This is similar to the [[#BlePairDevice|btm]] cmd.
    
=== BleUnPairDevice ===
 
=== BleUnPairDevice ===
 
Takes an input [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]] and an u32, no output.
 
Takes an input [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]] and an u32, no output.
   −
The u32 is handled the same as [[#BleDisconnect_2|BleDisconnect]].
+
This is similar to the [[#BleUnpairDeviceOnBoth|btm]] cmd.
    
=== BleUnPairDevice2 ===
 
=== BleUnPairDevice2 ===
 
Takes an input [[Bluetooth_Driver_services#Address|Address]] and a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], no output.
 
Takes an input [[Bluetooth_Driver_services#Address|Address]] and a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], no output.
 +
 +
This is similar to the [[#BleUnPairDevice|btm]] cmd.
    
=== BleGetPairedDevices ===
 
=== BleGetPairedDevices ===
 
Takes a type-0xA output buffer containing an array of [[Bluetooth_Driver_services#Address|Address]], a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], returns an output u8 total_out.
 
Takes a type-0xA output buffer containing an array of [[Bluetooth_Driver_services#Address|Address]], a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], returns an output u8 total_out.
   −
The max array entries is 10.
+
This is the same as the [[#BleGetPairedAddresses|btm]] cmd.
    
=== AcquireBleServiceDiscoveryEvent ===
 
=== AcquireBleServiceDiscoveryEvent ===
 
No input, returns an output u8 and an Event handle with EventClearMode=1.
 
No input, returns an output u8 and an Event handle with EventClearMode=1.
 +
 +
This is similar to the [[#AcquireBleServiceDiscoveryEvent|btm]] cmd.
    
sdknso will Abort if the output u8 is value 0.
 
sdknso will Abort if the output u8 is value 0.

Navigation menu