-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Python & groups #391
Comments
Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well. |
@Hadatko Thanks but that isn't exactly what I wanted. I did get it working tho, I'll post some code in case it helps others. Unfortunately it will not work with the erpc generated code, two files contain imports that break python test_hostInterface/client.py line 10
test_targetInterface/client.py line 10
Removing those imports allows the code to run, maybe this is a bug? .erpc file
target.py - the microntroller/server
host.py - the user end
|
Something else I noticed, if I make all the rpc calls "oneway"
Then I no longer need the arbitrator at either end and it works. Is this expected behaviour? |
Hi @kpr-8 , i will take a look on your issue later. |
Sorry, I'm not sure I understand you. I think this could be useful in a command/response model, I just thought it was interesting that it worked I really like erpc, I plan to use it in future projects. Thanks! |
I want to create a an erpc based project where both ends can send messages to each other (host/target with target able to send asynch messages). To do this I have created the following IDL
I run the erpcgen and get two directories (test_hostInterface and test_targetInterface)
Now, when I start to write my client code (lives in the parent directory of test_hostInterface and test_targetInterface):
Python throws an error:
And in the test_hostInterface/client.py file is this:
Which seems to be the root cause of the problem. Removing that line resolves the issue and it isn't needed as far as I can tell.
What am I missing/doing wrong?
Steps you didn't forgot to do
The text was updated successfully, but these errors were encountered: