sensor: updated UDP interface