private ApduType generateMeasureApdu() { Agent a = (Agent) state_handler.getMDS().getDevice(); Specialization spec = a.getSpecialization(); Collection<Map<HANDLE, Object>> measures = spec.getMeasures(); ScanReportInfoMPFixed info = generateScanReportInfo(measures); HANDLE handle = new HANDLE(); handle.setValue(new INT_U16(0)); OID_Type eventtype = new OID_Type(); eventtype.setValue(new INT_U16(Nomenclature.MDC_NOTI_SCAN_REPORT_MP_FIXED)); DataApdu data = MessageFactory.PrstRoivCmpConfirmedEventReport( state_handler.getMDS(), info, handle, eventtype); return MessageFactory.composeApdu(data, state_handler.getMDS().getDeviceConf()); }