biblioteca que serve como midleware para as diversas placas que podem implementar esse padrão !
Revision 7:cb5a0a555a53, committed 2019-07-13
- Comitter:
- AndersonIctus
- Date:
- Sat Jul 13 11:17:03 2019 -0300
- Parent:
- 6:5c06daa180c2
- Commit message:
- - mudancas para write de conteudo !!
Changed in this revision
communication/Communication.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5c06daa180c2 -r cb5a0a555a53 communication/Communication.h --- a/communication/Communication.h Thu Jul 11 22:27:39 2019 -0300 +++ b/communication/Communication.h Sat Jul 13 11:17:03 2019 -0300 @@ -14,8 +14,9 @@ virtual int disconnect() = 0; virtual const char* getName() = 0; + virtual D* getData() = 0; - virtual int write(const char* data) = 0; + virtual int write(const unsigned char* buffer, int offset) = 0; virtual int read(unsigned char* buffer, int offset) = 0; };