
75
Automation API for CATC Bluetooth Analyzers
CATC Ver. 1.40
2.8.2 BTDevice:: GetClockHz
Retrieves the clock frequency of device
Parameters
clock_hz - device clock frequency (in Hz)
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 GetClockHz (
[out, retval] LONG* clock_hz );
Komentarze do niniejszej Instrukcji