[Xbee_API] Fixes status check, gave an error on success.
[comm] Adds some error check