
76
Automation API for CATC Bluetooth Analyzers
CATC Ver. 1.40
2.8.3 IBTDevice:: GetCoD
Retrieves class of device
Parameters
cod - class of device
Return values
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
C++:
HRESULT GetCoD (
[out, retval] LONG* cod );
Comentarios a estos manuales