[communication] Multiple things :
* Adds several debug printf for PC.
* Fixes bugs on send with acknoledgment.
* Modifies some function prototypes with "const".