[Xbee_API] Fixes status check, gave an error on success.
[comm] Adds some error check
Merge branch 'master' into dev_udp_prop_simu