TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 97

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)
FxPC_MultiPropsUpdate
(0C)
Examples:
Notes:
ERR_TXTIMEOUT:
entered an unpredictable state. For robust performance, reset if this error is received while the FlexiPanel
server is running.
Use with BMTCommand: No communication can be made using BlueMatik while the FlexiPanel server is
running except via the FlexiPanel server. No other connection should be established or device inquiry made
while the FlexiPanel server is operating.
FlexiPanel server is started. Link quality and signal strength may be enquired at any time. Low power modes
may be requested at any time (the FlexiPanel service does not invoke them itself).
FxPC_Start: Starts FlexiPanel service. Responds with BMTE_OK event when the server has started, with
BMTE_Connect when any remote device connects and with FxPE_Connect when the remote device
identifies itself as a FlexiPanel client.
FxPC_SetDialog: FlexiPanel Designer permits multiple dialogs to be defined for ToothPIC using the New
Dialog control property. FxPC_SetDialog selects the dialog that is displayed. The dialog index numbers
start at zero. For convenience, DlgID_ ID numbers are defined in the header file generated by FlexiPanel
Designer. The new dialog will automatically be sent to the client if a client is connected. FxPC_SetDialog
may be called prior to FxPC_Start. If not, FxPC_Start will default to the first dialog. Returns when request
has been registered and updates the client in the next available software interrupt slot. No event is generated
to confirm the result.
FxPC_CtlUpdate: Sends the new value of a modified control to the client. The contents should be modified
beforehand using the macros defined in the header file generated by FlexiPanel Designer. If you have
several controls which you wish to appear to update simultaneously, modify all values first and then send a
FxPC_CtlUpdate for each control afterwards. If the change is simple, the client will be updated immediately.
If complete retransmission of the dialog is required because a section or password changed, the client is
updated in the next available software interrupt slot. No event is generated to confirm the result.
If FxPC_CtlUpdate is called for a section or password control, certain other controls may appear or
disappear so the entire dialog will likely be resent automatically by the FlexiPanel server.
Most of the macros defined in FlexiPanel Designer for accessing the control values are self-evident and the
worked examples sections provide examples of their use. The following example is for a list control:
//
#define ID_List5_5 0x0005
// Get_List5_5( pLong ) gets List5 value.
// if the value could fit into a short or char, you could get fewer bytes
#define Get_List5_5( pLong ) GetBytes( STR_RAM, 0x002C, pLong, sizeof(long) )
// plList5_5 is an unsigned long RAM pointer which may also be used to set or get the value
#define plList5_5 ((unsigned long*)0x012C)
Page 97
List5 control (05 - List)
FxPCommand( FxPC_Start, 0, 0 );
AwaitBMTOK( 0 );
9-Apr-06
Toothpick 3.0.00007
If this error is generated a serious transmission failure occurred and ToothPIC has
// the ID of the control
Command description
a single message
Prepares to send multiple
FxPC_SetProps updates in a
single message
DS380-8
Name, security and encryption should be set up before the
pLong must be pointer to 4-byte signed integer
© FlexiPanel Ltd
// Start FlexiPanel service
// Service operating, no client
Patents apply and/or pending
IDVal
commands to follow
Number of
FxPC_SetProps
commands to follow
pVal
ignored
www.FlexiPanel.com

Related parts for TOOTHPIC