Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
--- 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; };