Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Does CoAP_CreateMessage have to be called for each message sent? #57

@srikumaresan

Description

@srikumaresan

CoAP_CreateMessage calls malloc. For the use case I am looking at, heap allocation for every message sent isn't an option.
Can a message pointer be reused? Or is there a way to allocate a message on the stack?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions