Adds doxygen documentation to the API.
Fixes atdn_sendto return.
Documentation of API finished.
Merge branch 'API-bug-fix' into next