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.
Diff: include/XbeeTransmitterInterface.hpp
- Revision:
- 14:cc65f603e659
- Child:
- 15:ab3e0d32e578
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/include/XbeeTransmitterInterface.hpp Wed Mar 29 15:56:01 2017 +0000
@@ -0,0 +1,16 @@
+#ifndef XBEE_TRANSMITTER_INTERFACE_HPP
+#define XBEE_TRANSMITTER_INTERFACE_HPP
+
+#include <stdint.h>
+#include <vector>
+
+class XbeeTransmitterInterface
+{
+ public:
+ virtual void transmit(const std::vector<uint8_t>& bytes) = 0;
+
+ protected:
+ const static int message_size = 4;
+};
+
+#endif
\ No newline at end of file