-
Notifications
You must be signed in to change notification settings - Fork 131
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
Non-Confirmable #140
Comments
yes, you should use client.send_request and pass as argument the coap
message. Take a look to def send_request(self, request, callback=None,
timeout=None) in the HelperClient class.
BR
Il giorno mer 17 apr 2019 alle ore 15:26 EmileAlbert <
[email protected]> ha scritto:
… Is there a way for a CoAP client to sens non-confirmable request ? I did
not find a way until now, if it is possible can you tell me how ?
Thanks in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#140>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGb2-nYE-vuxkFy-_J-MVNWcrb-LiEPhks5vhyEWgaJpZM4c1Dcl>
.
|
First of all thanks for quick answer ! I see what you mean with client.send_request method, that's the method used by coapclient.py but when I use client.put (using itself client.send_request) there is no argument for CON or NON message type and the client is waiting a response from the server. Consequently, I don't understand what I can do to change this behaviour |
you should call client.send_request, instead of client.put. Otherwise, you
have to modify the put metho to accept the type argument.
Il giorno mer 17 apr 2019 alle ore 15:59 EmileAlbert <
[email protected]> ha scritto:
… First of all thanks for quik answer !
I see what you mean with client.send_request method, that's the method
used by coapclient.py but when I use client.put (using itself
client.send_request) there is no argument for CON or NON message type and
the client is waiting a response from the server. Consequently, I don't
understand what I can do to change this behaviour
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#140 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGb2-u_TenYrTH5TeaT43mQ3Wgw_pQeLks5vhyi3gaJpZM4c1Dcl>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way for a CoAP client to sens non-confirmable request ? I did not find a way until now, if it is possible can you tell me how ?
Thanks in advance!
The text was updated successfully, but these errors were encountered: