LP-CC1352P7: Wi-SUN router and broadcast messages

Part Number: LP-CC1352P7
Other Parts Discussed in Thread: CC1352P7

Tool/software:

Hi

I have a Wi-SUN system using CC1352P7 hardware.

The Border Router sends periodically broadcast messages. There is no reason and no sense for the router to send a response. But if you don't send the memory allocated for the request stays reserved.

What is the proper way to release the dynamic memory?

Regars,

Esko

  • Hi Esko,

    could you please specify which memory you would like to release?
    Do you want to disable the broadcast messaging of the border router or do you want to change the behavior of the node?

    Kind regards,
    Theo

  • Hi Theo

    I want to change the behavior of the node.

    For all individually addressed messages the application  responds with the function  coap_service_response_send() which also frees the memory of the received message (seems to use function sn_coap_parser_release_allocated_coap_msg_mem() ).

    But for a broadcast message I don't want to send any response, just to release the memory. Of course I can create that function  but I'm asking is there already a method to do the releasing.

    Kind regards,

    Esko

  • Hi Esko,

    I apologize for the delay.
    The memory allocation for the messages is handled by the mac layer of the application.
    There is no need that you free it up manually.

    Kind regards,
    Theo