Changes

Jump to navigation Jump to search
58 bytes added ,  16:26, 17 August 2020
no edit summary
Line 277: Line 277:     
== BleDisconnect ==
 
== BleDisconnect ==
Takes an input u32, no output.
+
Takes an input u32 ConnectionHandle, no output.
   −
The u32 must match an Id in a [[Bluetooth_Driver_services#BleConnectionInfo|BleConnectionInfo]] from [[#BleGetConnectionState]]. [5.1.0+] 0xFFFFFFFF is invalid.
+
The u32 must match a ConnectionHandle in a [[Bluetooth_Driver_services#BleConnectionInfo|BleConnectionInfo]] from [[#BleGetConnectionState]]. [5.1.0+] 0xFFFFFFFF is invalid.
    
== BleGetConnectionState ==
 
== BleGetConnectionState ==
Line 326: Line 326:     
== GetGattIncludedServices ==
 
== GetGattIncludedServices ==
Takes a type-0x6 output buffer containing an array of [[#GattService]], an u16, an u32, returns an output u8.
+
Takes a type-0x6 output buffer containing an array of [[#GattService]], an u16 Handle, an u32, returns an output u8.
    
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100.
 
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100.
Line 335: Line 335:     
== GetBelongingService ==
 
== GetBelongingService ==
Takes a type-0x1A output buffer containing a [[#GattService]], an u16, an u32, returns an output bool.
+
Takes a type-0x1A output buffer containing a [[#GattService]], an u16 Handle, an u32, returns an output bool.
    
The u32 is the same as the param for [[#BleDisconnect]]. The output bool indicates whether a [[#GattService]] was returned.
 
The u32 is the same as the param for [[#BleDisconnect]]. The output bool indicates whether a [[#GattService]] was returned.
Line 342: Line 342:     
== GetGattCharacteristics ==
 
== GetGattCharacteristics ==
Takes a type-0x6 output buffer containing an array of [[#GattCharacteristic]], an u16, an u32, returns an output u8 total_out.
+
Takes a type-0x6 output buffer containing an array of [[#GattCharacteristic]], an u16 Handle, an u32, returns an output u8 total_out.
    
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100.
 
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100.
Line 349: Line 349:     
== GetGattDescriptors ==
 
== GetGattDescriptors ==
Takes a type-0x6 output buffer containing an array of [[#GattDescriptor]], an u16, an u32, returns an output u8 total_out.
+
Takes a type-0x6 output buffer containing an array of [[#GattDescriptor]], an u16 Handle, an u32, returns an output u8 total_out.
    
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100.
 
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100.

Navigation menu