Hallo Alexander,
On 04.03.2018 23:01, [email protected]<mailto:[email protected]>
wrote:
Müsste es nicht sein, dass für jedes Device die Scene 76 aufgerufen wird?
Woran kann das liegen?
für eine CallScene Notification wird der Callback nur einmal aufgerufen. Aber
der "dsuid" Parameter ist ein Array aller Devices, die von diesem Aufruf
betroffen sind. Je nachdem, ob der Aufruf an eine Zone, das gesamte Apartment
oder ein einzelnes Device addressiert ist.
Michael
/*! \brief Register "call scene notification" callback.
*
* The callback function will be called each time a VDSM_NOTIFICATION_CALL_SCENE
* message is received from the vdSM. Pass NULL for the callback function to
* unregister the callback.
*
* \param handle dsvdc handle that was returned by dsvdc_new().
* \param void (*function)(dsvdc_t *handle, char **dsuid, size_t n_dsuid,
* int32_t scene, int force, int32_t *group,
* int32_t *zone_id, void *userdata) callback function.
*
* Callback parameters group and zone_id are optional and will be NULL pointers
* if not set.
*/
void dsvdc_set_call_scene_notification_callback(dsvdc_t *handle,
void (*function)(dsvdc_t *handle, char **dsuid, size_t n_dsuid,
int32_t scene, bool force, int32_t *group,
int32_t *zone_id, void *userdata));
_______________________________________________
dss-developer mailing list
[email protected]
http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer