Add error codes to sendData and readData
sendData and readData should return an error code to know if something went wrong while sending/receiving messages.
Edited by Clubelek Asso
sendData and readData should return an error code to know if something went wrong while sending/receiving messages.