TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 100

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)
transmitted. The IDVal parameter of the FxPC_MultiPropsUpdate command indicates how many of the
following FxPC_SetProps commands should be grouped together as a single message.
FxPC_SetProps commands must follow immediately because low priority interrupts will be disabled until all
FxPC_SetProps 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_MultiUpdate command, which is used in the same way, is given in the DARC-II module source code.
FxPEvent
The callback FxPEvent is called when an event happens on the BlueMatik module:
ResponseID identifies the event that happens. pData may contain related information depending on the
nature of the event:
Example:
Notes:
For forward compatibility, ignore any undocumented FxPE_ events rather than generating an error. This
allows us to add new events in future without upsetting existing firmware.
FxPEvent may be called from the low priority interrupt, so you should save any other static variables (other
than
FxPE_Connect: Event is generated after connecting device has been verified as a FlexiPanel compatible
device but before any messages are sent to it.
Page 100
EventID (hex value)
FxPE_Connect (01)
FxPE_Ack (03)
FxPE_ClntUpdate (04)
FxPE_Disco (02)
FxPE_PingReply (05)
FxPE_PingFail (06)
FxPE_MsgResp (07)
FxPE_NewDialog (08)
void FxPEvent( unsigned char EventID, void *pData )
{
}
WREG
void FxPEvent( unsigned char EventID, char *pData)
// connection
if ( EventID == FxP_Connect )
{
}
// disconnection
if ( EventID == FxP_Disco )
{
}
9-Apr-06
,
STATUS
// Do client connected stuff
// Ensure I am in a safe mode
EnterFailSafeMode();
Toothpick 3.0.00007
,
BSR
,
PROD, MATH_DATA
Event description
FlexiPanel client connected
FlexiPanel acknowledge
message
Client updated a control
FlexiPanel client
disconnected
Ping reply received
Ping failed
Response from message box
A new dialog has just been
displayed
DS380-8
) used by the functions called by FxPEvent.
© FlexiPanel Ltd
*pData
null pointer
null pointer
Control ID (unsigned long)
0xFF if willful disconnection by client
0x00 if Bluetooth connection lost
(unsigned char) – see note below
null pointer
null pointer – see note below
Response value (unsigned char)
Zero-based index of dialog displayed
(unsigned char by value)
Patents apply and/or pending
An example of the
www.FlexiPanel.com
The

Related parts for TOOTHPIC