TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 56

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)
Caution using ROM for modifiable control data
Writing to Flash ROM memory causes the PIC CPU clock to be suspended for about 2ms. During this period,
any incoming ASCII characters may be lost if the UART interrupt cannot be responded to. Avoid using ROM
for data modifiable by the FlexiPanel Client unless the UART speed is 2400 baud or less. RAM, EE and
External memory have no such limitations.
Commands
Binary commands may be up to 22 bytes long; ASCII commands 48 bytes. The first byte is the command
length byte, equal to the total number of bytes in the message. The second byte is the command byte, which
indicates how the remainder of the message should be interpreted.
Commands can be in either ASCII or binary and the two formats can be mixed freely. In ASCII format, each
byte is transmitted as two hexadecimal digits (upper or lower case) and the entire command must be followed
by a <CR><LF> pair (i.e. the control characters 0x0D and 0x0A).
If the Responses anytime property is set, all commands generate a response. This will be the OK response if
no other response is appropriate.
Only one command can be processed at once. While it is being processed, the RTS pin will go high and no
further messages should be sent. To know when the previous command has completed, observe the state of
the RTS pin or wait for a response to be sent. Only then send another command.
Reset Command
The command byte 0x00 instructs the ToothPIC to reset. Additionally, a command length byte of zero will
generate an immediate reset (and will not wait for <CR><LF> if in ASCII format).
Page 56
Command Summary
Command
Reset
Configure Slave
Configure I/O
Set I/O
Get I/O
BlueMatik Command
FlexiPanel Command
User Interface Info
Get Control Data
Set Control Props
Set Control Data
Set Row
Append Row
Log Row
Read Memory
Write Memory
Set Message
9-Apr-06
Reset Command Examples
Reset (binary)
Reset (ASCII)
Reset (binary)
Reset (ASCII)
Toothpick 3.0.00007
Command
Byte
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
0x40
DS380-8
0x02 0x00
“0200<CR><LF>”
0x00
“00”
Effect
Resets ToothPIC
Configures ToothPIC Slave
Configures I/O
Sets an I/O value
Requests an I/O value
Sends a command to the BlueMatik radio
Sends a command to the FlexiPanel server
Gets user interface information
Gets the value of a control
Sets a control’s properties
Sets the value of a control
Sets a row of a matrix control
Appends a row of a matrix control
Appends a time-stamped row of a matrix control
Reads from memory locations
Writes to memory locations
Requests the next message (if “messages anytime”
mode is not enabled)
© FlexiPanel Ltd
Patents apply and/or pending
www.FlexiPanel.com

Related parts for TOOTHPIC