if (uwb_ctx.position_changed_cb != NULL)
uwb_ctx.position_changed_cb(node_id, x, y, z, uwb_ctx.position_changed_user_data);
}
+/* LCOV_EXCL_STOP */
+
+ static void __position_updated(GObject *source_object,
+ guint16 node_id, gint x, gint y, gint z)
+ {
+ _BEGIN();
+ if (uwb_ctx.position_updated_cb != NULL)
+ uwb_ctx.position_updated_cb(node_id, x, y, z, uwb_ctx.position_updated_user_data);
+ }
+
+
+ static void __node_added(GObject *source_object,
+ gint pan_id, guint16 node_id, gint x, gint y, gint z)
+ {
+ _BEGIN();
+ uwb_node_s remote_node = {node_id, pan_id, true, 0, x, y, z};
+ if (uwb_ctx.node_added_cb != NULL)
+ uwb_ctx.node_added_cb(&remote_node, uwb_ctx.node_added_user_data);
+ }
+
+
+ static void __node_updated(GObject *source_object,
+ gint pan_id, guint16 node_id, gint x, gint y, gint z)
+ {
+ _BEGIN();
+ uwb_node_s remote_node = {node_id, pan_id, true, 0, x, y, z};
+ if (uwb_ctx.node_updated_cb != NULL)
+ uwb_ctx.node_updated_cb(&remote_node, uwb_ctx.node_updated_user_data);
+ }
+
+
+ static void __node_removed(GObject *source_object,
+ gint pan_id, guint16 node_id, gint x, gint y, gint z)
+ {
+ _BEGIN();
+ uwb_node_s remote_node = {node_id, pan_id, true, 0, x, y, z};
+ if (uwb_ctx.node_removed_cb != NULL)
+ uwb_ctx.node_removed_cb(&remote_node, uwb_ctx.node_removed_user_data);
+ }
+
static int manager_proxy_init(void)
{
GError *error = NULL;