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: LoRaBaseStation LoRaTerminal
DataBlockPacket/DataBlockPacket.h@0:f32c0e562e9a, 2016-06-29 (annotated)
- Committer:
 - rba90
 - Date:
 - Wed Jun 29 01:37:59 2016 +0000
 - Revision:
 - 0:f32c0e562e9a
 - Child:
 - 2:f4f46b04ab8a
 
Init
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| rba90 | 0:f32c0e562e9a | 1 | #ifndef DATABLOCKPACKET_H_ | 
| rba90 | 0:f32c0e562e9a | 2 | #define DATABLOCKPACKET_H_ | 
| rba90 | 0:f32c0e562e9a | 3 | |
| rba90 | 0:f32c0e562e9a | 4 | #include "BasicPacket.h" | 
| rba90 | 0:f32c0e562e9a | 5 | class DataBlockPacket : | 
| rba90 | 0:f32c0e562e9a | 6 | public BasicPacket | 
| rba90 | 0:f32c0e562e9a | 7 | { | 
| rba90 | 0:f32c0e562e9a | 8 | public: | 
| rba90 | 0:f32c0e562e9a | 9 | DataBlockPacket(); | 
| rba90 | 0:f32c0e562e9a | 10 | DataBlockPacket(uint8_t *data); | 
| rba90 | 0:f32c0e562e9a | 11 | ~DataBlockPacket(); | 
| rba90 | 0:f32c0e562e9a | 12 | |
| rba90 | 0:f32c0e562e9a | 13 | public: | 
| rba90 | 0:f32c0e562e9a | 14 | void setBlockID(uint8_t bid); | 
| rba90 | 0:f32c0e562e9a | 15 | void setDataBlock0(uint8_t b0); | 
| rba90 | 0:f32c0e562e9a | 16 | void setDataBlock1(uint8_t b1); | 
| rba90 | 0:f32c0e562e9a | 17 | |
| rba90 | 0:f32c0e562e9a | 18 | uint8_t getBlockID(); | 
| rba90 | 0:f32c0e562e9a | 19 | uint8_t getDataBlock0(); | 
| rba90 | 0:f32c0e562e9a | 20 | uint8_t getDataBlock1(); | 
| rba90 | 0:f32c0e562e9a | 21 | }; | 
| rba90 | 0:f32c0e562e9a | 22 | |
| rba90 | 0:f32c0e562e9a | 23 | #endif |