Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
SnCommWinAfar.h@56:0bba0ef15697, 2014-10-30 (annotated)
- Committer:
- uci1
- Date:
- Thu Oct 30 06:42:17 2014 +0000
- Revision:
- 56:0bba0ef15697
- Parent:
- 37:ff95e7070f26
- Child:
- 84:80b15993944e
update ext libs, add tempr, allow SST/ATWD, improve handshaking, run/seq list, req seq range, allow SBD only in low pwr, all pins start off, can collect data to ram w/o SD card, add parameters to status update
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
uci1 | 37:ff95e7070f26 | 1 | #ifndef SN_SnCommWinAfar |
uci1 | 37:ff95e7070f26 | 2 | #define SN_SnCommWinAfar |
uci1 | 37:ff95e7070f26 | 3 | |
uci1 | 37:ff95e7070f26 | 4 | #include "SnCommWin.h" |
uci1 | 37:ff95e7070f26 | 5 | #include "SnConfigFrame.h" |
uci1 | 37:ff95e7070f26 | 6 | |
uci1 | 37:ff95e7070f26 | 7 | class SnCommWinAfar : public SnCommWin { |
uci1 | 37:ff95e7070f26 | 8 | protected: |
uci1 | 37:ff95e7070f26 | 9 | SnCommWinAfar(SnCommPeripheral* p) : SnCommWin(p) {} |
uci1 | 37:ff95e7070f26 | 10 | |
uci1 | 37:ff95e7070f26 | 11 | public: |
uci1 | 37:ff95e7070f26 | 12 | SnCommWinAfar(SnConfigFrame& conf); |
uci1 | 37:ff95e7070f26 | 13 | virtual ~SnCommWinAfar() {} |
uci1 | 37:ff95e7070f26 | 14 | |
uci1 | 37:ff95e7070f26 | 15 | virtual SnConfigFrame::EDatPackBit GetCommType() const |
uci1 | 37:ff95e7070f26 | 16 | { return SnConfigFrame::kAfar; } |
uci1 | 37:ff95e7070f26 | 17 | |
uci1 | 37:ff95e7070f26 | 18 | virtual ECommWinResult OpenWindow(const uint32_t timeout, |
uci1 | 37:ff95e7070f26 | 19 | const bool sendStatus, |
uci1 | 37:ff95e7070f26 | 20 | const SnConfigFrame& conf, |
uci1 | 37:ff95e7070f26 | 21 | const SnEventFrame& evt, |
uci1 | 37:ff95e7070f26 | 22 | const SnPowerFrame& pow, |
uci1 | 37:ff95e7070f26 | 23 | const uint16_t seq, |
uci1 | 37:ff95e7070f26 | 24 | const float thmrate, |
uci1 | 37:ff95e7070f26 | 25 | const float evtrate, |
uci1 | 56:0bba0ef15697 | 26 | const uint32_t powerOnTime, |
uci1 | 56:0bba0ef15697 | 27 | const SnTempFrame& temper, |
uci1 | 37:ff95e7070f26 | 28 | char* const genBuf); |
uci1 | 37:ff95e7070f26 | 29 | |
uci1 | 37:ff95e7070f26 | 30 | }; |
uci1 | 37:ff95e7070f26 | 31 | |
uci1 | 37:ff95e7070f26 | 32 | #endif // SN_SnCommWinAfar |