The buffered TeleInfo class of the firmware, as it was (utoa() aside): the reference of the frame. Its frame differs in two places only (referenceFrame()): N and each V are sent unsigned.
More...
|
| const char * | data () const |
| |
| void | endFrame () |
| |
| void | send (const char *tag, int16_t value, uint8_t index=0) |
| |
| void | sendUnsigned (const char *tag, uint16_t value, uint8_t index=0) |
| |
| size_t | size () const |
| |
| void | startFrame () |
| |
|
| uint8_t | calculateChecksum (size_t startPos, size_t endPos) const |
| |
| void | writeLine (const char *tag, uint8_t index, uint16_t magnitude, bool negative) |
| |
| void | writeTag (const char *tag, uint8_t index) |
| |
|
| static const char | CR { 0x0D } |
| |
| static const char | ETX { 0x03 } |
| |
| static const char | LF { 0x0A } |
| |
| static const char | STX { 0x02 } |
| |
| static const char | TAB { 0x09 } |
| |
The buffered TeleInfo class of the firmware, as it was (utoa() aside): the reference of the frame. Its frame differs in two places only (referenceFrame()): N and each V are sent unsigned.
Definition at line 109 of file test_main.cpp.
◆ calculateChecksum()
| uint8_t Reference::calculateChecksum |
( |
size_t | startPos, |
|
|
size_t | endPos ) const |
|
inlinenodiscardprivate |
◆ data()
| const char * Reference::data |
( |
| ) |
const |
|
inlinenodiscard |
◆ endFrame()
| void Reference::endFrame |
( |
| ) |
|
|
inline |
◆ send()
| void Reference::send |
( |
const char * | tag, |
|
|
int16_t | value, |
|
|
uint8_t | index = 0 ) |
|
inline |
◆ sendUnsigned()
| void Reference::sendUnsigned |
( |
const char * | tag, |
|
|
uint16_t | value, |
|
|
uint8_t | index = 0 ) |
|
inline |
◆ size()
| size_t Reference::size |
( |
| ) |
const |
|
inlinenodiscard |
◆ startFrame()
| void Reference::startFrame |
( |
| ) |
|
|
inline |
◆ writeLine()
| void Reference::writeLine |
( |
const char * | tag, |
|
|
uint8_t | index, |
|
|
uint16_t | magnitude, |
|
|
bool | negative ) |
|
inlineprivate |
◆ writeTag()
| void Reference::writeTag |
( |
const char * | tag, |
|
|
uint8_t | index ) |
|
inlineprivate |
◆ buffer
| char Reference::buffer[512] {} |
|
private |
◆ bufferPos
| size_t Reference::bufferPos { 0 } |
|
private |
◆ CR
| const char Reference::CR { 0x0D } |
|
staticprivate |
◆ ETX
| const char Reference::ETX { 0x03 } |
|
staticprivate |
◆ LF
| const char Reference::LF { 0x0A } |
|
staticprivate |
◆ STX
| const char Reference::STX { 0x02 } |
|
staticprivate |
◆ TAB
| const char Reference::TAB { 0x09 } |
|
staticprivate |
The documentation for this class was generated from the following file:
- Mk2_3phase_RFdatalog_temp/test/native/test_teleinfo/test_main.cpp