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.
Dependents: NerfUS-Coord NerfUSTarget
Fork of APP3_xbee by
include/XbeeTransmitterInterface.hpp@18:34374040d9ff, 2017-03-30 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Thu Mar 30 14:09:51 2017 -0400
- Revision:
- 18:34374040d9ff
- Parent:
- 16:f4df01448b59
Make it compile
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| GaiSensei | 14:cc65f603e659 | 1 | #ifndef XBEE_TRANSMITTER_INTERFACE_HPP |
| GaiSensei | 14:cc65f603e659 | 2 | #define XBEE_TRANSMITTER_INTERFACE_HPP |
| GaiSensei | 14:cc65f603e659 | 3 | |
| GaiSensei | 14:cc65f603e659 | 4 | #include <vector> |
| Maxime Dupuis |
18:34374040d9ff | 5 | #include "stdint.h" |
| GaiSensei | 14:cc65f603e659 | 6 | |
| GaiSensei | 14:cc65f603e659 | 7 | class XbeeTransmitterInterface |
| GaiSensei | 14:cc65f603e659 | 8 | { |
| GaiSensei | 14:cc65f603e659 | 9 | public: |
| GaiSensei | 14:cc65f603e659 | 10 | virtual void transmit(const std::vector<uint8_t>& bytes) = 0; |
| GaiSensei | 14:cc65f603e659 | 11 | |
| GaiSensei | 14:cc65f603e659 | 12 | protected: |
| GaiSensei | 16:f4df01448b59 | 13 | const static int message_size = 5; |
| GaiSensei | 14:cc65f603e659 | 14 | }; |
| GaiSensei | 14:cc65f603e659 | 15 | |
| Maxime Dupuis |
18:34374040d9ff | 16 | #endif |
