PelionIoT / mbed-coap

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

Removing comparison of two IP address for validating message resending. #121

Closed yogpan01 closed 3 years ago

yogpan01 commented 3 years ago

In PDMC, COAP message successful resend is validated by comparing the IP address of where the message is being sent, because Pelion Cloud has Load Balancer so on every reconnection, client gets a new IP address hence it does not add any value to use IP address to validate if a CONFIRMABLE message has been sent and ACK has been received successfully. Removing this extra logic from coap.

[] I confirm this contribution is my own and I agree to license it with Apache 2.0. [] I confirm the moderators may change the PR before merging it in.

Summary of changes

yogpan01 commented 3 years ago

@teetak01 We should take this fix for release.

yogpan01 commented 3 years ago

@teetak01 renamed the function to reflect the new functionality.