-
Notifications
You must be signed in to change notification settings - Fork 68
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
when i use offical Respond to server RPC call example parameter #34
Comments
I can verify this behavior. |
Hi , I am facing same issue, but I cannot find the error, where should be placed the "self" . It looks to me like it is already there. thanks self.__device_on_server_side_rpc_response(request_id, content) But I still get the error when receiving RPC from server File "/home/tatu/.virtualenvs/venv/lib/python3.9/site-packages/tb_device_mqtt.py", line 294, in _on_decoded_message Thanks a lot |
def on_server_side_rpc_request(client, request_id, request_body): in current SDK not include client parameter, you can use global client , such as below |
Thanks a lot. After reading and reading, and testing and testing, and more testing, I finally realized whay you meant. heheheh Great , thanks a lot def on_server_side_rpc_request(request_id, request_body): |
the official example as below:
but the SDK does not include client parameters. so I modified the local SDK to fit your official example and use client seems likes to be better for using global variables.
can you add this parameter back?
The text was updated successfully, but these errors were encountered: