Document TDRawDeviceEvent

This commit is contained in:
Erik Johansson 2012-03-17 18:55:44 +01:00
parent 296be6a068
commit 034b5a03e6

View file

@ -230,8 +230,19 @@ using namespace TelldusCore;
* *
* @typedef TDRawDeviceEvent * @typedef TDRawDeviceEvent
* The callback type for raw events. * The callback type for raw events.
*
* @attention The callback will be called by another thread than the thread
* used by the application and some measures must be taken to synchronize it
* with the main thread.
*
* @param data Raw device data.
* @param controllerId Id of receiving controller.
* @param callbackId The id of the callback.
* @param context The pointer passed when registering for the event.
*
* @sa tdRegisterRawDeviceEvent * @sa tdRegisterRawDeviceEvent
* *
*
* @typedef TDSensorEvent * @typedef TDSensorEvent
* The callback type for sensor events. * The callback type for sensor events.
* @sa tdRegisterSensorEvent * @sa tdRegisterSensorEvent