TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 27

MODULE, BLUETOOTH, DATA ACQUISITION

TOOTHPIC

Manufacturer Part Number
TOOTHPIC
Description
MODULE, BLUETOOTH, DATA ACQUISITION
Manufacturer
RF Solutions
Datasheet

Specifications of TOOTHPIC

Svhc
No SVHC (15-Dec-2010)
8. The remainder of the test is automatic and should end with the message ToothPIC test SUCCEEDED.
Application Development in MPLAB
The application code for ToothPIC firmware solution is relatively simple. Both the MPLAB (ToothPIC) and
Visual C++ (Windows) projects are available for inspection in the development kit. The most important
ToothPIC file is the application source code file BlueMatikTest.c. The corresponding Windows file is
BlueMatikTestWin.cpp. The key features of the source code are discussed below.
Connection Testing and Device Enquiry
First, the Windows computer creates a connection without security. Then ToothPIC creates a connection by
exchanging PIN codes and becomes ‘trusted’ (a.k.a. ‘paired’ or ‘bonded’). The user will be prompted for the
PIN code and 0000 must be entered. Then it disconnects and tries to connect to a Bluetooth address that
doesn’t exist, giving up after 5 seconds. The reason for this test is to check that failure to connect generates
no problems. Then ToothPIC performs a device enquiry for 10 seconds and stores the device names found.
Data Transfer
ToothPIC then reconnects to the Windows computer. This time the devices are paired so it can connect
without asking for the PIN again. First it reports the Bluetooth devices found. Then it measures the transfer
time for 100kbits of data first in one direction then the other. This is not just to measure transfer rates but also
to verify that data is not corrupted or lost due to handshaking errors.
Signal Strength Measurement
Finally, ToothPIC sends the Link Quality and Signal Strength commands to verify that they both function
correctly. Due to the automatic gain control of the radio, these statistics really only provide an indication of
signal quality when the quality is poor.
Page 27
9-Apr-06
Toothpick 3.0.00007
DS380-8
© FlexiPanel Ltd
Patents apply and/or pending
www.FlexiPanel.com

Related parts for TOOTHPIC