ThingWorx C SDK
Macros
Event Creation Macros

Macros

#define TW_FIRE_EVENT(thingName, eventName, eventInfoTable)   twApi_FireEvent(TW_THING, thingName, eventName, eventInfoTable, -1, TRUE)
 Fires an Event from your remote application to ThingWorx. Events should be registered in advance using the TW_EVENT() macro. More...
 

Detailed Description

Macro Definition Documentation

#define TW_FIRE_EVENT (   thingName,
  eventName,
  eventInfoTable 
)    twApi_FireEvent(TW_THING, thingName, eventName, eventInfoTable, -1, TRUE)

Fires an Event from your remote application to ThingWorx. Events should be registered in advance using the TW_EVENT() macro.

Parameters
thingNameconst char* [in] The name of the thing originating this event.
eventNameconst char* [in] The name of the Event to be fired.
eventInfoTabletwInfoTable* [in] The InfoTable containing the Event payload as declared using TW_EVENT() and created using TW_MAKE_IT()
Returns
returns no value