diff -r a89ed401fbc6 -r 1ffff67678ad erpc_interface/erpc_PLCObject/client.py --- a/erpc_interface/erpc_PLCObject/client.py Fri Oct 25 14:51:38 2024 +0200 +++ b/erpc_interface/erpc_PLCObject/client.py Mon Oct 28 16:02:47 2024 +0100 @@ -1,5 +1,5 @@ # -# Generated by erpcgen 1.12.0 on Mon May 20 17:53:37 2024. +# Generated by erpcgen 1.12.0 on Mon Oct 28 11:30:03 2024. # # AUTOGENERATED - DO NOT EDIT # @@ -292,4 +292,28 @@ _result = codec.read_uint32() return _result - + def ExtendedCall(self, method, argument, answer): + assert type(answer) is erpc.Reference, "out parameter must be a Reference object" + + # Build remote function invocation message. + request = self._clientManager.create_request() + codec = request.codec + codec.start_write_message(erpc.codec.MessageInfo( + type=erpc.codec.MessageType.kInvocationMessage, + service=self.SERVICE_ID, + request=self.EXTENDEDCALL_ID, + sequence=request.sequence)) + if method is None: + raise ValueError("method is None") + codec.write_string(method) + if argument is None: + raise ValueError("argument is None") + codec.write_binary(argument) + + # Send request and process reply. + self._clientManager.perform_request(request) + answer.value = codec.read_binary() + _result = codec.read_uint32() + return _result + +