<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hallo Alexander,<br>
<br>
On 04.03.2018 23:01, <a class="moz-txt-link-abbreviated" href="mailto:dss@knauer-alexander.de">
dss@knauer-alexander.de</a> wrote:<br>
</div>
<blockquote type="cite" cite="mid:000001d3b404$5b42f520$11c8df60$@knauer-alexander.de">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">Müsste es nicht sein, dass für jedes Device die Scene 76 aufgerufen wird? Woran kann das liegen?
<o:p></o:p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
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.<br>
<br>
Michael<br>
<br>
<br>
<br>
/*! \brief Register "call scene notification" callback.<br>
*<br>
* The callback function will be called each time a VDSM_NOTIFICATION_CALL_SCENE<br>
* message is received from the vdSM. Pass NULL for the callback function to<br>
* unregister the callback.<br>
*<br>
* \param handle dsvdc handle that was returned by dsvdc_new().<br>
* \param void (*function)(dsvdc_t *handle, char **dsuid, size_t n_dsuid,<br>
* int32_t scene, int force, int32_t *group,<br>
* int32_t *zone_id, void *userdata) callback function.<br>
*<br>
* Callback parameters group and zone_id are optional and will be NULL pointers<br>
* if not set.<br>
*/<br>
void dsvdc_set_call_scene_notification_callback(dsvdc_t *handle,<br>
void (*function)(dsvdc_t *handle, char **dsuid, size_t n_dsuid,<br>
int32_t scene, bool force, int32_t *group,<br>
int32_t *zone_id, void *userdata));<br>
<br>
<br>
</body>
</html>