EasyManuals Logo

STW TC1 User Manual

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #147 background imageLoading...
Page #147 background image
7 Teleservice Application Framework
User Manual 147/374
Output Information
Parameter
Range
Description
opt_msg
DBus_Message
Object representing a message received
from or to be sent to another application.
For receiving all information, add the following dbus rules to your source code:
dbus_bus_add_match(mt_dbus_util.pt_dbus_conn, "type='signal',interface='stw.taf.ysmsd'",
NULL);
dbus_bus_add_match(mt_dbus_util.pt_dbus_conn,
"type='signal',interface='stw.taf.ynetworkd'", NULL);
dbus_bus_add_match(mt_dbus_util.pt_dbus_conn,
"type='signal',interface='stw.taf.broadcast'", NULL);
Example
// Global module
static void mv_SMS_Callback (const charn * const opcn_PhoneNumber, const charn * const
opcn_Message)
{
// TODO
}
static void mv_Hello_Callback (const charn * const opcn_DaemonName)
{
// TODO
}
static void mv_NetworkNotification_Callback (const charn * const opcn_InterfaceName, const
charn * const opcn_InterfaceStatus)
{
// TODO
}
static void mv_Goodbye_Callback (const charn * const opcn_DaemonName)
{
// TODO
}
static void mv_NRTI_Callback (const charn * const opcn_NetworkTimeIndicator)
{
// TODO
}
static void mv_WhoIsThere_Callback (const charn * const opcn_DaemonName)
{
// TODO
}
static void mv_UserDBusMessage (DBusMessage * const opt_msg)
{
// TODO
}
// module global variables
static T_DBUS_Util mt_dbus_util;
// main function
int main(int argc, char** argv)
{
// Init stuff ...
...
// Add rules for which messages must be seen on the DBUS
dbus_bus_add_match(mt_dbus_util.pt_dbus_conn,
"type='signal',interface='stw.taf.broadcast'", NULL);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish