- fprintf(stderr, "%02x %02x %02x %02x %02x %02x %02x %02x %02x\n",
- bb[0][0], bb[0][1], bb[0][2], bb[0][3], bb[0][4], bb[0][5], bb[0][6], bb[0][7], bb[0][8]);
- if (debug_output)
- debug_callback(bb, bits_per_row);
+
+ data = data_make("time", "", DATA_STRING, time_str,
+ "model", "", DATA_STRING, "KlikAanKlikUit Wireless Switch",
+ "id", "", DATA_INT, kakuid,
+ "unit", "Unit", DATA_INT, unit,
+ "group_call", "Group Call", DATA_STRING, group_call,
+ "command", "Command", DATA_STRING, command,
+ "dim", "Dim", DATA_STRING, dim,
+ "dim_value", "Dim Value", DATA_INT, dv,
+ NULL);
+ data_acquired_handler(data);
+