PelionIoT / mbed-coap

CoAP C library - Builder and Parser for CoAP messages
Apache License 2.0
29 stars 16 forks source link

Allow disabling resendings by defining SN_COAP_DISABLE_RESENDINGS #45

Closed kuggenhoffen closed 6 years ago

kuggenhoffen commented 6 years ago

When using CoAP over TCP we don't need resendings at all so add SN_COAP_DISABLE_RESENDINGS macro for configuring the ENABLE_RESENDINGS flag.

anttiylitokola commented 6 years ago

Would be nice to add a description of this flag in sn_config.h

kuggenhoffen commented 6 years ago

@anttiylitokola This good now?