Registering Events
Events do not have callbacks because they cannot be invoked from ThingWorx Platform as a request to the edge device running your application. For your application to report events back to ThingWorx Platform, use the twApi_RegisterEvent function to register the events.