TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 82

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)
CommandID (hex
value)
BMTC_Inquire
(04)
BMTC_Security
(05)
BMTC_Hold (0A)
BMTC_Sniff (08)
BMTC_SniffX
(09)
BMTC_Signal
(07)
BMTC_LinkQ (06)
BMTC_Cancel
(0B)
BMTC_Reset (0C)
BMTC_WFP (0D)
BMTC_General
(FF)
Examples:
Page 82
BMTCommand( BMTC_Slave, 0, 0 );
AwaitBMTConnect( 0 );
unsigned char pBTAddr[] =
BMTCommand( BMTC_Master, (void *) pBTAddr, 0 );
AwaitBMTConnect( 50 );
if (!ConnectSuccess) {...};
BMTCommand( BMTC_Disco, 0, 0 );
AwaitBMTOK;
BMTCommand( BMTC_Sniff, 0, 0 );
AwaitBMTOK;
BMTCommand( BMTC_LinkQ, 0, 0 );
AwaitBMTOK;
// set device class to camera
rom static unsigned short long CamDevClass =
BMTCommand( BMTC_DevClass, 0, &CamDevClass );
AwaitBMTOK;
BMTCommand( BMTC_Inquire, 0, (rom void *)"A" ); // 10 second inquiry
AwaitBMTOK;
BMTCommand( BMTC_Security, 0, Sec_AuthEncr );
AwaitBMTOK;
// Set hold parameters (max, min, hex units of 0.625ms)
BMTCommand( BMTC_General, 0, (rom void *)"AT+BSHP=200,80\r" );
9-Apr-06
{ 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB };
Toothpick 3.0.00007
Command description
Search for other Bluetooth devices. Each
device found generates a BMTE_Found event.
Finally a BMTE_OK event generated.
Sets security level to none (Sec_None),
authentication (Sec_Auth) or authentication
and encryption (Sec_AuthEncr)
Enter hold mode.
Enter sniff mode.
Exit sniff mode.
Enquire link signal strength.
Enquire link quality.
Cancel the current BMTC_Slave,
BMTC_Master or BMTC_Inquire command.
Reset BlueMatik.
Enter Wireless Field Programming mode.
Send arbitrary command to BlueMatik as
described in BlueMatik documentation.
Dev_Imaging | ImDev_Display | ImDev_Camera | Svc_Capture;
DS380-8
© FlexiPanel Ltd
Patents apply and/or pending
*pData (or *pDataR if pData is
null pointer)
inquiry duration in seconds as ASCII
hexadecimal (zero terminated
char[]), range 02 to 3C
security level as ASCII digit (zero
terminated char[]) – see examples
below
ignored
ignored
ignored
ignored
ignored
ignored
ignored
ignored
ASCII command (zero terminated
char[])
// Enter slave mode
// No timeout
// 5 sec timeout
// Test connection timeout
// Disconnect
// Enter Sniff mode
// Enquire link quality
// Creates BMTE_LinkQ event
// encryption (default)
// Authentication and
// Connect to device
www.FlexiPanel.com

Related parts for TOOTHPIC