diff --git a/telldus-core/client/telldus-core.cpp b/telldus-core/client/telldus-core.cpp index f665d618..e4bb8e07 100644 --- a/telldus-core/client/telldus-core.cpp +++ b/telldus-core/client/telldus-core.cpp @@ -230,8 +230,19 @@ using namespace TelldusCore; * * @typedef TDRawDeviceEvent * 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 * + * * @typedef TDSensorEvent * The callback type for sensor events. * @sa tdRegisterSensorEvent