TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 90

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)
BMTRxWaitBytes
The BMTRxWaitBytes(i) macro waits until there are i characters in the receive buffer. It can be called
before BMTRxAdvance to avoid buffer underrun. . i must be of type unsigned char – this is a macro and no
type casting is done.
Bluetooth Device Classes
The 3-byte Bluetooth device class, specified in the ToothPIC Settings and Link Key Map as the variable
DeviceClass, determines what the module claims to be when other Bluetooth devices ask it. It affects the
icon that appears on other Bluetooth devices and may affect the device discovery function. In particular some
mobile phones only look for certain sub classes, e.g. headsets.
The device class consists of three elements: the services available, the major device class and the minor
device class. BlueMatik can be programmed to claim to be capable of any number of services, however
exactly one Major Class must be specified. The minor device class is an optional addition, defining a subset
of the major device class.
Services and Major Device Class
The first two bytes of the device class contain the services information and the major device class. They are
calculated by bitwise-ORing together as many services that are required and the one Major Device Class
required. (ToothPIC.h provides definitions for these values.)
Example
If BlueMatik is required to claim network and object transfer and information services, and appear as a
peripheral then the device configuration bytes are:
Page 90
Byte A
0x00
0x01
0x02
0x04
0x08
0x10
0x20
0x40
0x80
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
void BMTRxWaitBytes( unsigned char i )
9-Apr-06
Byte B
0x20
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x1F
0x00
Toothpick 3.0.00007
Description
Limited discovery mode (default)
Positioning
Network (default)
Rendering
Capturing
Object transfer (default)
Audio
Telephony (default)
Information
Computer
Phone (default)
LAN
AV
Peripheral
Imaging
Uncategorized
Miscellaneous Device Class
DS380-8
© FlexiPanel Ltd
Patents apply and/or pending
Device Major Class
Data Type
Services
www.FlexiPanel.com

Related parts for TOOTHPIC