ARMmbed / mbed-client-classic

DEPRECATED: mbed Client adaptation layer for mbed OS Classic
https://cloud.mbed.com/docs/current
Apache License 2.0
0 stars 5 forks source link

m2mconnectionhandlepimpl: add some more output to receive_from_socket() #65

Closed TeroJaasko closed 7 years ago

TeroJaasko commented 7 years ago

On many cases it is necessary to know if the data was actually received or was the callback done by phantom event. Print the data len received and also print some error log on exceptional branches.

yogpan01 commented 7 years ago

unit test needs to be checked but this PR is fine because it has only debug traces added.