Changes

Jump to navigation Jump to search
770 bytes added ,  03:07, 7 August 2020
no edit summary
Line 60: Line 60:  
| 23 || [5.0.0+] [[#AcquireBleScanEvent]]
 
| 23 || [5.0.0+] [[#AcquireBleScanEvent]]
 
|-
 
|-
| 24 || [5.1.0+] GetBleScanParameterGeneral
+
| 24 || [5.1.0+] [[#GetBleScanParameterGeneral]]
 
|-
 
|-
| 25 || [5.1.0+] GetBleScanParameterSmartDevice
+
| 25 || [5.1.0+] [[#GetBleScanParameterSmartDevice]]
 
|-
 
|-
| 26 || [5.1.0+] StartBleScanForGeneral
+
| 26 || [5.1.0+] [[#StartBleScanForGeneral]]
 
|-
 
|-
| 27 || [5.1.0+] StopBleScanForGeneral
+
| 27 || [5.1.0+] [[#StopBleScanForGeneral]]
 
|-
 
|-
 
| 28 || [5.1.0+] GetBleScanResultsForGeneral
 
| 28 || [5.1.0+] GetBleScanResultsForGeneral
Line 222: Line 222:  
== AcquireBleScanEvent ==
 
== AcquireBleScanEvent ==
 
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.
 +
 +
== GetBleScanParameterGeneral ==
 +
Takes an input u16, returns a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]].
 +
 +
The u16 must be value 0x1 or 0xFFFF.
 +
 +
== GetBleScanParameterSmartDevice ==
 +
Takes an input u16, returns a [[Bluetooth_Driver_services#GattAttributeUuid|GattAttributeUuid]].
 +
 +
The u16 must be value 0x2. The first 4-bytes of output is always 0 since it's not set.
 +
 +
== StartBleScanForGeneral ==
 +
Takes a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], no output.
 +
 +
== StopBleScanForGeneral ==
 +
No input/output.
    
== BleConnect ==
 
== BleConnect ==
Line 460: Line 476:  
| 2 || [[#GetBleScanFilterParameter2]]
 
| 2 || [[#GetBleScanFilterParameter2]]
 
|-
 
|-
| 3 || [[#StartBleScanForGeneral]]
+
| 3 || [[#StartBleScanForGeneral_2|StartBleScanForGeneral]]
 
|-
 
|-
| 4 || [[#StopBleScanForGeneral]]
+
| 4 || [[#StopBleScanForGeneral_2|StopBleScanForGeneral]]
 
|-
 
|-
 
| 5 || [[#GetBleScanResultsForGeneral]]
 
| 5 || [[#GetBleScanResultsForGeneral]]
Line 527: Line 543:  
Takes an input u16, returns a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]].
 
Takes an input u16, returns a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]].
   −
The u16 must be value 0x1 or 0xFFFF.
+
This is the same as [[#GetBleScanParameterGeneral]].
    
=== GetBleScanFilterParameter2 ===
 
=== GetBleScanFilterParameter2 ===
 
Takes an input u16, returns a [[Bluetooth_Driver_services#GattAttributeUuid|GattAttributeUuid]].
 
Takes an input u16, returns a [[Bluetooth_Driver_services#GattAttributeUuid|GattAttributeUuid]].
   −
The u16 must be value 0x2. The first 4-bytes of output is always 0 since it's not set.
+
This is the same as [[#GetBleScanParameterSmartDevice]].
    
=== StartBleScanForGeneral ===
 
=== StartBleScanForGeneral ===
 
Takes a PID, a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
 
Takes a PID, a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
 +
 +
This is similar to the [[#StartBleScanForGeneral|btm]] cmd.
    
=== StopBleScanForGeneral ===
 
=== StopBleScanForGeneral ===
 
No input/output.
 
No input/output.
 +
 +
This is similar to the [[#StopBleScanForGeneral|btm]] cmd.
    
=== GetBleScanResultsForGeneral ===
 
=== GetBleScanResultsForGeneral ===

Navigation menu