TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 64

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)
The final 4 bytes of the command specify the new control color. The RGB values, each in the range 0x00 to
0xFF, are sent as the bytes 0xRR 0xGG 0xBB 0x00.
Set Control Data Command
The Set Control Data Command byte 0x0A sets the value of a control. The user interface must first be
programmed from FlexiPanel Designer as described in the above section Adding a FlexiPanel User Interface.
The FlexiPanel Server does not need to be running in order to get or set values. For matrix controls, one of
the Set / Append / Log Row commands is preferred.
The two bytes after the command byte are the Control ID. This is the value displayed in FlexiPanel Designer
under heading ID in the main controls list. Beware that this ID may change if you insert a dialog or a control
earlier in the control list. You may therefore wish to define constants in your host controller code to simplify
changes to ID values.
The next two bytes are the control offset (little-endian) and the remaining bytes are the new control data. For
controls whose data length is 16 bytes or less, the control offset should be zero. For controls whose length is
17 bytes or greater, it will be necessary to update the data using multiple Set Control Data Commands, each
with different control offset values. The control offset indicates where the new control data are to be placed
within the control’s data field. If multiple Set Control Data Commands are sent for a control, ensure that the
last, and only the last, has a control offset of zero. This indicates that the control data update is complete and
the new data can be transmitted to the client.
The data types for the various controls are as follows:
Page 64
9-Apr-06
Properties of Message Controls
(A message can only be displayed if its dialog is visible.)
To display a message control
To modify the message control’s properties
without displaying it.
No icon
Stop icon
Exclamation icon
Question icon
Information icon
No button response message required
OK button (V3 clients only)
OK, Cancel buttons (V3 clients only)
Retry, Cancel buttons (V3 clients only)
Yes, No buttons (V3 clients only)
Yes, No, Cancel buttons (V3 clients only)
Abort, Retry, Ignore buttons (V3 clients only)
Properties of Other Controls
Ensure control is visible on client screen
If the control color properties are to be set
Set Control Properties Command Examples
Show a message control 0x0B03,
info icon, Yes / No buttons (binary)
Make control 0x0003 onscreen and
red.
Control Data Types
Control
Toothpick 3.0.00007
Data type description.
DS380-8
© FlexiPanel Ltd
0x0C 0x09 0x0B 0x03 0x00 0x45
0x00 0x00 0x00 0x00 0x00 0x00
0x0C 0x09 0x00 0x03 0x50 0x00
0x00 0x00 0xFF 0x00 0x00 0x00
0x00 0x00 0x00 0x00
0x01 0x00 0x00 0x00
0x00 0x00 0x01 0x00
0x00 0x00 0x02 0x00
0x00 0x00 0x03 0x00
0x00 0x00 0x04 0x00
0x00 0x00 0x05 0x00
0x00 0x00 0x00 0x00
0x00 0x00 0x10 0x00
0x00 0x00 0x20 0x00
0x00 0x00 0x30 0x00
0x00 0x00 0x40 0x00
0x00 0x00 0x50 0x00
0x00 0x00 0x60 0x00
0x10 0x00 0x00 0x00
0x40 0x00 0x00 0x00
Patents apply and/or pending
www.FlexiPanel.com

Related parts for TOOTHPIC