nmconfig: now implement function which collects device data