Client Side
Appendix 1 of this document contains a sample script named “SampleClient.tcl”. You can modify that file for this portion of the guide. Open “SampleClient.tcl’ and modify the Connections(Host) and Connections(Port) to reflect the same changes made in the Automation configuration file, see Section 1tcl files are based on Tool Command Language (TCL). TCL is an open-source, cross-platform programming language. More information is available at www.tcl.tk. Modify IPAddr and Port. The Connections (Host) should be set to the IPAddr value and the Connections(Port) should be set to the same Port value.
The only other changes necessary to make are the Config Settings command parameters. These are specific to the devices being sniffed. Find the statement in the script that set the state: “Config Settings:IOParameters;BPA600”. The Slave and Master BD addresses should be modified to reflect those addresses of the devices under test. Along with that change the “EncryptionSelection” and possibly “PinCode” and “LinkKey” configuration pairs should be modified. All configuration pairs become key/value pairs followed by a “;”. For instance if the PinCode is 1234 then the parameter “PinCode=1234” would be added with a preceding “;”. Adding a link key parameter would look like this: “LinkKey=0x13456789abcdef1234567890abcdef12”.
Once these changes have been made to suit the needs of the devices being tested, then run the script by typing tclsh client.tcl at the prompt.