-
Notifications
You must be signed in to change notification settings - Fork 51
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
no_std support #53
Comments
Can you tell me what would you do in the embedded device? |
I'm currently using a MCU called STM32F407 with 512KB flash and 128KB RAM and this lib currently weights too much I've already managed to integrate CoAP using coap-lite and you can see the result here, although it's at its very early stage. I made my own fork and copied to relevant implementation of |
I think you just need a CoAP message packaging library. The coap-lite fit you well. This library was made for people easy to setup a CoAP server/client. |
It would be nice to separate this lib into two crates maybe, one with only message packing with |
That sounds like a good idea. I will do it later. Or can you implement the |
Do you mean creating a separate branch where I transform this repo into a workspace and add the |
I think you create a new repo would be better. And I update this repo based on your repo. |
My fork is already available at https://github.com/jiayihu/coap-lite where I pushed the latest changes including |
Can you upload it to https://crates.io/ ? After that I can import it into my repo. |
Wouldn't be more correct if you did it? In the end it's practically code that you wrote and you should take credit for it. You would also have more freedom in changes. I can make PRs if I feel something more is needed. Let's also hear if @martindisch is active, I could just make a PR to his already published crate |
That's neat, I originally repurposed this implementation into |
I don't think much work is needed because |
Waiting the pr: martindisch/coap-lite#1 |
Merged and published Version 0.3.1 on crates.io. Thank you! |
@martindisch Can you public the enum https://github.com/martindisch/coap-lite/blob/2788f41cf15365ee84a885f6dd5f87d1a3a1b32f/src/packet.rs#L174 ? I need it in this repo. |
Will do, I'll release a new version once I've merged martindisch/coap-lite#2. |
Version 0.3.2 is now published, with the Observe option port by @jiayihu. It also publicly exports the |
Thanks. I created #54 for this issue. Any reviews are welcome. |
Is there any plan to support no_std with this crate since CoAP is heavily used in embedded? There is coap-lite but it's unmaintaned and it handles only packet parsing and creation
The text was updated successfully, but these errors were encountered: