Included with Bluetooth for Windows software:
Support for Windows 98 SE, Millennium Edition (Me), 2000 and XP
User Interface including Shell Extension, System Tray and Control Panel applications
Extensive documentation that exposes and details Bluetooth wireless technology API
Optional Test Spy test tool (trace, diagnostic and debug tools) to exercise the Host communication
software
Sample application programs demonstrating Bluetooth out of the box connectivity
7.4
TestEngine
TestEngine is a dynamically linked library (DLL) that allows programmers rapidly to develop a test application for
use as either a bespoke bench test or a production test utility. It contains a large number of functions that allow
access to CSR's built-in tests, Persistent Store read and write functions and simple HCI and Device Manager
(DM) commands. The API is an extern 'C' interface with __stdcall calling convention. This means it can be called
from a wide variety of programming languages such as 'C', 'C++', Visual Basic, Delphi and National
Instruments
LabView
.
™
™
TestEngine allows for rapid development of a test application, as only a few lines of code are required to initialise
communication and call functions. This simple 'C' example shows how TestEngine can be used to communicate
with a device and enable Bluetooth testmode. The full set of function descriptions are in the file TestEngine.h.
int main()
{
char * transportDevice = "com1";
// Set DMcommands to true for RFCOMM builds
bool DMcommands = false;
uint32 handle = init_prodtest(BCSP, transportDevice, 38400, DMcommands);
if(handle)
{
if(DMcommands)
do_dm_register_req(handle);
do_slave(handle);
do_enable_device_under_test_mode(handle);
// Initialise Bluetooth tester HERE
do
{
::Sleep(100);
// finished = state_of_bluetooth_tester();
}while(!finished);
}
close_prodtest(handle);
return 0;
}
7.5
TestFlash
TestFlash is a DLL that allows programmers rapidly to develop a BlueCore programming application. It contains
functions that provide access to the SPI interface and allow firmware and Persistent Store write actions. The API
is an extern 'C' interface with __stdcall calling convention. This means that it can be called from a wide variety of
programming languages such as 'C', 'C++', Visual Basic, Delphi and National Instruments LabView. TestFlash
supports a single SPI connection and the CSR gang programmer.
bc01-an-100Pd
© Copyright Cambridge Silicon Radio Limited 2001-2004
This material is subject to CSR's non-disclosure agreement.
Other Applications
Page 29 of 33
Need help?
Do you have a question about the BlueCore Casira and is the answer not in the manual?