-
Notifications
You must be signed in to change notification settings - Fork 12
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
OOP #9
Comments
Hello @big-vl it is not wrong to use it as long as you provide a properly initialized CoapPacket instance as "send" and "sendEx" functions do. Also manually set the coap state: self.state = self.TRANSMISSION_STATE.STATE_IDLE May I ask why do you need to use the low level function directly? |
so I wrote that it would be better to make methods more usable, for example |
@ftylitak You have made a very stable and good library, I am delighted. |
Thank you for your kind words. Indeed, the function should be named It might be done soon. Fo the subscription, in case you make it work, we are open for contributions :) |
I saw a method sendPacket in the code, I wanted to use it, but I had to look at the code further, it turns out this method has privacy. Do you think this is a bad method to use? 🤔
The text was updated successfully, but these errors were encountered: