10#if FW_ENABLE_TEXT_LOGGING
34 class ComponentIpcSerializableBuffer :
44 MAX_DATA_SIZE =
sizeof(BuffUnion),
46 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
50 return sizeof(m_buff);
57 const U8* getBuffAddr()
const {
63 U8 m_buff[SERIALIZATION_SIZE];
72 void PrmDbComponentBase ::
84 port < static_cast<FwIndexType>(this->getNum_CmdDisp_InputPorts());
87 this->m_CmdDisp_InputPort[port].init();
88 this->m_CmdDisp_InputPort[port].addCallComp(
92 this->m_CmdDisp_InputPort[port].setPortNum(port);
94#if FW_OBJECT_NAMES == 1
98 this->m_objName.toChar(),
101 this->m_CmdDisp_InputPort[port].setObjName(portName.
toChar());
108 port < static_cast<FwIndexType>(this->getNum_getPrm_InputPorts());
111 this->m_getPrm_InputPort[port].init();
112 this->m_getPrm_InputPort[port].addCallComp(
116 this->m_getPrm_InputPort[port].setPortNum(port);
118#if FW_OBJECT_NAMES == 1
122 this->m_objName.toChar(),
125 this->m_getPrm_InputPort[port].setObjName(portName.
toChar());
132 port < static_cast<FwIndexType>(this->getNum_pingIn_InputPorts());
135 this->m_pingIn_InputPort[port].init();
136 this->m_pingIn_InputPort[port].addCallComp(
140 this->m_pingIn_InputPort[port].setPortNum(port);
142#if FW_OBJECT_NAMES == 1
146 this->m_objName.toChar(),
149 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
156 port < static_cast<FwIndexType>(this->getNum_setPrm_InputPorts());
159 this->m_setPrm_InputPort[port].init();
160 this->m_setPrm_InputPort[port].addCallComp(
164 this->m_setPrm_InputPort[port].setPortNum(port);
166#if FW_OBJECT_NAMES == 1
170 this->m_objName.toChar(),
173 this->m_setPrm_InputPort[port].setObjName(portName.
toChar());
180 port < static_cast<FwIndexType>(this->getNum_CmdReg_OutputPorts());
183 this->m_CmdReg_OutputPort[port].init();
185#if FW_OBJECT_NAMES == 1
189 this->m_objName.toChar(),
192 this->m_CmdReg_OutputPort[port].setObjName(portName.
toChar());
199 port < static_cast<FwIndexType>(this->getNum_CmdStatus_OutputPorts());
202 this->m_CmdStatus_OutputPort[port].init();
204#if FW_OBJECT_NAMES == 1
208 this->m_objName.toChar(),
211 this->m_CmdStatus_OutputPort[port].setObjName(portName.
toChar());
218 port < static_cast<FwIndexType>(this->getNum_Log_OutputPorts());
221 this->m_Log_OutputPort[port].init();
223#if FW_OBJECT_NAMES == 1
227 this->m_objName.toChar(),
230 this->m_Log_OutputPort[port].setObjName(portName.
toChar());
234#if FW_ENABLE_TEXT_LOGGING == 1
238 port < static_cast<FwIndexType>(this->getNum_LogText_OutputPorts());
241 this->m_LogText_OutputPort[port].init();
243#if FW_OBJECT_NAMES == 1
247 this->m_objName.toChar(),
250 this->m_LogText_OutputPort[port].setObjName(portName.
toChar());
258 port < static_cast<FwIndexType>(this->getNum_Time_OutputPorts());
261 this->m_Time_OutputPort[port].init();
263#if FW_OBJECT_NAMES == 1
267 this->m_objName.toChar(),
270 this->m_Time_OutputPort[port].setObjName(portName.
toChar());
277 port < static_cast<FwIndexType>(this->getNum_pingOut_OutputPorts());
280 this->m_pingOut_OutputPort[port].init();
282#if FW_OBJECT_NAMES == 1
286 this->m_objName.toChar(),
289 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
296 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
312 portNum < this->getNum_CmdDisp_InputPorts(),
316 return &this->m_CmdDisp_InputPort[portNum];
327 portNum < this->getNum_getPrm_InputPorts(),
331 return &this->m_getPrm_InputPort[portNum];
338 portNum < this->getNum_pingIn_InputPorts(),
342 return &this->m_pingIn_InputPort[portNum];
349 portNum < this->getNum_setPrm_InputPorts(),
353 return &this->m_setPrm_InputPort[portNum];
360 void PrmDbComponentBase ::
361 set_CmdReg_OutputPort(
367 portNum < this->getNum_CmdReg_OutputPorts(),
371 this->m_CmdReg_OutputPort[portNum].addCallPort(port);
374 void PrmDbComponentBase ::
375 set_CmdStatus_OutputPort(
381 portNum < this->getNum_CmdStatus_OutputPorts(),
385 this->m_CmdStatus_OutputPort[portNum].addCallPort(port);
388 void PrmDbComponentBase ::
395 portNum < this->getNum_Log_OutputPorts(),
399 this->m_Log_OutputPort[portNum].addCallPort(port);
402#if FW_ENABLE_TEXT_LOGGING == 1
404 void PrmDbComponentBase ::
405 set_LogText_OutputPort(
411 portNum < this->getNum_LogText_OutputPorts(),
415 this->m_LogText_OutputPort[portNum].addCallPort(port);
420 void PrmDbComponentBase ::
427 portNum < this->getNum_Time_OutputPorts(),
431 this->m_Time_OutputPort[portNum].addCallPort(port);
438 void PrmDbComponentBase ::
439 set_pingOut_OutputPort(
445 portNum < this->getNum_pingOut_OutputPorts(),
449 this->m_pingOut_OutputPort[portNum].addCallPort(port);
452#if FW_PORT_SERIALIZATION
458 void PrmDbComponentBase ::
459 set_CmdReg_OutputPort(
461 Fw::InputSerializePort* port
465 portNum < this->getNum_CmdReg_OutputPorts(),
469 this->m_CmdReg_OutputPort[portNum].registerSerialPort(port);
472 void PrmDbComponentBase ::
473 set_CmdStatus_OutputPort(
475 Fw::InputSerializePort* port
479 portNum < this->getNum_CmdStatus_OutputPorts(),
483 this->m_CmdStatus_OutputPort[portNum].registerSerialPort(port);
486 void PrmDbComponentBase ::
489 Fw::InputSerializePort* port
493 portNum < this->getNum_Log_OutputPorts(),
497 this->m_Log_OutputPort[portNum].registerSerialPort(port);
500#if FW_ENABLE_TEXT_LOGGING == 1
502 void PrmDbComponentBase ::
503 set_LogText_OutputPort(
505 Fw::InputSerializePort* port
509 portNum < this->getNum_LogText_OutputPorts(),
513 this->m_LogText_OutputPort[portNum].registerSerialPort(port);
518 void PrmDbComponentBase ::
521 Fw::InputSerializePort* port
525 portNum < this->getNum_Time_OutputPorts(),
529 this->m_Time_OutputPort[portNum].registerSerialPort(port);
534#if FW_PORT_SERIALIZATION
540 void PrmDbComponentBase ::
541 set_pingOut_OutputPort(
543 Fw::InputSerializePort* port
547 portNum < this->getNum_pingOut_OutputPorts(),
551 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
560 void PrmDbComponentBase ::
563 FW_ASSERT(this->m_CmdReg_OutputPort[0].isConnected());
565 this->m_CmdReg_OutputPort[0].invoke(
566 this->getIdBase() + OPCODE_PRM_SAVE_FILE
574 PrmDbComponentBase ::
575 PrmDbComponentBase(
const char* compName) :
576 Fw::ActiveComponentBase(compName)
578 this->m_PrmIdNotFoundThrottle = 0;
581 PrmDbComponentBase ::
582 ~PrmDbComponentBase()
592 getNum_CmdDisp_InputPorts()
const
602 getNum_getPrm_InputPorts()
const
608 getNum_pingIn_InputPorts()
const
614 getNum_setPrm_InputPorts()
const
624 getNum_CmdReg_OutputPorts()
const
630 getNum_CmdStatus_OutputPorts()
const
636 getNum_Log_OutputPorts()
const
641#if FW_ENABLE_TEXT_LOGGING == 1
644 getNum_LogText_OutputPorts()
const
652 getNum_Time_OutputPorts()
const
662 getNum_pingOut_OutputPorts()
const
671 bool PrmDbComponentBase ::
675 portNum < this->getNum_CmdReg_OutputPorts(),
679 return this->m_CmdReg_OutputPort[portNum].isConnected();
682 bool PrmDbComponentBase ::
683 isConnected_CmdStatus_OutputPort(
FwIndexType portNum)
686 portNum < this->getNum_CmdStatus_OutputPorts(),
690 return this->m_CmdStatus_OutputPort[portNum].isConnected();
693 bool PrmDbComponentBase ::
697 portNum < this->getNum_Log_OutputPorts(),
701 return this->m_Log_OutputPort[portNum].isConnected();
704#if FW_ENABLE_TEXT_LOGGING == 1
706 bool PrmDbComponentBase ::
707 isConnected_LogText_OutputPort(
FwIndexType portNum)
710 portNum < this->getNum_LogText_OutputPorts(),
714 return this->m_LogText_OutputPort[portNum].isConnected();
719 bool PrmDbComponentBase ::
723 portNum < this->getNum_Time_OutputPorts(),
727 return this->m_Time_OutputPort[portNum].isConnected();
734 bool PrmDbComponentBase ::
735 isConnected_pingOut_OutputPort(
FwIndexType portNum)
738 portNum < this->getNum_pingOut_OutputPorts(),
742 return this->m_pingOut_OutputPort[portNum].isConnected();
760 portNum < this->getNum_getPrm_InputPorts(),
770 retVal = this->getPrm_handler(
782 void PrmDbComponentBase ::
790 portNum < this->getNum_pingIn_InputPorts(),
799 ComponentIpcSerializableBuffer msg;
803 _status = msg.serialize(
812 _status = msg.serialize(portNum);
819 _status = msg.serialize(key);
835 void PrmDbComponentBase ::
844 portNum < this->getNum_setPrm_InputPorts(),
854 ComponentIpcSerializableBuffer msg;
858 _status = msg.serialize(
867 _status = msg.serialize(portNum);
874 _status = msg.serialize(
id);
881 _status = msg.serialize(val);
905 void PrmDbComponentBase ::
914 void PrmDbComponentBase ::
928 void PrmDbComponentBase ::
935 portNum < this->getNum_pingOut_OutputPorts(),
938 this->m_pingOut_OutputPort[portNum].invoke(
947 void PrmDbComponentBase ::
954 FW_ASSERT(this->m_CmdStatus_OutputPort[0].isConnected());
955 this->m_CmdStatus_OutputPort[0].invoke(opCode, cmdSeq, response);
964 void PrmDbComponentBase ::
965 PRM_SAVE_FILE_cmdHandlerBase(
972 this->PRM_SAVE_FILE_preMsgHook(opCode,cmdSeq);
976 ComponentIpcSerializableBuffer msg;
980 _status = msg.serialize(
static_cast<FwEnumStoreType>(CMD_PRM_SAVE_FILE));
989 _status = msg.serialize(port);
995 _status = msg.serialize(opCode);
1001 _status = msg.serialize(cmdSeq);
1007 _status = msg.serialize(args);
1031 void PrmDbComponentBase ::
1032 PRM_SAVE_FILE_preMsgHook(
1046 void PrmDbComponentBase ::
1047 log_WARNING_LO_PrmIdNotFound(U32 Id)
1050 if (this->m_PrmIdNotFoundThrottle >= EVENTID_PRMIDNOTFOUND_THROTTLE) {
1054 this->m_PrmIdNotFoundThrottle++;
1059 if (this->m_Time_OutputPort[0].isConnected()) {
1060 this->m_Time_OutputPort[0].invoke(_logTime);
1065 _id = this->getIdBase() + EVENTID_PRMIDNOTFOUND;
1068 if (this->m_Log_OutputPort[0].isConnected()) {
1072#if FW_AMPCS_COMPATIBLE
1081#if FW_AMPCS_COMPATIBLE
1084 static_cast<U8>(
sizeof(U32))
1097 this->m_Log_OutputPort[0].invoke(
1106#if FW_ENABLE_TEXT_LOGGING
1107 if (this->m_LogText_OutputPort[0].isConnected()) {
1108#if FW_OBJECT_NAMES == 1
1109 const char* _formatString =
1110 "(%s) %s: Parameter ID 0x%" PRIx32
" not found";
1112 const char* _formatString =
1113 "%s: Parameter ID 0x%" PRIx32
" not found";
1120 this->m_objName.toChar(),
1126 this->m_LogText_OutputPort[0].invoke(
1136 void PrmDbComponentBase ::
1137 log_ACTIVITY_HI_PrmIdUpdated(U32 Id)
const
1141 if (this->m_Time_OutputPort[0].isConnected()) {
1142 this->m_Time_OutputPort[0].invoke(_logTime);
1147 _id = this->getIdBase() + EVENTID_PRMIDUPDATED;
1150 if (this->m_Log_OutputPort[0].isConnected()) {
1154#if FW_AMPCS_COMPATIBLE
1163#if FW_AMPCS_COMPATIBLE
1166 static_cast<U8>(
sizeof(U32))
1179 this->m_Log_OutputPort[0].invoke(
1188#if FW_ENABLE_TEXT_LOGGING
1189 if (this->m_LogText_OutputPort[0].isConnected()) {
1190#if FW_OBJECT_NAMES == 1
1191 const char* _formatString =
1192 "(%s) %s: Parameter ID 0x%" PRIx32
" updated";
1194 const char* _formatString =
1195 "%s: Parameter ID 0x%" PRIx32
" updated";
1202 this->m_objName.toChar(),
1208 this->m_LogText_OutputPort[0].invoke(
1218 void PrmDbComponentBase ::
1219 log_FATAL_PrmDbFull(U32 Id)
const
1223 if (this->m_Time_OutputPort[0].isConnected()) {
1224 this->m_Time_OutputPort[0].invoke(_logTime);
1229 _id = this->getIdBase() + EVENTID_PRMDBFULL;
1232 if (this->m_Log_OutputPort[0].isConnected()) {
1236#if FW_AMPCS_COMPATIBLE
1238 _status = _logBuff.
serialize(
static_cast<U8>(1 + 1));
1251 _status = _logBuff.
serialize(
static_cast<U32
>(0));
1258#if FW_AMPCS_COMPATIBLE
1261 static_cast<U8>(
sizeof(U32))
1274 this->m_Log_OutputPort[0].invoke(
1283#if FW_ENABLE_TEXT_LOGGING
1284 if (this->m_LogText_OutputPort[0].isConnected()) {
1285#if FW_OBJECT_NAMES == 1
1286 const char* _formatString =
1287 "(%s) %s: Parameter DB full when adding ID 0x%" PRIx32
" ";
1289 const char* _formatString =
1290 "%s: Parameter DB full when adding ID 0x%" PRIx32
" ";
1297 this->m_objName.toChar(),
1303 this->m_LogText_OutputPort[0].invoke(
1313 void PrmDbComponentBase ::
1314 log_ACTIVITY_HI_PrmIdAdded(U32 Id)
const
1318 if (this->m_Time_OutputPort[0].isConnected()) {
1319 this->m_Time_OutputPort[0].invoke(_logTime);
1324 _id = this->getIdBase() + EVENTID_PRMIDADDED;
1327 if (this->m_Log_OutputPort[0].isConnected()) {
1331#if FW_AMPCS_COMPATIBLE
1340#if FW_AMPCS_COMPATIBLE
1343 static_cast<U8>(
sizeof(U32))
1356 this->m_Log_OutputPort[0].invoke(
1365#if FW_ENABLE_TEXT_LOGGING
1366 if (this->m_LogText_OutputPort[0].isConnected()) {
1367#if FW_OBJECT_NAMES == 1
1368 const char* _formatString =
1369 "(%s) %s: Parameter ID 0x%" PRIx32
" added";
1371 const char* _formatString =
1372 "%s: Parameter ID 0x%" PRIx32
" added";
1379 this->m_objName.toChar(),
1385 this->m_LogText_OutputPort[0].invoke(
1395 void PrmDbComponentBase ::
1396 log_WARNING_HI_PrmFileWriteError(
1404 if (this->m_Time_OutputPort[0].isConnected()) {
1405 this->m_Time_OutputPort[0].invoke(_logTime);
1410 _id = this->getIdBase() + EVENTID_PRMFILEWRITEERROR;
1413 if (this->m_Log_OutputPort[0].isConnected()) {
1417#if FW_AMPCS_COMPATIBLE
1426#if FW_AMPCS_COMPATIBLE
1442#if FW_AMPCS_COMPATIBLE
1445 static_cast<U8>(
sizeof(I32))
1458#if FW_AMPCS_COMPATIBLE
1461 static_cast<U8>(
sizeof(I32))
1474 this->m_Log_OutputPort[0].invoke(
1483#if FW_ENABLE_TEXT_LOGGING
1484 if (this->m_LogText_OutputPort[0].isConnected()) {
1485#if FW_OBJECT_NAMES == 1
1486 const char* _formatString =
1487 "(%s) %s: Parameter write failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1489 const char* _formatString =
1490 "%s: Parameter write failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1494 stage.toString(stageStr);
1500 this->m_objName.toChar(),
1502 "PrmFileWriteError ",
1508 this->m_LogText_OutputPort[0].invoke(
1518 void PrmDbComponentBase ::
1519 log_ACTIVITY_HI_PrmFileSaveComplete(U32 records)
const
1523 if (this->m_Time_OutputPort[0].isConnected()) {
1524 this->m_Time_OutputPort[0].invoke(_logTime);
1529 _id = this->getIdBase() + EVENTID_PRMFILESAVECOMPLETE;
1532 if (this->m_Log_OutputPort[0].isConnected()) {
1536#if FW_AMPCS_COMPATIBLE
1545#if FW_AMPCS_COMPATIBLE
1548 static_cast<U8>(
sizeof(U32))
1561 this->m_Log_OutputPort[0].invoke(
1570#if FW_ENABLE_TEXT_LOGGING
1571 if (this->m_LogText_OutputPort[0].isConnected()) {
1572#if FW_OBJECT_NAMES == 1
1573 const char* _formatString =
1574 "(%s) %s: Parameter file save completed. Wrote %" PRIu32
" records.";
1576 const char* _formatString =
1577 "%s: Parameter file save completed. Wrote %" PRIu32
" records.";
1584 this->m_objName.toChar(),
1586 "PrmFileSaveComplete ",
1590 this->m_LogText_OutputPort[0].invoke(
1600 void PrmDbComponentBase ::
1601 log_WARNING_HI_PrmFileReadError(
1609 if (this->m_Time_OutputPort[0].isConnected()) {
1610 this->m_Time_OutputPort[0].invoke(_logTime);
1615 _id = this->getIdBase() + EVENTID_PRMFILEREADERROR;
1618 if (this->m_Log_OutputPort[0].isConnected()) {
1622#if FW_AMPCS_COMPATIBLE
1631#if FW_AMPCS_COMPATIBLE
1647#if FW_AMPCS_COMPATIBLE
1650 static_cast<U8>(
sizeof(I32))
1663#if FW_AMPCS_COMPATIBLE
1666 static_cast<U8>(
sizeof(I32))
1679 this->m_Log_OutputPort[0].invoke(
1688#if FW_ENABLE_TEXT_LOGGING
1689 if (this->m_LogText_OutputPort[0].isConnected()) {
1690#if FW_OBJECT_NAMES == 1
1691 const char* _formatString =
1692 "(%s) %s: Parameter file read failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1694 const char* _formatString =
1695 "%s: Parameter file read failed in stage %s with record %" PRIi32
" and error %" PRIi32
"";
1699 stage.toString(stageStr);
1705 this->m_objName.toChar(),
1707 "PrmFileReadError ",
1713 this->m_LogText_OutputPort[0].invoke(
1723 void PrmDbComponentBase ::
1724 log_ACTIVITY_HI_PrmFileLoadComplete(U32 records)
const
1728 if (this->m_Time_OutputPort[0].isConnected()) {
1729 this->m_Time_OutputPort[0].invoke(_logTime);
1734 _id = this->getIdBase() + EVENTID_PRMFILELOADCOMPLETE;
1737 if (this->m_Log_OutputPort[0].isConnected()) {
1741#if FW_AMPCS_COMPATIBLE
1750#if FW_AMPCS_COMPATIBLE
1753 static_cast<U8>(
sizeof(U32))
1766 this->m_Log_OutputPort[0].invoke(
1775#if FW_ENABLE_TEXT_LOGGING
1776 if (this->m_LogText_OutputPort[0].isConnected()) {
1777#if FW_OBJECT_NAMES == 1
1778 const char* _formatString =
1779 "(%s) %s: Parameter file load completed. Read %" PRIu32
" records.";
1781 const char* _formatString =
1782 "%s: Parameter file load completed. Read %" PRIu32
" records.";
1789 this->m_objName.toChar(),
1791 "PrmFileLoadComplete ",
1795 this->m_LogText_OutputPort[0].invoke(
1809 void PrmDbComponentBase ::
1810 log_WARNING_LO_PrmIdNotFound_ThrottleClear()
1813 this->m_PrmIdNotFoundThrottle = 0;
1823 if (this->m_Time_OutputPort[0].isConnected()) {
1825 this->m_Time_OutputPort[0].invoke(_time);
1840 void PrmDbComponentBase ::
1843 this->m_guardedPortMutex.lock();
1846 void PrmDbComponentBase ::
1849 this->m_guardedPortMutex.unLock();
1859 ComponentIpcSerializableBuffer msg;
1882 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1884 if (msgType == PRMDB_COMPONENT_EXIT) {
1885 return MSG_DISPATCH_EXIT;
1889 deserStatus = msg.deserialize(portNum);
1900 deserStatus = msg.deserialize(key);
1906 this->pingIn_handler(
1915 case SETPRM_PRMSET: {
1918 deserStatus = msg.deserialize(
id);
1926 deserStatus = msg.deserialize(val);
1932 this->setPrm_handler(
1942 case CMD_PRM_SAVE_FILE: {
1945 deserStatus = msg.deserialize(opCode);
1953 deserStatus = msg.deserialize(cmdSeq);
1961 deserStatus = msg.deserialize(args);
1972#if FW_CMD_CHECK_RESIDUAL
1974 if (this->m_CmdStatus_OutputPort[0].isConnected()) {
1983 this->PRM_SAVE_FILE_cmdHandler(opCode, cmdSeq);
1989 return MSG_DISPATCH_ERROR;
1992 return MSG_DISPATCH_OK;
1999 void PrmDbComponentBase ::
2009 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2011 const U32 idBase = callComp->
getIdBase();
2015 switch (opCode - idBase) {
2016 case OPCODE_PRM_SAVE_FILE: {
2017 compPtr->PRM_SAVE_FILE_cmdHandlerBase(
2040 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2041 return compPtr->getPrm_handlerBase(
2048 void PrmDbComponentBase ::
2056 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2057 compPtr->pingIn_handlerBase(
2063 void PrmDbComponentBase ::
2072 PrmDbComponentBase* compPtr =
static_cast<PrmDbComponentBase*
>(callComp);
2073 compPtr->setPrm_handlerBase(
uint8_t U8
8-bit unsigned integer
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
#define PRI_PlatformIntType
@ TB_NONE
No time base has been established.
PlatformAssertArgType FwAssertArgType
PlatformSizeType FwSizeType
PlatformQueuePriorityType FwQueuePriorityType
PlatformIndexType FwIndexType
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects)/*#en...
@ ACTIVE_COMPONENT_EXIT
message to exit active component task
Enum representing a command response.
@ FORMAT_ERROR
Command failed to deserialize.
@ WARNING_HI
A serious but recoverable event.
@ ACTIVITY_HI
Important informational events.
@ FATAL
A fatal non-recoverable event.
@ WARNING_LO
A less serious but recoverable event.
void init()
Object initializer.
const char * toChar() const
Enum representing parameter validity.
NATIVE_UINT_TYPE SizeType
void resetDeser()
reset deserialization to beginning
Serializable::SizeType getBuffLeft() const
returns how much deserialization buffer is left
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void format(const CHAR *formatString,...)
write formatted string to buffer
const char * toChar() const
@ BLOCKING
Message will block until space is available.
@ NONBLOCKING
Message will return with status when space is unavailable.
Status
status returned from the queue send function
@ OP_OK
message sent/received okay
@ SERIALIZED_SIZE
The size of the serial representation.
@ SERIALIZED_SIZE
The size of the serial representation.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.