TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 99

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)
FxPC_SetProps: Modifies the appearance of the control on the client. It’s easiest to use the macros Hide_,
Show_, Enable_, Disable_ and SetCol_ created by FlexiPanel Designer in order to use these commands.
Note that this only changes the properties on the client. The initial values transmitted to a client when it
connects are the fixed initial values specified in FlexiPanel Designer.
FxPC_Disco: Disconnects currently connected remote client. BMTOK event generated when command is
complete.
FxPC_Finish: Ends FlexiPanel service and exits slave mode. If a remote client is connected, it is
disconnected gracefully first. BMTOK event generated when command is complete.
FxPC_UpdateRow: Sends a message to the client with a single row of updated data.
FxPC_InitData: Sets all control values to their initialization values.
initialize the data if you have not previously called FxPC_InitData. You only need to call it if you need the
data to be initialized long before you call FxPC_Start or if you wish to return all controls back to their
initialization values. Once FxPC_InitData has been called, the semaphore IsFxPInitialized will return
true.
FxPC_MultiUpdate: Allows multiple control updates to be sent to the client in a single message. This
ensures they all appear to update at the same time. It is also more efficient in terms of bytes transmitted. The
IDVal parameter of the FxPC_MultiUpdate command indicates how many of the following
FxPC_CtlUpdate commands should be grouped together as a single message. The FxPC_CtlUpdate
commands must follow immediately because low priority interrupts will be disabled until all FxPC_CtlUpdate
commands have been sent; they must refer to controls that are currently being displayed, i.e. in the current
dialog and not hidden by a closed section or password.
FxPC_MultiPartUpdate: Allows multiple control partial updates to be sent to the client in a single
message. This ensures they all appear to update at the same time. It is also more efficient in terms of bytes
transmitted. The IDVal parameter of the FxPC_MultiPartUpdate command indicates how many of the
following FxPC_PartUpdate commands should be grouped together as a single message.
FxPC_PartUpdate commands must follow immediately because low priority interrupts will be disabled until
all FxPC_PartUpdate commands have been sent; they must refer to controls that are currently being
displayed, i.e. in the current dialog and not hidden by a closed section or password. An example of the
FxPC_MultiUpdate command, which is used in the same way, is given in the DARC-II module source code.
FxPC_MultiPropsUpdate: Allows multiple control partial updates to be sent to the client in a single
message. This ensures they all appear to update at the same time. It is also more efficient in terms of bytes
Page 99
// LowInterrupt handler
void LowInterrupt (void)
{
}
if (IsSWI( SWI_Tick ) )
{
}
9-Apr-06
ClearSWI( SWI_Tick );
// log point in date time matrix every 60 secs IF FlexiPanel data has been initialized
if ( IsFxPInitialized && RealTimeClock.sec == 0 )
{
}
return;
unsigned short RowToUpdate;
char NewVal = {new data value};
RowToUpdate = AppendRow_Time_Matrix4_4;
Set_Matrix4_4_Cell( 0, &NewVal, AppendRow_Matrix4_4, 0 );
Set_Matrix4_4_Row( 0, &RealTimeClock, AppendRow_Matrix4_4 );
NextAppendRow_Matrix4_4;
FxPCommand( FxPC_PartUpdate, ID_Matrix4_4, (void *) RowToUpdate);
Toothpick 3.0.00007
DS380-8
© FlexiPanel Ltd
// Clear interrupt flag
Patents apply and/or pending
FxPC_Start will automatically
www.FlexiPanel.com
The

Related parts for TOOTHPIC