beautypg.com

14 ibtrecoptions::setmasteraddr, Ibtrecoptions::setmasteraddr – Teledyne LeCroy Automation API for Bluetooth Analyzers User Manual

Page 69

background image

63

Automation API for CATC Bluetooth Analyzers

CATC

Ver. 1.40

2.5.14 IBTRecOptions::SetMasterAddr

Sets the option master address used by the Analyzer to implement all Piconet recordings options.

Parameters

master_addr

-

device address (12 hex digits)

Return values

E_INVALIDARG

invalid address was specified

Remarks

The address can be obtained dynamically using the Bluetooth neighborhood interface

Example

WSH:

Set Analyzer = WScript.CreateObject("CATC.Merlin")

Set RecOptions = Analyzer.GetRecordingOptions

RecOptions.SetMasterAddr "00D0B7031621"

RecOptions.SetPageTargetAddr "0123456789AB"

C++:

HRESULT SetMasterAddr (

[in] BSTR master_addr );