Teledyne-lecroy Automation API for Bluetooth Analyzers Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Teledyne-lecroy Automation API for Bluetooth Analyzers. Teledyne LeCroy Automation API for Bluetooth Analyzers User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - CATC Bluetooth Analyzers

3385 Scott Blvd, Santa Clara, CA 95054 Tel: +1/408.727.6600 Fax: +1/408.727.6622 Manual Version 1.408 July, 2004Automation API for CATC Bluetooth A

Strany 2 - Copyright

4Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.401.7 TerminationWhen the application is started in automation mode, the last client to disco

Strany 3 - TABLE OF CONTENTS

94Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40The Location window displays.Step 2 Select the option Run application on the following comp

Strany 4

95Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40You should see the following settings. If the settings are not the same as those shown, c

Strany 5

96Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40The following screen will display. TCP/IP should appear at the top of the list. If it doe

Strany 6

97Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40• html - Contains a directory with an HTML-based client application called analyzer1.html

Strany 7 - 1. Introduction

98Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Step 2 Double-click AnalyzerClient.exe. The application will start. If you prefer, you can

Strany 8 - 1.3 Installing Automation

99Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40sure that the account that you are using on the Host Controller is the same as the one you

Strany 9 - 1.6 Initialization

100Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40

Strany 10 - 1.7 Termination

101Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40How to Contact CATCLimited Hardware WarrantySo long as you or your authorized representat

Strany 11 - 2.1 Introduction

102Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40altered by someone other than CATC, Products with missing or altered service tags or seria

Strany 12 - 2.2 Command Descriptions

103Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40to have the Product repaired by CATC, you agree to pay CATC for the cost to return the Pr

Strany 13

5Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402. Automation API DescriptionThis chapter describes the commands in the BTTracer, Merlin,

Strany 14

104Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40

Strany 15 - 2.3.2 IAnalyzer::GetVersion

6Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40diagram represents objects dependance: All interfaces are dual interfaces, which allows simp

Strany 16

7Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40• Primary Dual Interface for Trace• Primary Dual Interface for Recording Options• Errors Co

Strany 17

8Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3 Primary Dual Interface for AnalyzerThe IBTAnalyzer interface derives from IAnalyzer int

Strany 18 - 2.3.4 IAnalyzer::OpenFile

9Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.2 IAnalyzer::GetVersionRetrieves the current version of specified subsystemParametersve

Strany 19

10Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40, MB_OK );else::MessageBox(NULL, er.ErrorMessage(), _T("BTAnalyzer client"), MB_O

Strany 20

11Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.3 IAnalyzer::GetSerialNumberRetrieves serial number of analyzer deviceParametersReturn

Strany 21

12Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.4 IAnalyzer::OpenFileOpens trace fileParametersfile_name - string providing the full pa

Strany 22

13Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.5 IAnalyzer::StartGenerationStarts traffic generation from the fileParametersgen_file_

Strany 23

iiAutomation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Document DisclaimerThe information contained in this document has been carefully checked an

Strany 24

14Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.6 IAnalyzer::StopGenerationStops generationReturn valuesE_NOTIMPLRemarksNot implemented

Strany 25

15Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.7 IAnalyzer::StartRecordingStarts recording with specified recording optionsParameters

Strany 26

16Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40try{bt_analyzer->StartRecording( ro_file_name )}catch ( _com_error& er){if (er.Descr

Strany 27

17Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.8 IAnalyzer::StopRecordingStops recording started by StartRecording methodParametersa

Strany 28

18Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.9 IAnalyzer::MakeRecordingMakes recording with specified recording options fileParamete

Strany 29

19Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40// query for VTBL interfaceIBTTrace* bt_trace;hr = trace->QueryInterface( IID_IBTTrace,

Strany 30

20Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.10 IAnalyzer::CreateRecordingSnapshot Causes the analyzer to create a temporary trace

Strany 31

21Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.11 IAnalyzer::LoadDisplayOptionsLoads display options that will apply for trace opened

Strany 32

22Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.12 IAnalyzer::GetRecordingOptionsRetrieves primary interface for access to recording op

Strany 33

23Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.13 IBTAnalyzer::GetBTNeighborhoodRetrieves collection interface for access to bluetoot

Strany 34

iiiAutomation API for CATC Bluetooth AnalyzersCATC Ver. 1.40TABLE OF CONTENTSChapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . .

Strany 35

24Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.14 IBTAnalyzer::SetLinkKeySets link key for specified addressParametersaddr - device ad

Strany 36 - Bluetooth analyzers

25Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.15 IBTAnalyzer::SetPinCodeSets pin code for specified addressParametersaddr - device a

Strany 37 - 2.4.1 ITrace::GetName

26Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.16 IBTAnalyzer::ResetEncryptionClears all previously set link keys and pin codesParamet

Strany 38

27Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.3.17 IAnalyzer::SetConnectorsConfigurationSets the connectors configuration. Supported o

Strany 39 - 2.4.3 ITrace::Save

28Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40"- 'G.P' (Breakout board)\n";Radio dataIn this configuration the connec

Strany 40

29Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Both directions = 3clock_cal_channel - Reserved. Currently not used. Return valuesNot Supp

Strany 41 - 2.4.4 ITrace::ExportToText

30Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4 Primary dual interface for traceIBTTrace interface is the primary interface for BTTrac

Strany 42

31Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.1 ITrace::GetNameRetrieves trace nameParameterstrace_name - the name of the traceRetur

Strany 43 - 2.4.5 ITrace::Close

32Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.2 ITrace::ApplyDisplayOptionsApplies specified display options to the traceParametersdo

Strany 44 - 2.4.6 ITrace::ReportFileInfo

33Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.3 ITrace::SaveSaves trace into file, allows to save a range of packetsParametersfile_n

Strany 45

ivAutomation API for CATC Bluetooth AnalyzersCATC Ver. 1.40ITrace::AnalyzerErrors . . . . . . . . . . . . . . . . . . . . . . 48Primary dual interfac

Strany 46

34Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40if (er.Description().length() > 0)::MessageBox( NULL, er.Description(), _T("BTAnal

Strany 47

35Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.4 ITrace::ExportToTextExports trace into text file, allows to export a range of packet

Strany 48

36Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40_______|_______________________________________________________________________19_____| T(S

Strany 49 - 2.4.9 ITrace::GetPacket

37Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.5 ITrace::Close Closes the traceParametersReturn valuesRemarksCloses current tr

Strany 50

38Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.6 ITrace::ReportFileInfoSaves trace information into specified text fileParametersfile_

Strany 51

39Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40ExampleWSH:Set Analyzer = WScript.CreateObject("CATC.Merlin")CurrentDir = Left(W

Strany 52

40Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.7 ITrace::ReportErrorSummarySaves trace error summary information into specified text f

Strany 53

41Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40ExampleWSH:Set Analyzer = WScript.CreateObject("CATC.Merlin")CurrentDir = Left(W

Strany 54 - 2.4.12 ITrace::AnalyzerErrors

42Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.8 ITrace::ReportTrafficSummarySaves trace traffic summary information into specified te

Strany 55 - CATC analyzers

43Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.9 ITrace::GetPacket Retrieves raw packet representationParameterspacket_number - n

Strany 56 - 2.5.1 IRecOptions::Load

vAutomation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Setting When and How Authentication Should Occur . . . 91Set the Host Name or IP Address of

Strany 57 - 2.5.2 IRecOptions::Save

44Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40NextPacketStr = Left( PacketStr, NumberOfBits )StatusText.innerText = "Packet ( "

Strany 58 - 2.5.3 IRecOptions::SetRecMode

45Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40}_stprintf( elem, _T("%d bits"), number_of_bits );_tcscat( packet_message, elem

Strany 59

46Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.10 ITrace::GetPacketsCountRetrieves total number of packets in the traceParametersnumbe

Strany 60

47Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.11 ITrace::GetTriggerPacketNumRetrieves trigger packet numberParameterspacket_number -

Strany 61

48Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.4.12 ITrace::AnalyzerErrors Retrieves trace file errorsParameterslong error_type –

Strany 62

49Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5 Primary dual interface for recording optionsIBTRecOptions interface is the primary in

Strany 63

50Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.1 IRecOptions::LoadLoads recording options from specified fileParametersro_file_name -

Strany 64

51Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.2 IRecOptions::SaveSaves recording options into specified fileParametersro_file_name -

Strany 65

52Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.3 IRecOptions::SetRecModeSets the recording modeParametersrec_mode - enumerated value p

Strany 66

53Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.4 IRecOptions::SetBufferSizeSets the size of buffer to recordParametersbuffer_size - b

Strany 67

viAutomation API for CATC Bluetooth AnalyzersCATC Ver. 1.40

Strany 68

54Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.5 IRecOptions::SetPostTriggerPercentageSets the posttrigger buffer size Parameterspostt

Strany 69

55Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.6 IRecOptions::SetTriggerBeepSets the flag indicating to make a sound when trigger occ

Strany 70

56Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.7 IRecOptions::SetDataTruncateSets the flag indicating that recorded data is to be trun

Strany 71 - 2.5.16 IRecOptions::Reset

57Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.8 IBTRecOptions:: SetDataTruncateThis method is not implemented for IBTRecOptions inte

Strany 72

58Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.9 IRecOptions::SetAutoMergeSets the flag indicating that recorded traces on different c

Strany 73

59Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.10 IBTRecOptions::SetAutoMergeThis method is not implemented for IBTRecOptions interfa

Strany 74

60Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.11 IRecOptions::SetSaveExternalSignalsSets the flag indicating to save external signals

Strany 75

61Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.12 IRecOptions::SetTraceFileNameSets the path to the file where trace will be stored a

Strany 76

62Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.13 IRecOptions:: SetFilterPolaritySets the whether to filter in or out the recording ev

Strany 77

63Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.14 IBTRecOptions::SetMasterAddrSets the option master address used by the Analyzer to

Strany 78

1Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.401. Introduction CATC Bluetooth Analyzer Automation is an Automation Application Program In

Strany 79

64Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.15 IBTRecOptions::SetPageTargetAddrSets the page target used by the Analyzer when perfo

Strany 80 - 2.8.1 IBTDevice::GetAddress

65Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.5.16 IRecOptions::ResetResets recording options to its initial stateParametersReturn val

Strany 81 - 2.8.2 BTDevice:: GetClockHz

66Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.6 Errors Collection InterfaceThe IAnalyzerErrors dispinterface is a standard collection

Strany 82 - 2.8.3 IBTDevice:: GetCoD

67Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.6.1 IAnalyzerErrors::get_ItemParametersindex - index of error in the collectionpacket_nu

Strany 83

68Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.6.2 IAnalyzerErrors::get_CountParametersnumber_of_errors - points to long value where num

Strany 84

69Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40}for ( long i=0; i<errors_count && i<2048/32; i++ ){analyzer_error = analyse

Strany 85

70Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.7 Bluetooth neighborhood collection interfaceThe IBTNeighborhood dispinterface is a stan

Strany 86

71Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.7.1 IBTNeighborhood::get_ItemParametersindex - index of error in the collectionbt_device

Strany 87

72Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.7.2 IBTNeighborhood::get_CountParametersbt_device_count - points to long value where numb

Strany 88

73Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.8 Primary dual interface for bluetooth deviceIBTDevice interface is the primary interfa

Strany 89

2Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40For additional tips, ideas and support for how to use the Automation API, please check the

Strany 90

74Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.8.1 IBTDevice::GetAddressRetrieves the address of deviceParametersaddress - device addres

Strany 91

75Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.8.2 BTDevice:: GetClockHzRetrieves the clock frequency of deviceParametersclock_hz - dev

Strany 92

76Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.8.3 IBTDevice:: GetCoDRetrieves class of deviceParameterscod - class of device Return val

Strany 93

77Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.9 Analyzer events callback interfaceIn order to retrieve the events from BTAnalyzer app

Strany 94 - Click the Add ... button

78Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.9.1 IAnalyzerEvents::OnTraceCreatedFired when trace is created; this event is a result of

Strany 95

79Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.402.9.2 _IAnalyzerEvents::OnStatusReportFired when there is a change in analyzer's stat

Strany 96

80Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40<SCRIPT LANGUAGE="VBScript"><!--Function GetRecordingStatus(ByVal State,

Strany 97

81Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40}TCHAR buf[1024];_stprintf( buf, _T("%s, %s"), m_RecordingStatus, m_SyncStatus )

Strany 98

82Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40

Strany 99

83Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Appendix A: DCOM Configuration BTTracer, Merlin, & Merlin Mobile Automation can be r

Strany 100 - CATC Ver. 1.40

3Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.401.4 Setting Up Automation for Local UseIf you intend to run Automation on the Host Control

Strany 101

84Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Step 5 If you write a program in C++, make sure that the Merlin Host Controller is register

Strany 102 - A.6 Samples for Automation

85Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Step 2 Select Run ...The Run dialog appears.Step 3 In the Open edit box within the Run dia

Strany 103

86Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Step 5 In the Applications tab, scroll down the list of applications and select Merlin.Step

Strany 104

87Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40The following settings display:You see three options: Access Permissions - Determines who

Strany 105

88Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Step 3 Click the Edit ... button.The Registry Value Permissions dialog box appears.Step 4

Strany 106

89Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Step 5 Select the group called Everyone.Step 6 Click the Add button.Step 7 Select the grou

Strany 107 - How to Contact CATC

90Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Configuring Configuration PermissionsYou are going to give everyone permission to configure

Strany 108

91Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40The following screen displays: Step 2 Make sure that the Interactive User option is select

Strany 109

92Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Step 2 Select Run ...The Run dialog appears.Step 3 In the Open edit box within the Run dial

Strany 110

93Automation API for CATC Bluetooth AnalyzersCATC Ver. 1.40Step 6 Click the Properties button.Step 7 Click the Authentication drop-down menu and sele

Komentáře k této Příručce

Žádné komentáře