BTM services: Difference between revisions

No edit summary
No edit summary
Line 228: Line 228:


== GetBleScanParameterGeneral ==
== GetBleScanParameterGeneral ==
Takes an input u16, returns a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]].
Takes an input u16 ParameterId, returns a [[Bluetooth_Driver_services#BleAdvertisePacketParameter|BleAdvertisePacketParameter]].


The u16 must be value 0x1 or 0xFFFF.
The u16 must be value 0x1 or 0xFFFF.


== GetBleScanParameterSmartDevice ==
== GetBleScanParameterSmartDevice ==
Takes an input u16, returns a [[Bluetooth_Driver_services#GattAttributeUuid|GattAttributeUuid]].
Takes an input u16 ParameterId, 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.
The u16 must be value 0x2. The first 4-bytes of output is always 0 since it's not set.