private static byte[] ImplicitReadReq(string objectuuid, string filter, string slot2, string subslot2, string rpc_activity_uuid) { // vaiireren von: io_device interface uuid; und die variablen // "00 09", "00 01", "00 00", "00 01" var x = BuilderClass.BuildIODHeader(BuilderClass.iod_ar_null_uuid, BuilderClass.iod_ar_null_uuid, filter, "00 09", slot2, subslot2); var y = BuilderClass.BuildRpcNrdDataReq(objectuuid, BuilderClass.rpc_DeviceInterface, rpc_activity_uuid, x, "00 05"); return(y.HexToByteArray()); }
private static byte[] ReadReq(string objectuuid, string index, string slot2, string subslot2) { // TODO // vaiireren von: io_device interface uuid; und die variablen var x = BuilderClass.BuildIODHeader(BuilderClass.iod_ar_custom_uuid, BuilderClass.iod_targetar_custom_uuid, index, "00 09", slot2, subslot2); var y = BuilderClass.BuildRpcNrdDataReq(objectuuid, BuilderClass.rpc_DeviceInterface, BuilderClass.rpc_activity_uuid, x, "00 02"); return(y.HexToByteArray()); }