
72
Automation API for CATC Bluetooth Analyzers
CATC Ver. 1.40
2.7.2 IBTNeighborhood::get_Count
Parameters
bt_device_count - points to long value where number of elements in the collection is
retrieved
Remarks
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName,
"\"))
Set Analyzer = WScript.CreateObject("CATC.Merlin")
Set Neighborhood = Analyzer.GetBTNeighborhood
MsgBox "Number of devices:" & Neighborhood.Count
For Each Device In Neighborhood
MsgBox "Address:" & Device.GetAddress &
" Clock:" & Device.GetClockHz & "Hz" &
" Class:" & Device.GetCoD
Next
Next
HRESULT get_Count(
[out, retval] long* bt_device_count );
Comentarios a estos manuales